| { |
| "configuration": { |
| "provider_config": { |
| "tfcoremock": { |
| "full_name": "registry.terraform.io/hashicorp/tfcoremock", |
| "name": "tfcoremock", |
| "version_constraint": "0.1.1" |
| } |
| }, |
| "root_module": { |
| "resources": [ |
| { |
| "address": "tfcoremock_simple_resource.base", |
| "expressions": { |
| "number": { |
| "constant_value": 0 |
| }, |
| "string": { |
| "constant_value": "Hello, change!" |
| } |
| }, |
| "mode": "managed", |
| "name": "base", |
| "provider_config_key": "tfcoremock", |
| "schema_version": 0, |
| "type": "tfcoremock_simple_resource" |
| }, |
| { |
| "address": "tfcoremock_simple_resource.dependent", |
| "expressions": { |
| "string": { |
| "references": [ |
| "tfcoremock_simple_resource.base.string", |
| "tfcoremock_simple_resource.base" |
| ] |
| } |
| }, |
| "mode": "managed", |
| "name": "dependent", |
| "provider_config_key": "tfcoremock", |
| "schema_version": 0, |
| "type": "tfcoremock_simple_resource" |
| } |
| ] |
| } |
| }, |
| "format_version": "1.1", |
| "planned_values": { |
| "root_module": { |
| "resources": [ |
| { |
| "address": "tfcoremock_simple_resource.base", |
| "mode": "managed", |
| "name": "base", |
| "provider_name": "registry.terraform.io/hashicorp/tfcoremock", |
| "schema_version": 0, |
| "sensitive_values": {}, |
| "type": "tfcoremock_simple_resource", |
| "values": { |
| "bool": null, |
| "float": null, |
| "id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f", |
| "integer": null, |
| "number": 0, |
| "string": "Hello, change!" |
| } |
| }, |
| { |
| "address": "tfcoremock_simple_resource.dependent", |
| "mode": "managed", |
| "name": "dependent", |
| "provider_name": "registry.terraform.io/hashicorp/tfcoremock", |
| "schema_version": 0, |
| "sensitive_values": {}, |
| "type": "tfcoremock_simple_resource", |
| "values": { |
| "bool": null, |
| "float": null, |
| "id": "1b17b502-96c9-fcc3-3b09-2af1c3de6ad8", |
| "integer": null, |
| "number": null, |
| "string": "Hello, change!" |
| } |
| } |
| ] |
| } |
| }, |
| "prior_state": { |
| "format_version": "1.0", |
| "values": { |
| "root_module": { |
| "resources": [ |
| { |
| "address": "tfcoremock_simple_resource.base", |
| "mode": "managed", |
| "name": "base", |
| "provider_name": "registry.terraform.io/hashicorp/tfcoremock", |
| "schema_version": 0, |
| "sensitive_values": {}, |
| "type": "tfcoremock_simple_resource", |
| "values": { |
| "bool": null, |
| "float": null, |
| "id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f", |
| "integer": null, |
| "number": 1, |
| "string": "Hello, drift!" |
| } |
| }, |
| { |
| "address": "tfcoremock_simple_resource.dependent", |
| "depends_on": [ |
| "tfcoremock_simple_resource.base" |
| ], |
| "mode": "managed", |
| "name": "dependent", |
| "provider_name": "registry.terraform.io/hashicorp/tfcoremock", |
| "schema_version": 0, |
| "sensitive_values": {}, |
| "type": "tfcoremock_simple_resource", |
| "values": { |
| "bool": null, |
| "float": null, |
| "id": "1b17b502-96c9-fcc3-3b09-2af1c3de6ad8", |
| "integer": null, |
| "number": null, |
| "string": "Hello, world!" |
| } |
| } |
| ] |
| } |
| } |
| }, |
| "relevant_attributes": [ |
| { |
| "attribute": [ |
| "string" |
| ], |
| "resource": "tfcoremock_simple_resource.base" |
| } |
| ], |
| "resource_changes": [ |
| { |
| "address": "tfcoremock_simple_resource.base", |
| "change": { |
| "actions": [ |
| "update" |
| ], |
| "after": { |
| "bool": null, |
| "float": null, |
| "id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f", |
| "integer": null, |
| "number": 0, |
| "string": "Hello, change!" |
| }, |
| "after_sensitive": {}, |
| "after_unknown": {}, |
| "before": { |
| "bool": null, |
| "float": null, |
| "id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f", |
| "integer": null, |
| "number": 1, |
| "string": "Hello, drift!" |
| }, |
| "before_sensitive": {} |
| }, |
| "mode": "managed", |
| "name": "base", |
| "provider_name": "registry.terraform.io/hashicorp/tfcoremock", |
| "type": "tfcoremock_simple_resource" |
| }, |
| { |
| "address": "tfcoremock_simple_resource.dependent", |
| "change": { |
| "actions": [ |
| "update" |
| ], |
| "after": { |
| "bool": null, |
| "float": null, |
| "id": "1b17b502-96c9-fcc3-3b09-2af1c3de6ad8", |
| "integer": null, |
| "number": null, |
| "string": "Hello, change!" |
| }, |
| "after_sensitive": {}, |
| "after_unknown": {}, |
| "before": { |
| "bool": null, |
| "float": null, |
| "id": "1b17b502-96c9-fcc3-3b09-2af1c3de6ad8", |
| "integer": null, |
| "number": null, |
| "string": "Hello, world!" |
| }, |
| "before_sensitive": {} |
| }, |
| "mode": "managed", |
| "name": "dependent", |
| "provider_name": "registry.terraform.io/hashicorp/tfcoremock", |
| "type": "tfcoremock_simple_resource" |
| } |
| ], |
| "resource_drift": [ |
| { |
| "address": "tfcoremock_simple_resource.base", |
| "change": { |
| "actions": [ |
| "update" |
| ], |
| "after": { |
| "bool": null, |
| "float": null, |
| "id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f", |
| "integer": null, |
| "number": 1, |
| "string": "Hello, drift!" |
| }, |
| "after_sensitive": {}, |
| "after_unknown": {}, |
| "before": { |
| "bool": null, |
| "float": null, |
| "id": "f6f74ca6-e8ef-e51f-522c-433b9ed5038f", |
| "integer": null, |
| "number": 0, |
| "string": "Hello, world!" |
| }, |
| "before_sensitive": {} |
| }, |
| "mode": "managed", |
| "name": "base", |
| "provider_name": "registry.terraform.io/hashicorp/tfcoremock", |
| "type": "tfcoremock_simple_resource" |
| } |
| ] |
| } |