github.com/nov1n/terraform@v0.7.9-0.20161103151050-bf6852f38e28/terraform/test-fixtures/state-filter/complete.tfstate (about) 1 { 2 "version": 1, 3 "serial": 12, 4 "modules": [ 5 { 6 "path": [ 7 "root" 8 ], 9 "outputs": { 10 "public_az1_subnet_id": "subnet-d658bba0", 11 "region": "us-west-2", 12 "vpc_cidr": "10.201.0.0/16", 13 "vpc_id": "vpc-65814701" 14 }, 15 "resources": { 16 "aws_key_pair.onprem": { 17 "type": "aws_key_pair", 18 "primary": { 19 "id": "onprem", 20 "attributes": { 21 "id": "onprem", 22 "key_name": "onprem", 23 "public_key": "foo" 24 }, 25 "meta": { 26 "schema_version": "1" 27 } 28 } 29 } 30 } 31 }, 32 { 33 "path": [ 34 "root", 35 "bootstrap" 36 ], 37 "outputs": { 38 "consul_bootstrap_dns": "consul.bootstrap" 39 }, 40 "resources": { 41 "aws_route53_record.oasis-consul-bootstrap-a": { 42 "type": "aws_route53_record", 43 "depends_on": [ 44 "aws_route53_zone.oasis-consul-bootstrap" 45 ], 46 "primary": { 47 "id": "Z68734P5178QN_consul.bootstrap_A", 48 "attributes": { 49 "failover": "", 50 "fqdn": "consul.bootstrap", 51 "health_check_id": "", 52 "id": "Z68734P5178QN_consul.bootstrap_A", 53 "name": "consul.bootstrap", 54 "records.#": "6", 55 "records.1148461392": "10.201.3.8", 56 "records.1169574759": "10.201.2.8", 57 "records.1206973758": "10.201.1.8", 58 "records.1275070284": "10.201.2.4", 59 "records.1304587643": "10.201.3.4", 60 "records.1313257749": "10.201.1.4", 61 "set_identifier": "", 62 "ttl": "300", 63 "type": "A", 64 "weight": "-1", 65 "zone_id": "Z68734P5178QN" 66 } 67 } 68 }, 69 "aws_route53_record.oasis-consul-bootstrap-ns": { 70 "type": "aws_route53_record", 71 "depends_on": [ 72 "aws_route53_zone.oasis-consul-bootstrap", 73 "aws_route53_zone.oasis-consul-bootstrap", 74 "aws_route53_zone.oasis-consul-bootstrap", 75 "aws_route53_zone.oasis-consul-bootstrap", 76 "aws_route53_zone.oasis-consul-bootstrap" 77 ], 78 "primary": { 79 "id": "Z68734P5178QN_consul.bootstrap_NS", 80 "attributes": { 81 "failover": "", 82 "fqdn": "consul.bootstrap", 83 "health_check_id": "", 84 "id": "Z68734P5178QN_consul.bootstrap_NS", 85 "name": "consul.bootstrap", 86 "records.#": "4", 87 "records.1796532126": "ns-512.awsdns-00.net.", 88 "records.2728059479": "ns-1536.awsdns-00.co.uk.", 89 "records.4092160370": "ns-1024.awsdns-00.org.", 90 "records.456007465": "ns-0.awsdns-00.com.", 91 "set_identifier": "", 92 "ttl": "30", 93 "type": "NS", 94 "weight": "-1", 95 "zone_id": "Z68734P5178QN" 96 } 97 } 98 }, 99 "aws_route53_zone.oasis-consul-bootstrap": { 100 "type": "aws_route53_zone", 101 "primary": { 102 "id": "Z68734P5178QN", 103 "attributes": { 104 "comment": "Used to bootstrap consul dns", 105 "id": "Z68734P5178QN", 106 "name": "consul.bootstrap", 107 "name_servers.#": "4", 108 "name_servers.0": "ns-0.awsdns-00.com.", 109 "name_servers.1": "ns-1024.awsdns-00.org.", 110 "name_servers.2": "ns-1536.awsdns-00.co.uk.", 111 "name_servers.3": "ns-512.awsdns-00.net.", 112 "tags.#": "0", 113 "vpc_id": "vpc-65814701", 114 "vpc_region": "us-west-2", 115 "zone_id": "Z68734P5178QN" 116 } 117 } 118 } 119 } 120 }, 121 { 122 "path": [ 123 "root", 124 "consul" 125 ], 126 "outputs": { 127 "consul_ips": "10.201.1.8,10.201.2.8,10.201.3.8,", 128 "security_group_id": "sg-6c4d2f0b" 129 }, 130 "resources": { 131 "aws_instance.consul-green.0": { 132 "type": "aws_instance", 133 "depends_on": [ 134 "aws_security_group.consul" 135 ], 136 "primary": { 137 "id": "i-6dc2acb5", 138 "attributes": { 139 "ami": "ami-abcd1234", 140 "availability_zone": "us-west-2a", 141 "ebs_block_device.#": "0", 142 "ebs_optimized": "false", 143 "ephemeral_block_device.#": "0", 144 "iam_instance_profile": "", 145 "id": "i-6dc2acb5", 146 "instance_state": "running", 147 "instance_type": "t2.small", 148 "key_name": "onprem", 149 "monitoring": "false", 150 "private_dns": "ip-10-201-1-8.us-west-2.compute.internal", 151 "private_ip": "10.201.1.8", 152 "public_dns": "", 153 "public_ip": "", 154 "root_block_device.#": "1", 155 "root_block_device.0.delete_on_termination": "true", 156 "root_block_device.0.iops": "24", 157 "root_block_device.0.volume_size": "8", 158 "root_block_device.0.volume_type": "gp2", 159 "security_groups.#": "0", 160 "source_dest_check": "true", 161 "subnet_id": "subnet-d558bba3", 162 "tags.#": "1", 163 "tags.Name": "onprem-consul", 164 "tenancy": "default", 165 "user_data": "daea808a0010d9ab14d862878905052ee9e3fe55", 166 "vpc_security_group_ids.#": "1", 167 "vpc_security_group_ids.753260136": "sg-6c4d2f0b" 168 }, 169 "meta": { 170 "schema_version": "1" 171 } 172 } 173 }, 174 "aws_instance.consul-green.1": { 175 "type": "aws_instance", 176 "depends_on": [ 177 "aws_security_group.consul" 178 ], 179 "primary": { 180 "id": "i-59bde69e", 181 "attributes": { 182 "ami": "ami-abcd1234", 183 "availability_zone": "us-west-2b", 184 "ebs_block_device.#": "0", 185 "ebs_optimized": "false", 186 "ephemeral_block_device.#": "0", 187 "iam_instance_profile": "", 188 "id": "i-59bde69e", 189 "instance_state": "running", 190 "instance_type": "t2.small", 191 "key_name": "onprem", 192 "monitoring": "false", 193 "private_dns": "ip-10-201-2-8.us-west-2.compute.internal", 194 "private_ip": "10.201.2.8", 195 "public_dns": "", 196 "public_ip": "", 197 "root_block_device.#": "1", 198 "root_block_device.0.delete_on_termination": "true", 199 "root_block_device.0.iops": "24", 200 "root_block_device.0.volume_size": "8", 201 "root_block_device.0.volume_type": "gp2", 202 "security_groups.#": "0", 203 "source_dest_check": "true", 204 "subnet_id": "subnet-984f81fc", 205 "tags.#": "1", 206 "tags.Name": "onprem-consul", 207 "tenancy": "default", 208 "user_data": "daea808a0010d9ab14d862878905052ee9e3fe55", 209 "vpc_security_group_ids.#": "1", 210 "vpc_security_group_ids.753260136": "sg-6c4d2f0b" 211 }, 212 "meta": { 213 "schema_version": "1" 214 } 215 } 216 }, 217 "aws_instance.consul-green.2": { 218 "type": "aws_instance", 219 "depends_on": [ 220 "aws_security_group.consul" 221 ], 222 "primary": { 223 "id": "i-24d5e9fe", 224 "attributes": { 225 "ami": "ami-abcd1234", 226 "availability_zone": "us-west-2c", 227 "ebs_block_device.#": "0", 228 "ebs_optimized": "false", 229 "ephemeral_block_device.#": "0", 230 "iam_instance_profile": "", 231 "id": "i-24d5e9fe", 232 "instance_state": "running", 233 "instance_type": "t2.small", 234 "key_name": "onprem", 235 "monitoring": "false", 236 "private_dns": "ip-10-201-3-8.us-west-2.compute.internal", 237 "private_ip": "10.201.3.8", 238 "public_dns": "", 239 "public_ip": "", 240 "root_block_device.#": "1", 241 "root_block_device.0.delete_on_termination": "true", 242 "root_block_device.0.iops": "24", 243 "root_block_device.0.volume_size": "8", 244 "root_block_device.0.volume_type": "gp2", 245 "security_groups.#": "0", 246 "source_dest_check": "true", 247 "subnet_id": "subnet-776d532e", 248 "tags.#": "1", 249 "tags.Name": "onprem-consul", 250 "tenancy": "default", 251 "user_data": "daea808a0010d9ab14d862878905052ee9e3fe55", 252 "vpc_security_group_ids.#": "1", 253 "vpc_security_group_ids.753260136": "sg-6c4d2f0b" 254 }, 255 "meta": { 256 "schema_version": "1" 257 } 258 } 259 }, 260 "aws_security_group.consul": { 261 "type": "aws_security_group", 262 "primary": { 263 "id": "sg-6c4d2f0b", 264 "attributes": { 265 "description": "Managed by Terraform", 266 "egress.#": "1", 267 "egress.482069346.cidr_blocks.#": "1", 268 "egress.482069346.cidr_blocks.0": "0.0.0.0/0", 269 "egress.482069346.from_port": "0", 270 "egress.482069346.protocol": "-1", 271 "egress.482069346.security_groups.#": "0", 272 "egress.482069346.self": "false", 273 "egress.482069346.to_port": "0", 274 "id": "sg-6c4d2f0b", 275 "ingress.#": "1", 276 "ingress.3832255922.cidr_blocks.#": "2", 277 "ingress.3832255922.cidr_blocks.0": "10.201.0.0/16", 278 "ingress.3832255922.cidr_blocks.1": "127.0.0.1/32", 279 "ingress.3832255922.from_port": "0", 280 "ingress.3832255922.protocol": "-1", 281 "ingress.3832255922.security_groups.#": "0", 282 "ingress.3832255922.self": "false", 283 "ingress.3832255922.to_port": "0", 284 "name": "onprem-consul", 285 "owner_id": "209146746714", 286 "tags.#": "0", 287 "vpc_id": "vpc-65814701" 288 } 289 } 290 } 291 } 292 }, 293 { 294 "path": [ 295 "root", 296 "network-core" 297 ], 298 "outputs": { 299 "private_az1_subnet_id": "subnet-d558bba3", 300 "private_az2_subnet_id": "subnet-984f81fc", 301 "private_az3_subnet_id": "subnet-776d532e", 302 "public_az1_subnet_id": "subnet-d658bba0", 303 "public_az2_subnet_id": "subnet-9f4f81fb", 304 "public_az3_subnet_id": "subnet-756d532c", 305 "vpc_cidr": "10.201.0.0/16", 306 "vpc_id": "vpc-65814701" 307 }, 308 "resources": {} 309 }, 310 { 311 "path": [ 312 "root", 313 "vault" 314 ], 315 "outputs": { 316 "dns_name": "internal-onprem-vault-2015291251.us-west-2.elb.amazonaws.com", 317 "private_ips": "10.201.1.145,10.201.2.191,10.201.3.230" 318 }, 319 "resources": { 320 "aws_elb.vault": { 321 "type": "aws_elb", 322 "depends_on": [ 323 "aws_instance.vault", 324 "aws_security_group.elb" 325 ], 326 "primary": { 327 "id": "onprem-vault", 328 "attributes": { 329 "access_logs.#": "0", 330 "availability_zones.#": "3", 331 "availability_zones.2050015877": "us-west-2c", 332 "availability_zones.221770259": "us-west-2b", 333 "availability_zones.2487133097": "us-west-2a", 334 "connection_draining": "true", 335 "connection_draining_timeout": "400", 336 "cross_zone_load_balancing": "true", 337 "dns_name": "internal-onprem-vault-2015291251.us-west-2.elb.amazonaws.com", 338 "health_check.#": "1", 339 "health_check.4162994118.healthy_threshold": "2", 340 "health_check.4162994118.interval": "15", 341 "health_check.4162994118.target": "HTTPS:8200/v1/sys/health", 342 "health_check.4162994118.timeout": "5", 343 "health_check.4162994118.unhealthy_threshold": "3", 344 "id": "onprem-vault", 345 "idle_timeout": "60", 346 "instances.#": "3", 347 "instances.1694111637": "i-b6d5e96c", 348 "instances.237539873": "i-11bee5d6", 349 "instances.3767473091": "i-f3c2ac2b", 350 "internal": "true", 351 "listener.#": "2", 352 "listener.2355508663.instance_port": "8200", 353 "listener.2355508663.instance_protocol": "tcp", 354 "listener.2355508663.lb_port": "443", 355 "listener.2355508663.lb_protocol": "tcp", 356 "listener.2355508663.ssl_certificate_id": "", 357 "listener.3383204430.instance_port": "8200", 358 "listener.3383204430.instance_protocol": "tcp", 359 "listener.3383204430.lb_port": "80", 360 "listener.3383204430.lb_protocol": "tcp", 361 "listener.3383204430.ssl_certificate_id": "", 362 "name": "onprem-vault", 363 "security_groups.#": "1", 364 "security_groups.4254461258": "sg-6b4d2f0c", 365 "source_security_group": "onprem-vault-elb", 366 "source_security_group_id": "sg-6b4d2f0c", 367 "subnets.#": "3", 368 "subnets.1994053001": "subnet-d658bba0", 369 "subnets.3216774672": "subnet-756d532c", 370 "subnets.3611140374": "subnet-9f4f81fb", 371 "tags.#": "0", 372 "zone_id": "Z33MTJ483KN6FU" 373 } 374 } 375 }, 376 "aws_instance.vault.0": { 377 "type": "aws_instance", 378 "depends_on": [ 379 "aws_security_group.vault", 380 "template_cloudinit_config.config" 381 ], 382 "primary": { 383 "id": "i-f3c2ac2b", 384 "attributes": { 385 "ami": "ami-abcd1234", 386 "availability_zone": "us-west-2a", 387 "ebs_block_device.#": "0", 388 "ebs_optimized": "false", 389 "ephemeral_block_device.#": "0", 390 "iam_instance_profile": "", 391 "id": "i-f3c2ac2b", 392 "instance_state": "running", 393 "instance_type": "t2.small", 394 "key_name": "onprem", 395 "monitoring": "false", 396 "private_dns": "ip-10-201-1-145.us-west-2.compute.internal", 397 "private_ip": "10.201.1.145", 398 "public_dns": "", 399 "public_ip": "", 400 "root_block_device.#": "1", 401 "root_block_device.0.delete_on_termination": "true", 402 "root_block_device.0.iops": "24", 403 "root_block_device.0.volume_size": "8", 404 "root_block_device.0.volume_type": "gp2", 405 "security_groups.#": "0", 406 "source_dest_check": "true", 407 "subnet_id": "subnet-d558bba3", 408 "tags.#": "1", 409 "tags.Name": "onprem-vault - 0", 410 "tenancy": "default", 411 "user_data": "423b5c91392a6b2ac287a118fcdad0aadaeffd48", 412 "vpc_security_group_ids.#": "1", 413 "vpc_security_group_ids.1377395316": "sg-6a4d2f0d" 414 }, 415 "meta": { 416 "schema_version": "1" 417 } 418 } 419 }, 420 "aws_instance.vault.1": { 421 "type": "aws_instance", 422 "depends_on": [ 423 "aws_security_group.vault", 424 "template_cloudinit_config.config" 425 ], 426 "primary": { 427 "id": "i-11bee5d6", 428 "attributes": { 429 "ami": "ami-abcd1234", 430 "availability_zone": "us-west-2b", 431 "ebs_block_device.#": "0", 432 "ebs_optimized": "false", 433 "ephemeral_block_device.#": "0", 434 "iam_instance_profile": "", 435 "id": "i-11bee5d6", 436 "instance_state": "running", 437 "instance_type": "t2.small", 438 "key_name": "onprem", 439 "monitoring": "false", 440 "private_dns": "ip-10-201-2-191.us-west-2.compute.internal", 441 "private_ip": "10.201.2.191", 442 "public_dns": "", 443 "public_ip": "", 444 "root_block_device.#": "1", 445 "root_block_device.0.delete_on_termination": "true", 446 "root_block_device.0.iops": "24", 447 "root_block_device.0.volume_size": "8", 448 "root_block_device.0.volume_type": "gp2", 449 "security_groups.#": "0", 450 "source_dest_check": "true", 451 "subnet_id": "subnet-984f81fc", 452 "tags.#": "1", 453 "tags.Name": "onprem-vault - 1", 454 "tenancy": "default", 455 "user_data": "de5ec79c02b721123a7c2a1622257b425aa26e61", 456 "vpc_security_group_ids.#": "1", 457 "vpc_security_group_ids.1377395316": "sg-6a4d2f0d" 458 }, 459 "meta": { 460 "schema_version": "1" 461 } 462 } 463 }, 464 "aws_instance.vault.2": { 465 "type": "aws_instance", 466 "depends_on": [ 467 "aws_security_group.vault", 468 "template_cloudinit_config.config" 469 ], 470 "primary": { 471 "id": "i-b6d5e96c", 472 "attributes": { 473 "ami": "ami-abcd1234", 474 "availability_zone": "us-west-2c", 475 "ebs_block_device.#": "0", 476 "ebs_optimized": "false", 477 "ephemeral_block_device.#": "0", 478 "iam_instance_profile": "", 479 "id": "i-b6d5e96c", 480 "instance_state": "running", 481 "instance_type": "t2.small", 482 "key_name": "onprem", 483 "monitoring": "false", 484 "private_dns": "ip-10-201-3-230.us-west-2.compute.internal", 485 "private_ip": "10.201.3.230", 486 "public_dns": "", 487 "public_ip": "", 488 "root_block_device.#": "1", 489 "root_block_device.0.delete_on_termination": "true", 490 "root_block_device.0.iops": "24", 491 "root_block_device.0.volume_size": "8", 492 "root_block_device.0.volume_type": "gp2", 493 "security_groups.#": "0", 494 "source_dest_check": "true", 495 "subnet_id": "subnet-776d532e", 496 "tags.#": "1", 497 "tags.Name": "onprem-vault - 2", 498 "tenancy": "default", 499 "user_data": "7ecdafc11c715866578ab5441bb27abbae97c850", 500 "vpc_security_group_ids.#": "1", 501 "vpc_security_group_ids.1377395316": "sg-6a4d2f0d" 502 }, 503 "meta": { 504 "schema_version": "1" 505 } 506 } 507 }, 508 "aws_security_group.elb": { 509 "type": "aws_security_group", 510 "primary": { 511 "id": "sg-6b4d2f0c", 512 "attributes": { 513 "description": "Managed by Terraform", 514 "egress.#": "1", 515 "egress.482069346.cidr_blocks.#": "1", 516 "egress.482069346.cidr_blocks.0": "0.0.0.0/0", 517 "egress.482069346.from_port": "0", 518 "egress.482069346.protocol": "-1", 519 "egress.482069346.security_groups.#": "0", 520 "egress.482069346.self": "false", 521 "egress.482069346.to_port": "0", 522 "id": "sg-6b4d2f0c", 523 "ingress.#": "2", 524 "ingress.2915022413.cidr_blocks.#": "1", 525 "ingress.2915022413.cidr_blocks.0": "10.201.0.0/16", 526 "ingress.2915022413.from_port": "80", 527 "ingress.2915022413.protocol": "tcp", 528 "ingress.2915022413.security_groups.#": "0", 529 "ingress.2915022413.self": "false", 530 "ingress.2915022413.to_port": "80", 531 "ingress.382081576.cidr_blocks.#": "1", 532 "ingress.382081576.cidr_blocks.0": "10.201.0.0/16", 533 "ingress.382081576.from_port": "443", 534 "ingress.382081576.protocol": "tcp", 535 "ingress.382081576.security_groups.#": "0", 536 "ingress.382081576.self": "false", 537 "ingress.382081576.to_port": "443", 538 "name": "onprem-vault-elb", 539 "owner_id": "209146746714", 540 "tags.#": "0", 541 "vpc_id": "vpc-65814701" 542 } 543 } 544 }, 545 "aws_security_group.vault": { 546 "type": "aws_security_group", 547 "primary": { 548 "id": "sg-6a4d2f0d", 549 "attributes": { 550 "description": "Managed by Terraform", 551 "egress.#": "1", 552 "egress.482069346.cidr_blocks.#": "1", 553 "egress.482069346.cidr_blocks.0": "0.0.0.0/0", 554 "egress.482069346.from_port": "0", 555 "egress.482069346.protocol": "-1", 556 "egress.482069346.security_groups.#": "0", 557 "egress.482069346.self": "false", 558 "egress.482069346.to_port": "0", 559 "id": "sg-6a4d2f0d", 560 "ingress.#": "1", 561 "ingress.2546146930.cidr_blocks.#": "1", 562 "ingress.2546146930.cidr_blocks.0": "10.201.0.0/16", 563 "ingress.2546146930.from_port": "0", 564 "ingress.2546146930.protocol": "-1", 565 "ingress.2546146930.security_groups.#": "0", 566 "ingress.2546146930.self": "false", 567 "ingress.2546146930.to_port": "0", 568 "name": "onprem-vault", 569 "owner_id": "209146746714", 570 "tags.#": "0", 571 "vpc_id": "vpc-65814701" 572 } 573 } 574 } 575 } 576 }, 577 { 578 "path": [ 579 "root", 580 "network-core", 581 "igw" 582 ], 583 "outputs": { 584 "id": "igw-d06c48b5" 585 }, 586 "resources": { 587 "aws_internet_gateway.main_igw": { 588 "type": "aws_internet_gateway", 589 "primary": { 590 "id": "igw-d06c48b5", 591 "attributes": { 592 "id": "igw-d06c48b5", 593 "vpc_id": "vpc-65814701" 594 } 595 } 596 } 597 } 598 }, 599 { 600 "path": [ 601 "root", 602 "network-core", 603 "private-subnets" 604 ], 605 "outputs": { 606 "az1_subnet_id": "subnet-d558bba3", 607 "az2_subnet_id": "subnet-984f81fc", 608 "az3_subnet_id": "subnet-776d532e" 609 }, 610 "resources": { 611 "aws_subnet.subnet_az1_private": { 612 "type": "aws_subnet", 613 "primary": { 614 "id": "subnet-d558bba3", 615 "attributes": { 616 "availability_zone": "us-west-2a", 617 "cidr_block": "10.201.1.0/24", 618 "id": "subnet-d558bba3", 619 "map_public_ip_on_launch": "false", 620 "tags.#": "1", 621 "tags.Name": "onprem-private", 622 "vpc_id": "vpc-65814701" 623 } 624 } 625 }, 626 "aws_subnet.subnet_az2_private": { 627 "type": "aws_subnet", 628 "primary": { 629 "id": "subnet-984f81fc", 630 "attributes": { 631 "availability_zone": "us-west-2b", 632 "cidr_block": "10.201.2.0/24", 633 "id": "subnet-984f81fc", 634 "map_public_ip_on_launch": "false", 635 "tags.#": "1", 636 "tags.Name": "onprem-private", 637 "vpc_id": "vpc-65814701" 638 } 639 } 640 }, 641 "aws_subnet.subnet_az3_private": { 642 "type": "aws_subnet", 643 "primary": { 644 "id": "subnet-776d532e", 645 "attributes": { 646 "availability_zone": "us-west-2c", 647 "cidr_block": "10.201.3.0/24", 648 "id": "subnet-776d532e", 649 "map_public_ip_on_launch": "false", 650 "tags.#": "1", 651 "tags.Name": "onprem-private", 652 "vpc_id": "vpc-65814701" 653 } 654 } 655 } 656 } 657 }, 658 { 659 "path": [ 660 "root", 661 "network-core", 662 "public-subnets" 663 ], 664 "outputs": { 665 "az1_nat_gateway_id": "nat-05ca7f2d5f1f96693", 666 "az1_subnet_id": "subnet-d658bba0", 667 "az2_nat_gateway_id": "nat-03223582301f75a08", 668 "az2_subnet_id": "subnet-9f4f81fb", 669 "az3_nat_gateway_id": "nat-0f2710d577d3f32ee", 670 "az3_subnet_id": "subnet-756d532c" 671 }, 672 "resources": { 673 "aws_eip.eip_nat_az1": { 674 "type": "aws_eip", 675 "primary": { 676 "id": "eipalloc-5f7bd73b", 677 "attributes": { 678 "association_id": "", 679 "domain": "vpc", 680 "id": "eipalloc-5f7bd73b", 681 "instance": "", 682 "network_interface": "", 683 "private_ip": "", 684 "public_ip": "52.37.99.10", 685 "vpc": "true" 686 } 687 } 688 }, 689 "aws_eip.eip_nat_az2": { 690 "type": "aws_eip", 691 "primary": { 692 "id": "eipalloc-927bd7f6", 693 "attributes": { 694 "association_id": "", 695 "domain": "vpc", 696 "id": "eipalloc-927bd7f6", 697 "instance": "", 698 "network_interface": "", 699 "private_ip": "", 700 "public_ip": "52.36.32.86", 701 "vpc": "true" 702 } 703 } 704 }, 705 "aws_eip.eip_nat_az3": { 706 "type": "aws_eip", 707 "primary": { 708 "id": "eipalloc-fe76da9a", 709 "attributes": { 710 "association_id": "", 711 "domain": "vpc", 712 "id": "eipalloc-fe76da9a", 713 "instance": "", 714 "network_interface": "", 715 "private_ip": "", 716 "public_ip": "52.25.71.124", 717 "vpc": "true" 718 } 719 } 720 }, 721 "aws_nat_gateway.nat_gw_az1": { 722 "type": "aws_nat_gateway", 723 "depends_on": [ 724 "aws_eip.eip_nat_az1", 725 "aws_subnet.subnet_az1_public" 726 ], 727 "primary": { 728 "id": "nat-05ca7f2d5f1f96693", 729 "attributes": { 730 "allocation_id": "eipalloc-5f7bd73b", 731 "id": "nat-05ca7f2d5f1f96693", 732 "network_interface_id": "eni-c3ff6089", 733 "private_ip": "10.201.101.229", 734 "public_ip": "52.37.99.10", 735 "subnet_id": "subnet-d658bba0" 736 } 737 } 738 }, 739 "aws_nat_gateway.nat_gw_az2": { 740 "type": "aws_nat_gateway", 741 "depends_on": [ 742 "aws_eip.eip_nat_az2", 743 "aws_subnet.subnet_az2_public" 744 ], 745 "primary": { 746 "id": "nat-03223582301f75a08", 747 "attributes": { 748 "allocation_id": "eipalloc-927bd7f6", 749 "id": "nat-03223582301f75a08", 750 "network_interface_id": "eni-db22f0a0", 751 "private_ip": "10.201.102.214", 752 "public_ip": "52.36.32.86", 753 "subnet_id": "subnet-9f4f81fb" 754 } 755 } 756 }, 757 "aws_nat_gateway.nat_gw_az3": { 758 "type": "aws_nat_gateway", 759 "depends_on": [ 760 "aws_eip.eip_nat_az3", 761 "aws_subnet.subnet_az3_public" 762 ], 763 "primary": { 764 "id": "nat-0f2710d577d3f32ee", 765 "attributes": { 766 "allocation_id": "eipalloc-fe76da9a", 767 "id": "nat-0f2710d577d3f32ee", 768 "network_interface_id": "eni-e0cd4dbd", 769 "private_ip": "10.201.103.58", 770 "public_ip": "52.25.71.124", 771 "subnet_id": "subnet-756d532c" 772 } 773 } 774 }, 775 "aws_route_table.route_table_public": { 776 "type": "aws_route_table", 777 "primary": { 778 "id": "rtb-838f29e7", 779 "attributes": { 780 "id": "rtb-838f29e7", 781 "propagating_vgws.#": "0", 782 "route.#": "1", 783 "route.1250083285.cidr_block": "0.0.0.0/0", 784 "route.1250083285.gateway_id": "igw-d06c48b5", 785 "route.1250083285.instance_id": "", 786 "route.1250083285.nat_gateway_id": "", 787 "route.1250083285.network_interface_id": "", 788 "route.1250083285.vpc_peering_connection_id": "", 789 "tags.#": "1", 790 "tags.Name": "onprem-public", 791 "vpc_id": "vpc-65814701" 792 } 793 } 794 }, 795 "aws_route_table_association.route_table_az1": { 796 "type": "aws_route_table_association", 797 "depends_on": [ 798 "aws_route_table.route_table_public", 799 "aws_subnet.subnet_az1_public" 800 ], 801 "primary": { 802 "id": "rtbassoc-a5d6abc1", 803 "attributes": { 804 "id": "rtbassoc-a5d6abc1", 805 "route_table_id": "rtb-838f29e7", 806 "subnet_id": "subnet-d658bba0" 807 } 808 } 809 }, 810 "aws_route_table_association.route_table_az2": { 811 "type": "aws_route_table_association", 812 "depends_on": [ 813 "aws_route_table.route_table_public", 814 "aws_subnet.subnet_az2_public" 815 ], 816 "primary": { 817 "id": "rtbassoc-a0d6abc4", 818 "attributes": { 819 "id": "rtbassoc-a0d6abc4", 820 "route_table_id": "rtb-838f29e7", 821 "subnet_id": "subnet-9f4f81fb" 822 } 823 } 824 }, 825 "aws_route_table_association.route_table_az3": { 826 "type": "aws_route_table_association", 827 "depends_on": [ 828 "aws_route_table.route_table_public", 829 "aws_subnet.subnet_az3_public" 830 ], 831 "primary": { 832 "id": "rtbassoc-a7d6abc3", 833 "attributes": { 834 "id": "rtbassoc-a7d6abc3", 835 "route_table_id": "rtb-838f29e7", 836 "subnet_id": "subnet-756d532c" 837 } 838 } 839 }, 840 "aws_subnet.subnet_az1_public": { 841 "type": "aws_subnet", 842 "primary": { 843 "id": "subnet-d658bba0", 844 "attributes": { 845 "availability_zone": "us-west-2a", 846 "cidr_block": "10.201.101.0/24", 847 "id": "subnet-d658bba0", 848 "map_public_ip_on_launch": "true", 849 "tags.#": "1", 850 "tags.Name": "onprem-public", 851 "vpc_id": "vpc-65814701" 852 } 853 } 854 }, 855 "aws_subnet.subnet_az2_public": { 856 "type": "aws_subnet", 857 "primary": { 858 "id": "subnet-9f4f81fb", 859 "attributes": { 860 "availability_zone": "us-west-2b", 861 "cidr_block": "10.201.102.0/24", 862 "id": "subnet-9f4f81fb", 863 "map_public_ip_on_launch": "true", 864 "tags.#": "1", 865 "tags.Name": "onprem-public", 866 "vpc_id": "vpc-65814701" 867 } 868 } 869 }, 870 "aws_subnet.subnet_az3_public": { 871 "type": "aws_subnet", 872 "primary": { 873 "id": "subnet-756d532c", 874 "attributes": { 875 "availability_zone": "us-west-2c", 876 "cidr_block": "10.201.103.0/24", 877 "id": "subnet-756d532c", 878 "map_public_ip_on_launch": "true", 879 "tags.#": "1", 880 "tags.Name": "onprem-public", 881 "vpc_id": "vpc-65814701" 882 } 883 } 884 } 885 } 886 }, 887 { 888 "path": [ 889 "root", 890 "network-core", 891 "restricted-subnets" 892 ], 893 "outputs": { 894 "az1_subnet_id": "subnet-d758bba1", 895 "az2_subnet_id": "subnet-994f81fd", 896 "az3_subnet_id": "subnet-746d532d" 897 }, 898 "resources": { 899 "aws_subnet.subnet_az1_private": { 900 "type": "aws_subnet", 901 "primary": { 902 "id": "subnet-d758bba1", 903 "attributes": { 904 "availability_zone": "us-west-2a", 905 "cidr_block": "10.201.220.0/24", 906 "id": "subnet-d758bba1", 907 "map_public_ip_on_launch": "false", 908 "tags.#": "1", 909 "tags.Name": "onprem-restricted", 910 "vpc_id": "vpc-65814701" 911 } 912 } 913 }, 914 "aws_subnet.subnet_az2_private": { 915 "type": "aws_subnet", 916 "primary": { 917 "id": "subnet-994f81fd", 918 "attributes": { 919 "availability_zone": "us-west-2b", 920 "cidr_block": "10.201.221.0/24", 921 "id": "subnet-994f81fd", 922 "map_public_ip_on_launch": "false", 923 "tags.#": "1", 924 "tags.Name": "onprem-restricted", 925 "vpc_id": "vpc-65814701" 926 } 927 } 928 }, 929 "aws_subnet.subnet_az3_private": { 930 "type": "aws_subnet", 931 "primary": { 932 "id": "subnet-746d532d", 933 "attributes": { 934 "availability_zone": "us-west-2c", 935 "cidr_block": "10.201.222.0/24", 936 "id": "subnet-746d532d", 937 "map_public_ip_on_launch": "false", 938 "tags.#": "1", 939 "tags.Name": "onprem-restricted", 940 "vpc_id": "vpc-65814701" 941 } 942 } 943 } 944 } 945 }, 946 { 947 "path": [ 948 "root", 949 "network-core", 950 "routing-private" 951 ], 952 "outputs": { 953 "az1_route_table_id": "rtb-828f29e6", 954 "az2_route_table_id": "rtb-808f29e4", 955 "az3_route_table_id": "rtb-818f29e5" 956 }, 957 "resources": { 958 "aws_route.route_table_az1_private_default": { 959 "type": "aws_route", 960 "depends_on": [ 961 "aws_route_table.route_table_az1_private", 962 "aws_route_table.route_table_az1_private" 963 ], 964 "primary": { 965 "id": "r-rtb-828f29e61080289494", 966 "attributes": { 967 "destination_cidr_block": "0.0.0.0/0", 968 "destination_prefix_list_id": "", 969 "gateway_id": "", 970 "id": "r-rtb-828f29e61080289494", 971 "instance_id": "", 972 "instance_owner_id": "", 973 "nat_gateway_id": "nat-05ca7f2d5f1f96693", 974 "network_interface_id": "", 975 "origin": "CreateRoute", 976 "route_table_id": "rtb-828f29e6", 977 "state": "active", 978 "vpc_peering_connection_id": "" 979 } 980 } 981 }, 982 "aws_route.route_table_az2_private_default": { 983 "type": "aws_route", 984 "depends_on": [ 985 "aws_route_table.route_table_az2_private", 986 "aws_route_table.route_table_az2_private" 987 ], 988 "primary": { 989 "id": "r-rtb-808f29e41080289494", 990 "attributes": { 991 "destination_cidr_block": "0.0.0.0/0", 992 "destination_prefix_list_id": "", 993 "gateway_id": "", 994 "id": "r-rtb-808f29e41080289494", 995 "instance_id": "", 996 "instance_owner_id": "", 997 "nat_gateway_id": "nat-03223582301f75a08", 998 "network_interface_id": "", 999 "origin": "CreateRoute", 1000 "route_table_id": "rtb-808f29e4", 1001 "state": "active", 1002 "vpc_peering_connection_id": "" 1003 } 1004 } 1005 }, 1006 "aws_route.route_table_az3_private_default": { 1007 "type": "aws_route", 1008 "depends_on": [ 1009 "aws_route_table.route_table_az3_private", 1010 "aws_route_table.route_table_az3_private" 1011 ], 1012 "primary": { 1013 "id": "r-rtb-818f29e51080289494", 1014 "attributes": { 1015 "destination_cidr_block": "0.0.0.0/0", 1016 "destination_prefix_list_id": "", 1017 "gateway_id": "", 1018 "id": "r-rtb-818f29e51080289494", 1019 "instance_id": "", 1020 "instance_owner_id": "", 1021 "nat_gateway_id": "nat-0f2710d577d3f32ee", 1022 "network_interface_id": "", 1023 "origin": "CreateRoute", 1024 "route_table_id": "rtb-818f29e5", 1025 "state": "active", 1026 "vpc_peering_connection_id": "" 1027 } 1028 } 1029 }, 1030 "aws_route_table.route_table_az1_private": { 1031 "type": "aws_route_table", 1032 "primary": { 1033 "id": "rtb-828f29e6", 1034 "attributes": { 1035 "id": "rtb-828f29e6", 1036 "propagating_vgws.#": "0", 1037 "route.#": "0", 1038 "tags.#": "1", 1039 "tags.Name": "onprem-routing-private", 1040 "vpc_id": "vpc-65814701" 1041 } 1042 } 1043 }, 1044 "aws_route_table.route_table_az2_private": { 1045 "type": "aws_route_table", 1046 "primary": { 1047 "id": "rtb-808f29e4", 1048 "attributes": { 1049 "id": "rtb-808f29e4", 1050 "propagating_vgws.#": "0", 1051 "route.#": "0", 1052 "tags.#": "1", 1053 "tags.Name": "onprem-routing-private", 1054 "vpc_id": "vpc-65814701" 1055 } 1056 } 1057 }, 1058 "aws_route_table.route_table_az3_private": { 1059 "type": "aws_route_table", 1060 "primary": { 1061 "id": "rtb-818f29e5", 1062 "attributes": { 1063 "id": "rtb-818f29e5", 1064 "propagating_vgws.#": "0", 1065 "route.#": "0", 1066 "tags.#": "1", 1067 "tags.Name": "onprem-routing-private", 1068 "vpc_id": "vpc-65814701" 1069 } 1070 } 1071 }, 1072 "aws_route_table_association.route_table_az1": { 1073 "type": "aws_route_table_association", 1074 "depends_on": [ 1075 "aws_route_table.route_table_az1_private", 1076 "aws_route_table.route_table_az1_private" 1077 ], 1078 "primary": { 1079 "id": "rtbassoc-a4d6abc0", 1080 "attributes": { 1081 "id": "rtbassoc-a4d6abc0", 1082 "route_table_id": "rtb-828f29e6", 1083 "subnet_id": "subnet-d558bba3" 1084 } 1085 } 1086 }, 1087 "aws_route_table_association.route_table_az2": { 1088 "type": "aws_route_table_association", 1089 "depends_on": [ 1090 "aws_route_table.route_table_az2_private", 1091 "aws_route_table.route_table_az2_private" 1092 ], 1093 "primary": { 1094 "id": "rtbassoc-d9d6abbd", 1095 "attributes": { 1096 "id": "rtbassoc-d9d6abbd", 1097 "route_table_id": "rtb-808f29e4", 1098 "subnet_id": "subnet-984f81fc" 1099 } 1100 } 1101 }, 1102 "aws_route_table_association.route_table_az3": { 1103 "type": "aws_route_table_association", 1104 "depends_on": [ 1105 "aws_route_table.route_table_az3_private", 1106 "aws_route_table.route_table_az3_private" 1107 ], 1108 "primary": { 1109 "id": "rtbassoc-dbd6abbf", 1110 "attributes": { 1111 "id": "rtbassoc-dbd6abbf", 1112 "route_table_id": "rtb-818f29e5", 1113 "subnet_id": "subnet-776d532e" 1114 } 1115 } 1116 }, 1117 "aws_vpc_endpoint.vpe_s3_az1_private": { 1118 "type": "aws_vpc_endpoint", 1119 "depends_on": [ 1120 "aws_route_table.route_table_az1_private", 1121 "aws_route_table.route_table_az1_private" 1122 ], 1123 "primary": { 1124 "id": "vpce-94e70afd", 1125 "attributes": { 1126 "id": "vpce-94e70afd", 1127 "policy": "{\"Statement\":[{\"Action\":\"*\",\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"*\",\"Sid\":\"\"}],\"Version\":\"2008-10-17\"}", 1128 "route_table_ids.#": "1", 1129 "route_table_ids.1792300572": "rtb-828f29e6", 1130 "service_name": "com.amazonaws.us-west-2.s3", 1131 "vpc_id": "vpc-65814701" 1132 } 1133 } 1134 }, 1135 "aws_vpc_endpoint.vpe_s3_az2_private": { 1136 "type": "aws_vpc_endpoint", 1137 "depends_on": [ 1138 "aws_route_table.route_table_az2_private", 1139 "aws_route_table.route_table_az2_private" 1140 ], 1141 "primary": { 1142 "id": "vpce-95e70afc", 1143 "attributes": { 1144 "id": "vpce-95e70afc", 1145 "policy": "{\"Statement\":[{\"Action\":\"*\",\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"*\",\"Sid\":\"\"}],\"Version\":\"2008-10-17\"}", 1146 "route_table_ids.#": "1", 1147 "route_table_ids.323298841": "rtb-808f29e4", 1148 "service_name": "com.amazonaws.us-west-2.s3", 1149 "vpc_id": "vpc-65814701" 1150 } 1151 } 1152 }, 1153 "aws_vpc_endpoint.vpe_s3_az3_private": { 1154 "type": "aws_vpc_endpoint", 1155 "depends_on": [ 1156 "aws_route_table.route_table_az3_private", 1157 "aws_route_table.route_table_az3_private" 1158 ], 1159 "primary": { 1160 "id": "vpce-97e70afe", 1161 "attributes": { 1162 "id": "vpce-97e70afe", 1163 "policy": "{\"Statement\":[{\"Action\":\"*\",\"Effect\":\"Allow\",\"Principal\":\"*\",\"Resource\":\"*\",\"Sid\":\"\"}],\"Version\":\"2008-10-17\"}", 1164 "route_table_ids.#": "1", 1165 "route_table_ids.3258260795": "rtb-818f29e5", 1166 "service_name": "com.amazonaws.us-west-2.s3", 1167 "vpc_id": "vpc-65814701" 1168 } 1169 } 1170 } 1171 } 1172 }, 1173 { 1174 "path": [ 1175 "root", 1176 "network-core", 1177 "routing-restricted" 1178 ], 1179 "outputs": {}, 1180 "resources": { 1181 "aws_route_table.route_table_az1_restricted": { 1182 "type": "aws_route_table", 1183 "primary": { 1184 "id": "rtb-428c2a26", 1185 "attributes": { 1186 "id": "rtb-428c2a26", 1187 "propagating_vgws.#": "0", 1188 "route.#": "1", 1189 "route.1020029083.cidr_block": "0.0.0.0/0", 1190 "route.1020029083.gateway_id": "", 1191 "route.1020029083.instance_id": "", 1192 "route.1020029083.nat_gateway_id": "nat-05ca7f2d5f1f96693", 1193 "route.1020029083.network_interface_id": "", 1194 "route.1020029083.vpc_peering_connection_id": "", 1195 "tags.#": "1", 1196 "tags.Name": "onprem-routing-restricted", 1197 "vpc_id": "vpc-65814701" 1198 } 1199 } 1200 }, 1201 "aws_route_table.route_table_az2_restricted": { 1202 "type": "aws_route_table", 1203 "primary": { 1204 "id": "rtb-2d8c2a49", 1205 "attributes": { 1206 "id": "rtb-2d8c2a49", 1207 "propagating_vgws.#": "0", 1208 "route.#": "0", 1209 "tags.#": "1", 1210 "tags.Name": "onprem-routing-restricted", 1211 "vpc_id": "vpc-65814701" 1212 } 1213 } 1214 }, 1215 "aws_route_table.route_table_az3_restricted": { 1216 "type": "aws_route_table", 1217 "primary": { 1218 "id": "rtb-4a8c2a2e", 1219 "attributes": { 1220 "id": "rtb-4a8c2a2e", 1221 "propagating_vgws.#": "0", 1222 "route.#": "1", 1223 "route.3346134226.cidr_block": "0.0.0.0/0", 1224 "route.3346134226.gateway_id": "", 1225 "route.3346134226.instance_id": "", 1226 "route.3346134226.nat_gateway_id": "nat-0f2710d577d3f32ee", 1227 "route.3346134226.network_interface_id": "", 1228 "route.3346134226.vpc_peering_connection_id": "", 1229 "tags.#": "1", 1230 "tags.Name": "onprem-routing-restricted", 1231 "vpc_id": "vpc-65814701" 1232 } 1233 } 1234 }, 1235 "aws_route_table_association.route_table_az1": { 1236 "type": "aws_route_table_association", 1237 "depends_on": [ 1238 "aws_route_table.route_table_az1_restricted" 1239 ], 1240 "primary": { 1241 "id": "rtbassoc-76d1ac12", 1242 "attributes": { 1243 "id": "rtbassoc-76d1ac12", 1244 "route_table_id": "rtb-428c2a26", 1245 "subnet_id": "subnet-d758bba1" 1246 } 1247 } 1248 }, 1249 "aws_route_table_association.route_table_az2": { 1250 "type": "aws_route_table_association", 1251 "depends_on": [ 1252 "aws_route_table.route_table_az2_restricted" 1253 ], 1254 "primary": { 1255 "id": "rtbassoc-21d1ac45", 1256 "attributes": { 1257 "id": "rtbassoc-21d1ac45", 1258 "route_table_id": "rtb-2d8c2a49", 1259 "subnet_id": "subnet-994f81fd" 1260 } 1261 } 1262 }, 1263 "aws_route_table_association.route_table_az3": { 1264 "type": "aws_route_table_association", 1265 "depends_on": [ 1266 "aws_route_table.route_table_az3_restricted" 1267 ], 1268 "primary": { 1269 "id": "rtbassoc-45d1ac21", 1270 "attributes": { 1271 "id": "rtbassoc-45d1ac21", 1272 "route_table_id": "rtb-4a8c2a2e", 1273 "subnet_id": "subnet-746d532d" 1274 } 1275 } 1276 } 1277 } 1278 }, 1279 { 1280 "path": [ 1281 "root", 1282 "network-core", 1283 "vpc" 1284 ], 1285 "outputs": { 1286 "cidr": "10.201.0.0/16", 1287 "id": "vpc-65814701" 1288 }, 1289 "resources": { 1290 "aws_vpc.vpc": { 1291 "type": "aws_vpc", 1292 "primary": { 1293 "id": "vpc-65814701", 1294 "attributes": { 1295 "cidr_block": "10.201.0.0/16", 1296 "default_network_acl_id": "acl-30964254", 1297 "default_security_group_id": "sg-604d2f07", 1298 "dhcp_options_id": "dopt-e1afbb83", 1299 "enable_classiclink": "false", 1300 "enable_dns_hostnames": "true", 1301 "id": "vpc-65814701", 1302 "main_route_table_id": "rtb-868f29e2", 1303 "tags.#": "1", 1304 "tags.Name": "onprem" 1305 } 1306 } 1307 } 1308 } 1309 } 1310 ] 1311 }