-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Google SQL private IP -> sql_database_instance example documentation doesn't work #3342
Comments
When using the |
No, I've just replaced in the provider definition in providers.tf |
Ah! As mentioned in those docs, you'll need to explicitly specify the provider. Unfortunately, Terraform implicitly uses the |
@rileykarson would be nice if examples actually stated that they need the beta provider, for example this one will flat out not work and there is no indication that the beta provider needs to be selected for it |
Yep! That's what https://github.com/GoogleCloudPlatform/magic-modules/pull/1611/files fixes. Some examples are also already live that do that eg; https://www.terraform.io/docs/providers/google/r/compute_autoscaler.html#example-usage-autoscaler-beta |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform Version
Terraform v0.11.13
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Setup the private network and PEER_VPC to attach into SQL Instance, I've also tried to use the google-beta provider
Actual Behavior
Steps to Reproduce
terraform plan
Important Factoids
References
https://www.terraform.io/docs/providers/google/r/sql_database_instance.html
The text was updated successfully, but these errors were encountered: