Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
Terraform Version
Affected Pages
https://developer.hashicorp.com/terraform/language/tests/mocking#overrides-syntax
What is the docs issue?
In the examples provided to support the explanation, you can find
Once you run
terraform test
you get an error in some of the previous tests defined something likebecause 'data.aws_s3_object.data_bucket.body' is already a JSON string -> unneeded
jsondecode
Proposal
I would suggest to remove
jsondecode
References
No response