2019-02-19 17:12:33 +01:00
|
|
|
{
|
2021-09-01 17:17:13 +02:00
|
|
|
"format_version": "1.0",
|
2019-02-19 17:12:33 +01:00
|
|
|
"planned_values": {
|
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"sensitive": false,
|
|
|
|
"value": "baz"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"root_module": {
|
|
|
|
"child_modules": [
|
|
|
|
{
|
|
|
|
"resources": [
|
|
|
|
{
|
2019-03-01 22:59:12 +01:00
|
|
|
"address": "module.module_test_bar.test_instance.test",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2019-03-01 22:59:12 +01:00
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "bar-var"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
2019-03-01 22:59:12 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"address": "module.module_test_bar"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"address": "module.module_test_foo.test_instance.test[0]",
|
2019-02-19 17:12:33 +01:00
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
|
|
|
"index": 0,
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2019-02-19 17:12:33 +01:00
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "baz"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
2019-02-19 17:12:33 +01:00
|
|
|
},
|
|
|
|
{
|
2019-03-01 22:59:12 +01:00
|
|
|
"address": "module.module_test_foo.test_instance.test[1]",
|
2019-02-19 17:12:33 +01:00
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
|
|
|
"index": 1,
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2019-02-19 17:12:33 +01:00
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "baz"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
2019-02-19 17:12:33 +01:00
|
|
|
},
|
|
|
|
{
|
2019-03-01 22:59:12 +01:00
|
|
|
"address": "module.module_test_foo.test_instance.test[2]",
|
2019-02-19 17:12:33 +01:00
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
|
|
|
"index": 2,
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2019-02-19 17:12:33 +01:00
|
|
|
"schema_version": 0,
|
|
|
|
"values": {
|
|
|
|
"ami": "baz"
|
2021-06-14 15:19:13 +02:00
|
|
|
},
|
|
|
|
"sensitive_values": {}
|
2019-02-19 17:12:33 +01:00
|
|
|
}
|
|
|
|
],
|
2019-03-01 22:59:12 +01:00
|
|
|
"address": "module.module_test_foo"
|
2019-02-19 17:12:33 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2020-09-21 20:39:25 +02:00
|
|
|
"prior_state": {
|
2021-09-01 17:17:13 +02:00
|
|
|
"format_version": "1.0",
|
2020-09-21 20:39:25 +02:00
|
|
|
"values": {
|
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"sensitive": false,
|
|
|
|
"value": "baz"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"root_module": {}
|
|
|
|
}
|
|
|
|
},
|
2019-02-19 17:12:33 +01:00
|
|
|
"resource_changes": [
|
|
|
|
{
|
2019-03-01 22:59:12 +01:00
|
|
|
"address": "module.module_test_bar.test_instance.test",
|
|
|
|
"module_address": "module.module_test_bar",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2019-03-01 22:59:12 +01:00
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after": {
|
|
|
|
"ami": "bar-var"
|
|
|
|
},
|
|
|
|
"after_unknown": {
|
|
|
|
"id": true
|
2021-03-25 16:41:49 +01:00
|
|
|
},
|
|
|
|
"after_sensitive": {},
|
|
|
|
"before_sensitive": false
|
2019-03-01 22:59:12 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"address": "module.module_test_foo.test_instance.test[0]",
|
|
|
|
"module_address": "module.module_test_foo",
|
2019-02-19 17:12:33 +01:00
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2019-02-19 17:12:33 +01:00
|
|
|
"name": "test",
|
|
|
|
"index": 0,
|
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after": {
|
|
|
|
"ami": "baz"
|
|
|
|
},
|
|
|
|
"after_unknown": {
|
|
|
|
"id": true
|
2021-03-25 16:41:49 +01:00
|
|
|
},
|
|
|
|
"after_sensitive": {},
|
|
|
|
"before_sensitive": false
|
2019-02-19 17:12:33 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2019-03-01 22:59:12 +01:00
|
|
|
"address": "module.module_test_foo.test_instance.test[1]",
|
|
|
|
"module_address": "module.module_test_foo",
|
2019-02-19 17:12:33 +01:00
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2019-02-19 17:12:33 +01:00
|
|
|
"name": "test",
|
|
|
|
"index": 1,
|
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after": {
|
|
|
|
"ami": "baz"
|
|
|
|
},
|
|
|
|
"after_unknown": {
|
|
|
|
"id": true
|
2021-03-25 16:41:49 +01:00
|
|
|
},
|
|
|
|
"after_sensitive": {},
|
|
|
|
"before_sensitive": false
|
2019-02-19 17:12:33 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2019-03-01 22:59:12 +01:00
|
|
|
"address": "module.module_test_foo.test_instance.test[2]",
|
|
|
|
"module_address": "module.module_test_foo",
|
2019-02-19 17:12:33 +01:00
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
2020-04-02 18:58:44 +02:00
|
|
|
"provider_name": "registry.terraform.io/hashicorp/test",
|
2019-02-19 17:12:33 +01:00
|
|
|
"name": "test",
|
|
|
|
"index": 2,
|
|
|
|
"change": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after": {
|
|
|
|
"ami": "baz"
|
|
|
|
},
|
|
|
|
"after_unknown": {
|
|
|
|
"id": true
|
2021-03-25 16:41:49 +01:00
|
|
|
},
|
|
|
|
"after_sensitive": {},
|
|
|
|
"before_sensitive": false
|
2019-02-19 17:12:33 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"output_changes": {
|
|
|
|
"test": {
|
|
|
|
"actions": [
|
|
|
|
"create"
|
|
|
|
],
|
|
|
|
"before": null,
|
|
|
|
"after": "baz",
|
2021-03-27 00:21:40 +01:00
|
|
|
"after_unknown": false,
|
|
|
|
"before_sensitive": false,
|
|
|
|
"after_sensitive": false
|
2019-02-19 17:12:33 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"configuration": {
|
|
|
|
"root_module": {
|
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"expression": {
|
|
|
|
"references": [
|
2021-06-14 15:22:22 +02:00
|
|
|
"module.module_test_foo.test",
|
|
|
|
"module.module_test_foo"
|
2019-02-19 17:12:33 +01:00
|
|
|
]
|
2019-02-20 01:31:10 +01:00
|
|
|
},
|
|
|
|
"depends_on": [
|
2019-03-01 22:59:12 +01:00
|
|
|
"module.module_test_foo"
|
2019-02-20 01:31:10 +01:00
|
|
|
]
|
2019-02-19 17:12:33 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"module_calls": {
|
2019-03-01 22:59:12 +01:00
|
|
|
"module_test_bar": {
|
|
|
|
"source": "./bar",
|
|
|
|
"module": {
|
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"expression": {
|
|
|
|
"references": [
|
|
|
|
"var.test_var"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.test",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
2021-12-10 18:48:32 +01:00
|
|
|
"provider_config_key": "module.module_test_bar:test",
|
2019-03-01 22:59:12 +01:00
|
|
|
"expressions": {
|
|
|
|
"ami": {
|
|
|
|
"references": [
|
|
|
|
"var.test_var"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"schema_version": 0
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"variables": {
|
|
|
|
"test_var": {
|
|
|
|
"default": "bar-var"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"module_test_foo": {
|
2019-02-19 17:12:33 +01:00
|
|
|
"source": "./foo",
|
|
|
|
"expressions": {
|
|
|
|
"test_var": {
|
|
|
|
"constant_value": "baz"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"module": {
|
|
|
|
"outputs": {
|
|
|
|
"test": {
|
|
|
|
"expression": {
|
|
|
|
"references": [
|
|
|
|
"var.test_var"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"resources": [
|
|
|
|
{
|
|
|
|
"address": "test_instance.test",
|
|
|
|
"mode": "managed",
|
|
|
|
"type": "test_instance",
|
|
|
|
"name": "test",
|
2021-12-10 18:48:32 +01:00
|
|
|
"provider_config_key": "module.module_test_foo:test",
|
2019-02-19 17:12:33 +01:00
|
|
|
"expressions": {
|
|
|
|
"ami": {
|
|
|
|
"references": [
|
|
|
|
"var.test_var"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"schema_version": 0,
|
|
|
|
"count_expression": {
|
|
|
|
"constant_value": 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"variables": {
|
|
|
|
"test_var": {
|
2019-03-01 22:59:12 +01:00
|
|
|
"default": "foo-var"
|
2019-02-19 17:12:33 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-02-20 23:27:49 +01:00
|
|
|
},
|
|
|
|
"provider_config": {
|
2020-02-24 23:42:32 +01:00
|
|
|
"module.module_test_foo:test": {
|
|
|
|
"module_address": "module.module_test_foo",
|
2021-12-10 18:48:32 +01:00
|
|
|
"name": "test",
|
|
|
|
"full_name": "registry.terraform.io/hashicorp/test"
|
2022-02-18 17:15:58 +01:00
|
|
|
},
|
|
|
|
"module.module_test_bar:test": {
|
|
|
|
"module_address": "module.module_test_bar",
|
|
|
|
"name": "test",
|
|
|
|
"full_name": "registry.terraform.io/hashicorp/test"
|
2019-02-20 23:27:49 +01:00
|
|
|
}
|
2019-02-19 17:12:33 +01:00
|
|
|
}
|
|
|
|
}
|
2020-04-02 18:58:44 +02:00
|
|
|
}
|