When applying changes to, provider produced an unexpected new value: .name: was cty.StringVal("**"), but now null.
thulasirajkomminar opened this issue · comments
Module version
v1.7.0
Relevant provider source code
"name": schema.StringAttribute{
Computed: true,
Optional: true,
Description: "The name of the resource.",
PlanModifiers: []planmodifier.String{
stringplanmodifier.UseStateForUnknown(),
},
},
Terraform Configuration Files
...
Debug Output
Expected Behavior
In the HCL config I set the name but the api does not return the name back so since I used the UseStateForUnknown
plan modifier I expected the framework will populate the config value to the state but I get an error.
Actual Behavior
When applying changes to, provider produced an unexpected new value: .name: was cty.StringVal("**"), but now null.
Steps to Reproduce
References
Hi @thulasirajkomminar 👋
As this issue does not appear to be a bug and there is a thread on Discuss for this topic, I'm going to close this issue out.
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.