Loading...
Loading...
``` Terraform v0.12.13 ``` ``` HCL code not relevant ``` ### Error Output Failed to marshal plan to json: error marshaling prior state: unsupported attribute "purpose" ### Expected Behavior terraform should have parsed the default plan file to json output. ### Actual Behavior Failed to marshal plan to json: error marshaling prior state: unsupported attribute "purpose" No json output generated ### Steps to Reproduce 1. Run terraform plan with a -target flag 2. Show the plan using terraform show with the -json flag 3. Error raised ### Additional Context This is the full command I actually run: ``` terraform plan -var-file ../tfvars/compute.tfvars.json -target=module.network -out plan.bin terraform show -json plan.bin > plan.json ``` Also, when planning without a -target, this works as expected. This is my first issue , please let me know if I need to add anything else.
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.