opentofu/testing/equivalence-tests/outputs/local_provider_delete/plan.json
Liam Cervante 37b88b33ce
Rollout equivalence testing during Terraform releases and builds (#31928)
* add some basic equivalence tests and execute them in the build pipeline

* remove old file, now unused

* update terraform-equivalence-testing to v0.2.0

* add separate action

* make sure to read from hashicorp repo

* remove elevated github token where possible

* Don't need elevated token anymore

* update with official mock provider

* last change: don't need the authorization header for public repositories.
2022-11-24 14:00:08 +01:00

75 lines
2.0 KiB
JSON

{
"configuration": {
"provider_config": {
"local": {
"full_name": "registry.terraform.io/hashicorp/local",
"name": "local",
"version_constraint": "2.2.3"
}
},
"root_module": {}
},
"format_version": "1.1",
"planned_values": {
"root_module": {}
},
"prior_state": {
"format_version": "1.0",
"values": {
"root_module": {
"resources": [
{
"address": "local_file.local_file",
"mode": "managed",
"name": "local_file",
"provider_name": "registry.terraform.io/hashicorp/local",
"schema_version": 0,
"sensitive_values": {},
"type": "local_file",
"values": {
"content": "{\"hello\":\"world\"}",
"content_base64": null,
"directory_permission": "0777",
"file_permission": "0777",
"filename": "output.json",
"id": "2248ee2fa0aaaad99178531f924bf00b4b0a8f4e",
"sensitive_content": null,
"source": null
}
}
]
}
}
},
"resource_changes": [
{
"action_reason": "delete_because_no_resource_config",
"address": "local_file.local_file",
"change": {
"actions": [
"delete"
],
"after": null,
"after_sensitive": false,
"after_unknown": {},
"before": {
"content": "{\"hello\":\"world\"}",
"content_base64": null,
"directory_permission": "0777",
"file_permission": "0777",
"filename": "output.json",
"id": "2248ee2fa0aaaad99178531f924bf00b4b0a8f4e",
"sensitive_content": null,
"source": null
},
"before_sensitive": {
"sensitive_content": true
}
},
"mode": "managed",
"name": "local_file",
"provider_name": "registry.terraform.io/hashicorp/local",
"type": "local_file"
}
]
}