github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/show-json/provider-aliasing-default/output.json (about) 1 { 2 "format_version": "1.0", 3 "terraform_version": "1.1.0-dev", 4 "planned_values": { 5 "root_module": { 6 "resources": [ 7 { 8 "address": "test_instance.test", 9 "mode": "managed", 10 "type": "test_instance", 11 "name": "test", 12 "provider_name": "registry.terraform.io/hashicorp/test", 13 "schema_version": 0, 14 "values": { 15 "ami": "foo" 16 }, 17 "sensitive_values": {} 18 } 19 ], 20 "child_modules": [ 21 { 22 "resources": [ 23 { 24 "address": "module.child.test_instance.test", 25 "mode": "managed", 26 "type": "test_instance", 27 "name": "test", 28 "provider_name": "registry.terraform.io/hashicorp/test", 29 "schema_version": 0, 30 "values": { 31 "ami": "bar" 32 }, 33 "sensitive_values": {} 34 } 35 ], 36 "address": "module.child", 37 "child_modules": [ 38 { 39 "resources": [ 40 { 41 "address": "module.child.module.no_requirements.test_instance.test", 42 "mode": "managed", 43 "type": "test_instance", 44 "name": "test", 45 "provider_name": "registry.terraform.io/hashicorp/test", 46 "schema_version": 0, 47 "values": { 48 "ami": "qux" 49 }, 50 "sensitive_values": {} 51 } 52 ], 53 "address": "module.child.module.no_requirements" 54 }, 55 { 56 "resources": [ 57 { 58 "address": "module.child.module.with_requirement.test_instance.test", 59 "mode": "managed", 60 "type": "test_instance", 61 "name": "test", 62 "provider_name": "registry.terraform.io/hashicorp/test", 63 "schema_version": 0, 64 "values": { 65 "ami": "baz" 66 }, 67 "sensitive_values": {} 68 } 69 ], 70 "address": "module.child.module.with_requirement" 71 } 72 ] 73 } 74 ] 75 } 76 }, 77 "resource_changes": [ 78 { 79 "address": "test_instance.test", 80 "mode": "managed", 81 "type": "test_instance", 82 "name": "test", 83 "provider_name": "registry.terraform.io/hashicorp/test", 84 "change": { 85 "actions": [ 86 "create" 87 ], 88 "before": null, 89 "after": { 90 "ami": "foo" 91 }, 92 "after_unknown": { 93 "id": true 94 }, 95 "before_sensitive": false, 96 "after_sensitive": {} 97 } 98 }, 99 { 100 "address": "module.child.test_instance.test", 101 "module_address": "module.child", 102 "mode": "managed", 103 "type": "test_instance", 104 "name": "test", 105 "provider_name": "registry.terraform.io/hashicorp/test", 106 "change": { 107 "actions": [ 108 "create" 109 ], 110 "before": null, 111 "after": { 112 "ami": "bar" 113 }, 114 "after_unknown": { 115 "id": true 116 }, 117 "before_sensitive": false, 118 "after_sensitive": {} 119 } 120 }, 121 { 122 "address": "module.child.module.no_requirements.test_instance.test", 123 "module_address": "module.child.module.no_requirements", 124 "mode": "managed", 125 "type": "test_instance", 126 "name": "test", 127 "provider_name": "registry.terraform.io/hashicorp/test", 128 "change": { 129 "actions": [ 130 "create" 131 ], 132 "before": null, 133 "after": { 134 "ami": "qux" 135 }, 136 "after_unknown": { 137 "id": true 138 }, 139 "before_sensitive": false, 140 "after_sensitive": {} 141 } 142 }, 143 { 144 "address": "module.child.module.with_requirement.test_instance.test", 145 "module_address": "module.child.module.with_requirement", 146 "mode": "managed", 147 "type": "test_instance", 148 "name": "test", 149 "provider_name": "registry.terraform.io/hashicorp/test", 150 "change": { 151 "actions": [ 152 "create" 153 ], 154 "before": null, 155 "after": { 156 "ami": "baz" 157 }, 158 "after_unknown": { 159 "id": true 160 }, 161 "before_sensitive": false, 162 "after_sensitive": {} 163 } 164 } 165 ], 166 "configuration": { 167 "provider_config": { 168 "test": { 169 "name": "test", 170 "full_name": "registry.terraform.io/hashicorp/test", 171 "expressions": { 172 "region": { 173 "constant_value": "somewhere" 174 } 175 } 176 }, 177 "test.backup": { 178 "name": "test", 179 "full_name": "registry.terraform.io/hashicorp/test", 180 "alias": "backup", 181 "expressions": { 182 "region": { 183 "constant_value": "elsewhere" 184 } 185 } 186 } 187 }, 188 "root_module": { 189 "resources": [ 190 { 191 "address": "test_instance.test", 192 "mode": "managed", 193 "type": "test_instance", 194 "name": "test", 195 "provider_config_key": "test", 196 "expressions": { 197 "ami": { 198 "constant_value": "foo" 199 } 200 }, 201 "schema_version": 0 202 } 203 ], 204 "module_calls": { 205 "child": { 206 "source": "./child", 207 "module": { 208 "resources": [ 209 { 210 "address": "test_instance.test", 211 "mode": "managed", 212 "type": "test_instance", 213 "name": "test", 214 "provider_config_key": "test.backup", 215 "expressions": { 216 "ami": { 217 "constant_value": "bar" 218 } 219 }, 220 "schema_version": 0 221 } 222 ], 223 "module_calls": { 224 "no_requirements": { 225 "source": "./nested-no-requirements", 226 "module": { 227 "resources": [ 228 { 229 "address": "test_instance.test", 230 "mode": "managed", 231 "type": "test_instance", 232 "name": "test", 233 "provider_config_key": "test.backup", 234 "expressions": { 235 "ami": { 236 "constant_value": "qux" 237 } 238 }, 239 "schema_version": 0 240 } 241 ] 242 } 243 }, 244 "with_requirement": { 245 "source": "./nested", 246 "depends_on": ["module.no_requirements"], 247 "module": { 248 "resources": [ 249 { 250 "address": "test_instance.test", 251 "mode": "managed", 252 "type": "test_instance", 253 "name": "test", 254 "provider_config_key": "test.backup", 255 "expressions": { 256 "ami": { 257 "constant_value": "baz" 258 } 259 }, 260 "schema_version": 0 261 } 262 ] 263 } 264 } 265 } 266 } 267 } 268 } 269 } 270 } 271 }