Files
opentf/testing/equivalence-tests/outputs/local_provider_basic/apply.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

79 lines
2.0 KiB
JSON

[
{
"@level": "info",
"@message": "local_file.local_file: Plan to create",
"@module": "opentf.ui",
"change": {
"action": "create",
"resource": {
"addr": "local_file.local_file",
"implied_provider": "local",
"module": "",
"resource": "local_file.local_file",
"resource_key": null,
"resource_name": "local_file",
"resource_type": "local_file"
}
},
"type": "planned_change"
},
{
"@level": "info",
"@message": "local_file.local_file: Creating...",
"@module": "opentf.ui",
"hook": {
"action": "create",
"resource": {
"addr": "local_file.local_file",
"implied_provider": "local",
"module": "",
"resource": "local_file.local_file",
"resource_key": null,
"resource_name": "local_file",
"resource_type": "local_file"
}
},
"type": "apply_start"
},
{
"@level": "info",
"@message": "local_file.local_file: Creation complete after 0s [id=2248ee2fa0aaaad99178531f924bf00b4b0a8f4e]",
"@module": "opentf.ui",
"hook": {
"action": "create",
"elapsed_seconds": 0,
"id_key": "id",
"id_value": "2248ee2fa0aaaad99178531f924bf00b4b0a8f4e",
"resource": {
"addr": "local_file.local_file",
"implied_provider": "local",
"module": "",
"resource": "local_file.local_file",
"resource_key": null,
"resource_name": "local_file",
"resource_type": "local_file"
}
},
"type": "apply_complete"
},
{
"@level": "info",
"@message": "Apply complete! Resources: 1 added, 0 changed, 0 destroyed.",
"@module": "opentf.ui",
"changes": {
"add": 1,
"change": 0,
"import": 0,
"operation": "apply",
"remove": 0
},
"type": "change_summary"
},
{
"@level": "info",
"@message": "Outputs: 0",
"@module": "opentf.ui",
"outputs": {},
"type": "outputs"
}
]