Terraform CLI
Terraform failed to marshal state to JSON with unsupported attribute
Terraform failed while processing state because the provider schema and the stored state no longer agree about an attribute present in the state.
Terraform CLI
Terraform failed while processing state because the provider schema and the stored state no longer agree about an attribute present in the state.
Observed message
Failed to marshal state to json: unsupported attribute
Why it happens
How to fix it
Official reference
HashiCorp Developer: Migrating testing from SDKv2Related errors
Explore more