-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove hyphen from Terraform Registry provider example #16
Comments
@Edeholland Thanks for bringing this to our attention! Are you familiar with how we can change this? I'm having trouble figuring where to configure this. |
I suspect that part of the documentation is generated by the Terraform registry itself, since it's the same for every provider. It might use the provider name as the local name in the example, but this is speculation. |
The name of the repo would need to change. |
Now that the name of the service has been renamed from Betteruptime to Uptime, this might be a good time to rename the repository. |
Never to late to fix it. This is a pain regardless of the medium (laptop or runner) and it's not that easy to upgrade your provider. |
Just for those finding this issue;
Above works. The required_providers block must be included for every module that has a Better Stack Uptime resource, otherwise you'll have said error again. I suggest Better Stack updates their example usage to prevent headaches for beginner users at https://registry.terraform.io/providers/BetterStackHQ/better-uptime/latest/docs#example-usage as that's what I suspect most users will look at. The notation is present in the GitHub readme file here; https://github.com/BetterStackHQ/terraform-provider-better-uptime#installation |
Created a simple copy paste PR to see if Better Stack is open for it; #85 |
Under the
USE PROVIDERS
button in the Terraform Registry, the following code block appears:This hyphen breaks
Terraform init
becausebetter-uptime
is not a known provider:The text was updated successfully, but these errors were encountered: