Is there a way to preview a local variable? I’d like to see the contents of the variable before applying a change.
Use case: I’m using HCL to define an AWS ECS task definition, including dynamic elements with
for expressions. The HCL is passed through
jsonencode(), zipped by
archive_file and uploaded to S3 (for use with AWS CodeDeploy).
terraform plan, I only see that the etag/checksum has changed and the S3 object needs updating. I cannot find a way to preview the contents of neither the HCL nor the