opentofu/testing/equivalence-tests/outputs/basic_map/plan.json
Marcin Wyszynski 6e0908d53f
Introduce a snapshot check for equivalence tests (#168)
* Introduce a snapshot check for equivalence tests

* New snapshots

* Allow overriding plan timestamp for snapshots

* Allow setting the seed externally (as an env var) for testing purposes

* Remove an equivalence test that depends on a random number
2023-08-25 13:06:29 +02:00

91 lines
2.4 KiB
JSON

{
"configuration": {
"provider_config": {
"tfcoremock": {
"full_name": "registry.terraform.io/hashicorp/tfcoremock",
"name": "tfcoremock",
"version_constraint": "0.1.1"
}
},
"root_module": {
"resources": [
{
"address": "tfcoremock_map.map",
"expressions": {
"id": {
"constant_value": "50E1A46E-E64A-4C1F-881C-BA85A5440964"
},
"map": {
"constant_value": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
},
"mode": "managed",
"name": "map",
"provider_config_key": "tfcoremock",
"schema_version": 0,
"type": "tfcoremock_map"
}
]
}
},
"errored": false,
"format_version": "1.2",
"planned_values": {
"root_module": {
"resources": [
{
"address": "tfcoremock_map.map",
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"schema_version": 0,
"sensitive_values": {
"map": {}
},
"type": "tfcoremock_map",
"values": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
}
}
]
}
},
"resource_changes": [
{
"address": "tfcoremock_map.map",
"change": {
"actions": [
"create"
],
"after": {
"id": "50E1A46E-E64A-4C1F-881C-BA85A5440964",
"map": {
"one": "682672C7-0918-4448-8342-887BAE01062A",
"two": "212FFBF6-40FE-4862-B708-E6AA508E84E0",
"zero": "6B044AF7-172B-495B-BE11-B9546C12C3BD"
}
},
"after_sensitive": {
"map": {}
},
"after_unknown": {},
"before": null,
"before_sensitive": false
},
"mode": "managed",
"name": "map",
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
"type": "tfcoremock_map"
}
],
"timestamp": "2023-08-24T12:33:30Z"
}