Skip to content

Commit

Permalink
Unformat plan.json (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
bendbennett committed Dec 7, 2023
1 parent a2ced5d commit da9b6fa
Showing 1 changed file with 1 addition and 75 deletions.
76 changes: 1 addition & 75 deletions testdata/numerics/plan.json
Original file line number Diff line number Diff line change
@@ -1,75 +1 @@
{
"format_version": "1.2",
"terraform_version": "1.6.5",
"planned_values": {
"root_module": {
"resources": [
{
"address": "example_resource.test",
"mode": "managed",
"type": "example_resource",
"name": "test",
"provider_name": "registry.terraform.io/hashicorp/example",
"schema_version": 0,
"values": {
"configurable_attribute": 1.23,
"id": "one"
},
"sensitive_values": {}
}
]
}
},
"resource_changes": [
{
"address": "example_resource.test",
"mode": "managed",
"type": "example_resource",
"name": "test",
"provider_name": "registry.terraform.io/hashicorp/example",
"change": {
"actions": [
"create"
],
"before": null,
"after": {
"configurable_attribute": 1.23,
"id": "one"
},
"after_unknown": {},
"before_sensitive": false,
"after_sensitive": {}
}
}
],
"configuration": {
"provider_config": {
"example": {
"name": "example",
"full_name": "registry.terraform.io/hashicorp/example"
}
},
"root_module": {
"resources": [
{
"address": "example_resource.test",
"mode": "managed",
"type": "example_resource",
"name": "test",
"provider_config_key": "example",
"expressions": {
"configurable_attribute": {
"constant_value": 1.23
},
"id": {
"constant_value": "one"
}
},
"schema_version": 0
}
]
}
},
"timestamp": "2023-12-07T13:55:56Z",
"errored": false
}
{"format_version":"1.2","terraform_version":"1.6.5","planned_values":{"root_module":{"resources":[{"address":"example_resource.test","mode":"managed","type":"example_resource","name":"test","provider_name":"registry.terraform.io/hashicorp/example","schema_version":0,"values":{"configurable_attribute":1.23,"id":"one"},"sensitive_values":{}}]}},"resource_changes":[{"address":"example_resource.test","mode":"managed","type":"example_resource","name":"test","provider_name":"registry.terraform.io/hashicorp/example","change":{"actions":["create"],"before":null,"after":{"configurable_attribute":1.23,"id":"one"},"after_unknown":{},"before_sensitive":false,"after_sensitive":{}}}],"configuration":{"provider_config":{"example":{"name":"example","full_name":"registry.terraform.io/hashicorp/example"}},"root_module":{"resources":[{"address":"example_resource.test","mode":"managed","type":"example_resource","name":"test","provider_config_key":"example","expressions":{"configurable_attribute":{"constant_value":1.23},"id":{"constant_value":"one"}},"schema_version":0}]}},"timestamp":"2023-12-07T13:55:56Z"}

0 comments on commit da9b6fa

Please sign in to comment.