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
We only support computedFields attributes, if a user attempts to be explicit with computedFields they will get a vanished output:
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to kubernetes_manifest.deployment_resource_diff, provider
│ "provider[\"registry.terraform.io/hashicorp/kubernetes\"]" produced an unexpected new value:
│ .object.spec.template.spec.containers[0].resources.limits: element "cpu" has vanished.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
What's the value in being able to support this? Of course the work around is to just set the attribute as computedFields where the element exists, though it also would be good to give users that option of being explicit also.
A related issue where a user brings this up, advice was to just set attributes to computedFields
just some progress update: I have identified code block that causing this issue. I suspect the issue is in terraform-plugin-go, will do some further investigation.
@theloneexplorerquest be advised that @BBBmau is also working on an improvement in this direction. It would be good to coordinate, to not waste effort.
Description
We only support computedFields attributes, if a user attempts to be explicit with computedFields they will get a
vanished
output:What's the value in being able to support this? Of course the work around is to just set the attribute as computedFields where the element exists, though it also would be good to give users that option of being explicit also.
A related issue where a user brings this up,
advice was to just set attributes to computedFields
#1530
Potential Terraform Configuration
Any tfconfig will do where you attempt to set an element in
computedFields
References
Community Note
The text was updated successfully, but these errors were encountered: