-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
tech-debt/resources:autofix extraneous value conversion for d.Set() of primitives #16671
tech-debt/resources:autofix extraneous value conversion for d.Set() of primitives #16671
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (once the conflict is resolved)
37a4674
to
5cfb1c5
Compare
@bflad confirmed removing the AWS SDK value conversions does not change the output value of an API object String field e.g. With terraform config: resource "aws_msk_configuration" "test" {
kafka_versions = ["2.1.0"]
name = "tf-test-1234"
server_properties = <<PROPERTIES
auto.create.topics.enable = true
delete.topic.enable = true
PROPERTIES
}
output "test" {
value = aws_msk_configuration.test.description
} Terraform apply output (using tf v0.14 and aws provider v3.34.0):
Value in terraform state file:
Running terraform refresh:
Then upgrading to a provider built from this branch and running terraform apply:
Similarly if we run the above configuration, creating a new resource, just on the provider built from this branch:
Running terraform refresh:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wonderful! Thank you for the extra careful validation. 🚀
This has been released in version 3.35.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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. Thanks! |
Community Note
Relates #16554
Release note for CHANGELOG:
Output from acceptance testing: