terraform/testing/equivalence-tests/tests/fully_populated_complex_destroy/spec.json
Liam Cervante 82b5cfad7e
Add more equivalence tests that are testing edge cases around the new structured renderer (#32538)
* add test cases

* run equivalence tests

* delete old outputs

* drift_relevant_attributes should ignore the number attribute

* also add a test for data reads

* test destroy only
2023-01-20 09:31:11 +01:00

42 lines
1 KiB
JSON

{
"include_files": [],
"ignore_fields": {},
"commands": [
{
"name": "init",
"arguments": ["init"],
"capture_output": false
},
{
"name": "plan",
"arguments": ["plan", "-out=equivalence_test_plan", "-no-color", "-destroy"],
"capture_output": true,
"output_file_name": "plan",
"has_json_output": false
},
{
"name": "apply",
"arguments": ["destroy", "-json", "-auto-approve"],
"capture_output": true,
"output_file_name": "apply.json",
"has_json_output": true,
"streams_json_output": true
},
{
"name": "show_state",
"arguments": ["show", "-json"],
"capture_output": true,
"output_file_name": "state.json",
"has_json_output": true,
"streams_json_output": false
},
{
"name": "show_plan",
"arguments": ["show", "-json", "equivalence_test_plan"],
"capture_output": true,
"output_file_name": "plan.json",
"has_json_output": true,
"streams_json_output": false
}
]
}