You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running with -generate-config-out=generate.tf, if the returned resource has is a string type, but contains a number or a bool, the output attribute should be a string. e.g.
Create an import block for a resource with a string attribute, but with a value that is a primitive, deserializable json type (number or bool) and run terraform plan -generate-config-out=generated.tf
Additional Context
I have a fix for this. I am just opening the issue for posterity
References
No response
The text was updated successfully, but these errors were encountered:
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Terraform Version
Terraform Configuration Files
Debug Output
N/A
Expected Behavior
When running with
-generate-config-out=generate.tf
, if the returned resource has is a string type, but contains a number or a bool, the output attribute should be a string. e.g.Actual Behavior
Steps to Reproduce
Create an
import
block for a resource with a string attribute, but with a value that is a primitive, deserializable json type (number or bool) and runterraform plan -generate-config-out=generated.tf
Additional Context
I have a fix for this. I am just opening the issue for posterity
References
No response
The text was updated successfully, but these errors were encountered: