-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Data source google_dns_keys broken in > version 4.59 #14298
Data source google_dns_keys broken in > version 4.59 #14298
Comments
+1 facing same issue, we pinned the provider to 4.59.0 to over come this |
I haven't been able to pin down enough to post an issue, but it feels like 4.60 has issues populating data objects. I can no longer connect to a kubernetes cluster using
And I also ran into issues populating a |
Below are two plans for from v4.59.0
v4.61.0
|
This is required to fix plan-time issues like : hashicorp/terraform-provider-google#14298
Hi all, I've been looking into this and this is what I've found. There's a problem with Computed blocks in providers that use the plugin framework (which we added in v4.60.0) and also use protocol 5 to communicate with Terraform core (we currently use protocol 5 to allow the provider to be muxed). The solution to the problem in this issue is to re-work how the data source is written to avoid this problem. I've manually tested this and it solves the problem 🎉 and I'll open a PR soon Useful links: |
* Change computed blocks fields to `schema.ListAttribute` This is required to fix plan-time issues like : hashicorp/terraform-provider-google#14298 * Update acceptance tests to check computed blocks are accessible at plan time
…p#7748) * Change computed blocks fields to `schema.ListAttribute` This is required to fix plan-time issues like : hashicorp/terraform-provider-google#14298 * Update acceptance tests to check computed blocks are accessible at plan time Signed-off-by: Modular Magician <[email protected]>
…p#7748) * Change computed blocks fields to `schema.ListAttribute` This is required to fix plan-time issues like : hashicorp#14298 * Update acceptance tests to check computed blocks are accessible at plan time Signed-off-by: Modular Magician <[email protected]>
…5546) * Change computed blocks fields to `schema.ListAttribute` This is required to fix plan-time issues like : hashicorp/terraform-provider-google#14298 * Update acceptance tests to check computed blocks are accessible at plan time Signed-off-by: Modular Magician <[email protected]>
…14418) * Change computed blocks fields to `schema.ListAttribute` This is required to fix plan-time issues like : #14298 * Update acceptance tests to check computed blocks are accessible at plan time Signed-off-by: Modular Magician <[email protected]>
* Change computed blocks fields to `schema.ListAttribute` This is required to fix plan-time issues like : hashicorp/terraform-provider-google#14298 * Update acceptance tests to check computed blocks are accessible at plan time Signed-off-by: Modular Magician <[email protected]>
…902) * Change computed blocks fields to `schema.ListAttribute` This is required to fix plan-time issues like : hashicorp/terraform-provider-google#14298 * Update acceptance tests to check computed blocks are accessible at plan time Signed-off-by: Modular Magician <[email protected]>
…oudPlatform#7748) * Change computed blocks fields to `schema.ListAttribute` This is required to fix plan-time issues like : hashicorp/terraform-provider-google#14298 * Update acceptance tests to check computed blocks are accessible at plan time
…oudPlatform#7748) * Change computed blocks fields to `schema.ListAttribute` This is required to fix plan-time issues like : hashicorp/terraform-provider-google#14298 * Update acceptance tests to check computed blocks are accessible at plan time
…oudPlatform#7748) * Change computed blocks fields to `schema.ListAttribute` This is required to fix plan-time issues like : hashicorp/terraform-provider-google#14298 * Update acceptance tests to check computed blocks are accessible at plan time
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. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
Terraform Configuration Files
The following code that is copied from the documentation works with provider version <= 4.59, but fails with newer versions
Expected Behavior
Terraform plan on provider version 4.59.0 produces the output (expected):
Actual Behavior
Terraform plan on provider version 4.61.0 produces the error:
Steps to Reproduce
terraform plan
The text was updated successfully, but these errors were encountered: