mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-23 04:02:24 -04:00
* 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
113 lines
3.0 KiB
JSON
113 lines
3.0 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_simple_resource.multiline",
|
|
"expressions": {
|
|
"string": {
|
|
"constant_value": "one\nthree\ntwo\nfour\nsix\nseven"
|
|
}
|
|
},
|
|
"mode": "managed",
|
|
"name": "multiline",
|
|
"provider_config_key": "tfcoremock",
|
|
"schema_version": 0,
|
|
"type": "tfcoremock_simple_resource"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"errored": false,
|
|
"format_version": "1.2",
|
|
"planned_values": {
|
|
"root_module": {
|
|
"resources": [
|
|
{
|
|
"address": "tfcoremock_simple_resource.multiline",
|
|
"mode": "managed",
|
|
"name": "multiline",
|
|
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
|
"schema_version": 0,
|
|
"sensitive_values": {},
|
|
"type": "tfcoremock_simple_resource",
|
|
"values": {
|
|
"bool": null,
|
|
"float": null,
|
|
"id": "69fe5233-e77a-804f-0dac-115c949540bc",
|
|
"integer": null,
|
|
"number": null,
|
|
"string": "one\nthree\ntwo\nfour\nsix\nseven"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"prior_state": {
|
|
"format_version": "1.0",
|
|
"values": {
|
|
"root_module": {
|
|
"resources": [
|
|
{
|
|
"address": "tfcoremock_simple_resource.multiline",
|
|
"mode": "managed",
|
|
"name": "multiline",
|
|
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
|
"schema_version": 0,
|
|
"sensitive_values": {},
|
|
"type": "tfcoremock_simple_resource",
|
|
"values": {
|
|
"bool": null,
|
|
"float": null,
|
|
"id": "69fe5233-e77a-804f-0dac-115c949540bc",
|
|
"integer": null,
|
|
"number": null,
|
|
"string": "one\ntwo\nthree\nfour\nfive"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"resource_changes": [
|
|
{
|
|
"address": "tfcoremock_simple_resource.multiline",
|
|
"change": {
|
|
"actions": [
|
|
"update"
|
|
],
|
|
"after": {
|
|
"bool": null,
|
|
"float": null,
|
|
"id": "69fe5233-e77a-804f-0dac-115c949540bc",
|
|
"integer": null,
|
|
"number": null,
|
|
"string": "one\nthree\ntwo\nfour\nsix\nseven"
|
|
},
|
|
"after_sensitive": {},
|
|
"after_unknown": {},
|
|
"before": {
|
|
"bool": null,
|
|
"float": null,
|
|
"id": "69fe5233-e77a-804f-0dac-115c949540bc",
|
|
"integer": null,
|
|
"number": null,
|
|
"string": "one\ntwo\nthree\nfour\nfive"
|
|
},
|
|
"before_sensitive": {}
|
|
},
|
|
"mode": "managed",
|
|
"name": "multiline",
|
|
"provider_name": "registry.terraform.io/hashicorp/tfcoremock",
|
|
"type": "tfcoremock_simple_resource"
|
|
}
|
|
],
|
|
"timestamp": "2023-08-24T12:33:30Z"
|
|
} |