{ "format_version": "1.0", "variables": { "test_var": { "value": "bar" } }, "planned_values": { "outputs": { "test": { "sensitive": false, "value": "bar" } }, "root_module": { "resources": [ { "address": "test_instance.test", "mode": "managed", "type": "test_instance", "name": "test", "provider_name": "registry.terraform.io/hashicorp/test", "schema_version": 0, "values": { "ami": "bar", "id": "placeholder" }, "sensitive_values": {} } ] } }, "resource_changes": [ { "address": "test_instance.test", "mode": "managed", "type": "test_instance", "provider_name": "registry.terraform.io/hashicorp/test", "name": "test", "change": { "actions": [ "update" ], "before": { "ami": "foo", "id": "placeholder" }, "after": { "ami": "bar", "id": "placeholder" }, "after_unknown": {}, "after_sensitive": {}, "before_sensitive": {} } }, { "address": "test_instance.test-delete", "mode": "managed", "type": "test_instance", "provider_name": "registry.terraform.io/hashicorp/test", "name": "test-delete", "action_reason": "delete_because_no_resource_config", "change": { "actions": [ "delete" ], "before": { "ami": "foo", "id": "placeholder" }, "after": null, "after_unknown": {}, "after_sensitive": false, "before_sensitive": {} } } ], "output_changes": { "test": { "actions": [ "create" ], "before": null, "after": "bar", "after_unknown": false, "before_sensitive": false, "after_sensitive": false } }, "prior_state": { "format_version": "1.0", "values": { "outputs": { "test": { "sensitive": false, "value": "bar" } }, "root_module": { "resources": [ { "address": "test_instance.test", "schema_version": 0, "mode": "managed", "type": "test_instance", "name": "test", "provider_name": "registry.terraform.io/hashicorp/test", "values": { "ami": "foo", "id": "placeholder" }, "sensitive_values": {} }, { "address": "test_instance.test-delete", "schema_version": 0, "mode": "managed", "type": "test_instance", "name": "test-delete", "provider_name": "registry.terraform.io/hashicorp/test", "values": { "ami": "foo", "id": "placeholder" }, "sensitive_values": {} } ] } } }, "configuration": { "provider_config": { "test": { "name": "test", "full_name": "registry.terraform.io/hashicorp/test" } }, "root_module": { "outputs": { "test": { "expression": { "references": [ "var.test_var" ] } } }, "resources": [ { "address": "test_instance.test", "mode": "managed", "type": "test_instance", "name": "test", "provider_config_key": "test", "schema_version": 0, "expressions": { "ami": { "references": [ "var.test_var" ] } } } ], "variables": { "test_var": { "default": "bar" } } } } }