123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477 |
- {
- "version": 3,
- "terraform_version": "0.7.11",
- "serial": 0,
- "lineage": "8872a594-44c9-4a47-9fbb-0fe7eedba393",
- "modules": [
- {
- "path": [
- "root"
- ],
- "outputs": {
- "NEXT-STEPS": {
- "sensitive": false,
- "type": "string",
- "value": "Enjoy!\n"
- },
- "webserver_dns": {
- "sensitive": false,
- "type": "string",
- "value": "webserver.lab.monkeybox.org"
- },
- "webserver_ip": {
- "sensitive": false,
- "type": "string",
- "value": "52.14.198.57"
- }
- },
- "resources": {
- "aws_instance.webserver": {
- "type": "aws_instance",
- "depends_on": [
- "aws_internet_gateway.gw_primary",
- "aws_security_group.sg_instance_access",
- "aws_subnet.subnet_public_a",
- "data.aws_ami.ubuntu",
- "data.aws_availability_zones.available"
- ],
- "primary": {
- "id": "i-02893fac410d02c03",
- "attributes": {
- "ami": "ami-17745072",
- "associate_public_ip_address": "true",
- "availability_zone": "us-east-2a",
- "disable_api_termination": "false",
- "ebs_block_device.#": "1",
- "ebs_block_device.2634515331.delete_on_termination": "true",
- "ebs_block_device.2634515331.device_name": "/dev/sdd",
- "ebs_block_device.2634515331.encrypted": "false",
- "ebs_block_device.2634515331.iops": "100",
- "ebs_block_device.2634515331.snapshot_id": "",
- "ebs_block_device.2634515331.volume_size": "2",
- "ebs_block_device.2634515331.volume_type": "gp2",
- "ebs_optimized": "false",
- "ephemeral_block_device.#": "0",
- "iam_instance_profile": "",
- "id": "i-02893fac410d02c03",
- "instance_initiated_shutdown_behavior": "terminate",
- "instance_state": "running",
- "instance_type": "t2.micro",
- "key_name": "Fred-IO",
- "monitoring": "false",
- "network_interface_id": "eni-186bc870",
- "private_dns": "ip-10-45-0-247.us-east-2.compute.internal",
- "private_ip": "10.45.0.247",
- "public_dns": "ec2-52-14-198-57.us-east-2.compute.amazonaws.com",
- "public_ip": "52.14.198.57",
- "root_block_device.#": "1",
- "root_block_device.0.delete_on_termination": "true",
- "root_block_device.0.iops": "0",
- "root_block_device.0.volume_size": "20",
- "root_block_device.0.volume_type": "standard",
- "security_groups.#": "0",
- "source_dest_check": "true",
- "subnet_id": "subnet-cd6be5a4",
- "tags.%": "1",
- "tags.Name": "webserver",
- "tenancy": "default",
- "user_data": "93a4fa92ca68fd32558a63738d772c9c424129fe",
- "vpc_security_group_ids.#": "1",
- "vpc_security_group_ids.3524806094": "sg-4dabc124"
- },
- "meta": {
- "schema_version": "1"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": ""
- },
- "aws_internet_gateway.gw_primary": {
- "type": "aws_internet_gateway",
- "depends_on": [
- "aws_vpc.vpc_primary"
- ],
- "primary": {
- "id": "igw-b7a204de",
- "attributes": {
- "id": "igw-b7a204de",
- "tags.%": "1",
- "tags.Name": "Primary Gateway",
- "vpc_id": "vpc-9b3089f2"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": ""
- },
- "aws_network_acl.acl_public": {
- "type": "aws_network_acl",
- "depends_on": [
- "aws_subnet.subnet_public_a",
- "aws_vpc.vpc_primary"
- ],
- "primary": {
- "id": "acl-4532b52c",
- "attributes": {
- "egress.#": "1",
- "egress.57423372.action": "allow",
- "egress.57423372.cidr_block": "0.0.0.0/0",
- "egress.57423372.from_port": "0",
- "egress.57423372.icmp_code": "0",
- "egress.57423372.icmp_type": "0",
- "egress.57423372.protocol": "-1",
- "egress.57423372.rule_no": "10",
- "egress.57423372.to_port": "0",
- "id": "acl-4532b52c",
- "ingress.#": "1",
- "ingress.57423372.action": "allow",
- "ingress.57423372.cidr_block": "0.0.0.0/0",
- "ingress.57423372.from_port": "0",
- "ingress.57423372.icmp_code": "0",
- "ingress.57423372.icmp_type": "0",
- "ingress.57423372.protocol": "-1",
- "ingress.57423372.rule_no": "10",
- "ingress.57423372.to_port": "0",
- "subnet_ids.#": "1",
- "subnet_ids.3475719519": "subnet-cd6be5a4",
- "tags.%": "1",
- "tags.Name": "Public Subnets",
- "vpc_id": "vpc-9b3089f2"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": ""
- },
- "aws_route53_record.webserver": {
- "type": "aws_route53_record",
- "depends_on": [
- "aws_instance.webserver"
- ],
- "primary": {
- "id": "Z49JKEQC08KW8_webserver.lab.monkeybox.org_A",
- "attributes": {
- "fqdn": "webserver.lab.monkeybox.org",
- "health_check_id": "",
- "id": "Z49JKEQC08KW8_webserver.lab.monkeybox.org_A",
- "name": "webserver.lab.monkeybox.org",
- "records.#": "1",
- "records.257253360": "52.14.198.57",
- "set_identifier": "",
- "ttl": "300",
- "type": "A",
- "zone_id": "Z49JKEQC08KW8"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": ""
- },
- "aws_route53_record.webserver_pvt": {
- "type": "aws_route53_record",
- "depends_on": [
- "aws_instance.webserver"
- ],
- "primary": {
- "id": "Z49JKEQC08KW8_webserver_pvt.lab.monkeybox.org_A",
- "attributes": {
- "fqdn": "webserver_pvt.lab.monkeybox.org",
- "health_check_id": "",
- "id": "Z49JKEQC08KW8_webserver_pvt.lab.monkeybox.org_A",
- "name": "webserver_pvt.lab.monkeybox.org",
- "records.#": "1",
- "records.2741848704": "10.45.0.247",
- "set_identifier": "",
- "ttl": "300",
- "type": "A",
- "zone_id": "Z49JKEQC08KW8"
- },
- "meta": {
- "schema_version": "2"
- },
- "tainted": false
- },
- "deposed": [],
- "provider": ""
- },
- "aws_route_table.r": {
- "type": "aws_route_table",
- "depends_on": [
- "aws_internet_gateway.gw_primary",
- "aws_vpc.vpc_primary"
- ],
- "primary": {
- "id": "rtb-61159508",
- "attributes": {
- "id": "rtb-61159508",
- "propagating_vgws.#": "0",
- "route.#": "1",
- "route.4239502296.cidr_block": "0.0.0.0/0",
- "route.4239502296.gateway_id": "igw-b7a204de",
- "route.4239502296.instance_id": "",
- "route.4239502296.nat_gateway_id": "",
- "route.4239502296.network_interface_id": "",
- "route.4239502296.vpc_peering_connection_id": "",
- "tags.%": "1",
- "tags.Name": "Primary Route Table",
- "vpc_id": "vpc-9b3089f2"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": ""
- },
- "aws_route_table_association.rt_public_a": {
- "type": "aws_route_table_association",
- "depends_on": [
- "aws_route_table.r",
- "aws_subnet.subnet_public_a"
- ],
- "primary": {
- "id": "rtbassoc-de1c7cb7",
- "attributes": {
- "id": "rtbassoc-de1c7cb7",
- "route_table_id": "rtb-61159508",
- "subnet_id": "subnet-cd6be5a4"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": ""
- },
- "aws_security_group.sg_instance_access": {
- "type": "aws_security_group",
- "depends_on": [
- "aws_vpc.vpc_primary"
- ],
- "primary": {
- "id": "sg-4dabc124",
- "attributes": {
- "description": "Allows ssh/http/https in from me. Allows outbound on select ports.",
- "egress.#": "6",
- "egress.1046858579.cidr_blocks.#": "1",
- "egress.1046858579.cidr_blocks.0": "0.0.0.0/0",
- "egress.1046858579.from_port": "20",
- "egress.1046858579.prefix_list_ids.#": "0",
- "egress.1046858579.protocol": "tcp",
- "egress.1046858579.security_groups.#": "0",
- "egress.1046858579.self": "false",
- "egress.1046858579.to_port": "21",
- "egress.2214680975.cidr_blocks.#": "1",
- "egress.2214680975.cidr_blocks.0": "0.0.0.0/0",
- "egress.2214680975.from_port": "80",
- "egress.2214680975.prefix_list_ids.#": "0",
- "egress.2214680975.protocol": "tcp",
- "egress.2214680975.security_groups.#": "0",
- "egress.2214680975.self": "false",
- "egress.2214680975.to_port": "80",
- "egress.2342672136.cidr_blocks.#": "1",
- "egress.2342672136.cidr_blocks.0": "0.0.0.0/0",
- "egress.2342672136.from_port": "53",
- "egress.2342672136.prefix_list_ids.#": "0",
- "egress.2342672136.protocol": "tcp",
- "egress.2342672136.security_groups.#": "0",
- "egress.2342672136.self": "false",
- "egress.2342672136.to_port": "53",
- "egress.2541437006.cidr_blocks.#": "1",
- "egress.2541437006.cidr_blocks.0": "0.0.0.0/0",
- "egress.2541437006.from_port": "22",
- "egress.2541437006.prefix_list_ids.#": "0",
- "egress.2541437006.protocol": "tcp",
- "egress.2541437006.security_groups.#": "0",
- "egress.2541437006.self": "false",
- "egress.2541437006.to_port": "22",
- "egress.2617001939.cidr_blocks.#": "1",
- "egress.2617001939.cidr_blocks.0": "0.0.0.0/0",
- "egress.2617001939.from_port": "443",
- "egress.2617001939.prefix_list_ids.#": "0",
- "egress.2617001939.protocol": "tcp",
- "egress.2617001939.security_groups.#": "0",
- "egress.2617001939.self": "false",
- "egress.2617001939.to_port": "443",
- "egress.2767972101.cidr_blocks.#": "1",
- "egress.2767972101.cidr_blocks.0": "0.0.0.0/0",
- "egress.2767972101.from_port": "53",
- "egress.2767972101.prefix_list_ids.#": "0",
- "egress.2767972101.protocol": "udp",
- "egress.2767972101.security_groups.#": "0",
- "egress.2767972101.self": "false",
- "egress.2767972101.to_port": "53",
- "id": "sg-4dabc124",
- "ingress.#": "3",
- "ingress.1232989320.cidr_blocks.#": "2",
- "ingress.1232989320.cidr_blocks.0": "98.243.254.99/32",
- "ingress.1232989320.cidr_blocks.1": "107.135.34.113/32",
- "ingress.1232989320.from_port": "443",
- "ingress.1232989320.protocol": "tcp",
- "ingress.1232989320.security_groups.#": "0",
- "ingress.1232989320.self": "false",
- "ingress.1232989320.to_port": "443",
- "ingress.1739234222.cidr_blocks.#": "2",
- "ingress.1739234222.cidr_blocks.0": "98.243.254.99/32",
- "ingress.1739234222.cidr_blocks.1": "107.135.34.113/32",
- "ingress.1739234222.from_port": "22",
- "ingress.1739234222.protocol": "tcp",
- "ingress.1739234222.security_groups.#": "0",
- "ingress.1739234222.self": "false",
- "ingress.1739234222.to_port": "22",
- "ingress.2207802212.cidr_blocks.#": "2",
- "ingress.2207802212.cidr_blocks.0": "98.243.254.99/32",
- "ingress.2207802212.cidr_blocks.1": "107.135.34.113/32",
- "ingress.2207802212.from_port": "80",
- "ingress.2207802212.protocol": "tcp",
- "ingress.2207802212.security_groups.#": "0",
- "ingress.2207802212.self": "false",
- "ingress.2207802212.to_port": "80",
- "name": "sg_instance_access",
- "owner_id": "082012130604",
- "tags.%": "0",
- "vpc_id": "vpc-9b3089f2"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": ""
- },
- "aws_subnet.subnet_public_a": {
- "type": "aws_subnet",
- "depends_on": [
- "aws_vpc.vpc_primary",
- "data.aws_availability_zones.available"
- ],
- "primary": {
- "id": "subnet-cd6be5a4",
- "attributes": {
- "availability_zone": "us-east-2a",
- "cidr_block": "10.45.0.0/24",
- "id": "subnet-cd6be5a4",
- "map_public_ip_on_launch": "true",
- "tags.%": "1",
- "tags.Name": "Public Subnet A",
- "vpc_id": "vpc-9b3089f2"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": ""
- },
- "aws_vpc.vpc_primary": {
- "type": "aws_vpc",
- "depends_on": [],
- "primary": {
- "id": "vpc-9b3089f2",
- "attributes": {
- "cidr_block": "10.45.0.0/16",
- "default_network_acl_id": "acl-9132b5f8",
- "default_route_table_id": "rtb-811696e8",
- "default_security_group_id": "sg-91513bf8",
- "dhcp_options_id": "dopt-50af4539",
- "enable_dns_hostnames": "true",
- "enable_dns_support": "true",
- "id": "vpc-9b3089f2",
- "instance_tenancy": "default",
- "main_route_table_id": "rtb-811696e8",
- "tags.%": "1",
- "tags.Name": "Primary VPC"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": ""
- },
- "data.aws_ami.ubuntu": {
- "type": "aws_ami",
- "depends_on": [],
- "primary": {
- "id": "ami-17745072",
- "attributes": {
- "architecture": "x86_64",
- "block_device_mappings.#": "3",
- "block_device_mappings.1634610537.device_name": "/dev/sdb",
- "block_device_mappings.1634610537.ebs.%": "0",
- "block_device_mappings.1634610537.no_device": "",
- "block_device_mappings.1634610537.virtual_name": "ephemeral0",
- "block_device_mappings.2547816212.device_name": "/dev/sda1",
- "block_device_mappings.2547816212.ebs.%": "6",
- "block_device_mappings.2547816212.ebs.delete_on_termination": "true",
- "block_device_mappings.2547816212.ebs.encrypted": "false",
- "block_device_mappings.2547816212.ebs.iops": "0",
- "block_device_mappings.2547816212.ebs.snapshot_id": "snap-cb4f9d3a",
- "block_device_mappings.2547816212.ebs.volume_size": "8",
- "block_device_mappings.2547816212.ebs.volume_type": "gp2",
- "block_device_mappings.2547816212.no_device": "",
- "block_device_mappings.2547816212.virtual_name": "",
- "block_device_mappings.3850042718.device_name": "/dev/sdc",
- "block_device_mappings.3850042718.ebs.%": "0",
- "block_device_mappings.3850042718.no_device": "",
- "block_device_mappings.3850042718.virtual_name": "ephemeral1",
- "creation_date": "2017-03-09T08:54:19.000Z",
- "filter.#": "2",
- "filter.1585153008.name": "name",
- "filter.1585153008.values.#": "1",
- "filter.1585153008.values.0": "ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-*",
- "filter.490168357.name": "virtualization-type",
- "filter.490168357.values.#": "1",
- "filter.490168357.values.0": "hvm",
- "hypervisor": "xen",
- "id": "ami-17745072",
- "image_id": "ami-17745072",
- "image_location": "099720109477/ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20170224",
- "image_type": "machine",
- "most_recent": "true",
- "name": "ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-20170224",
- "owner_id": "099720109477",
- "owners.#": "1",
- "owners.0": "099720109477",
- "product_codes.#": "0",
- "public": "true",
- "root_device_name": "/dev/sda1",
- "root_device_type": "ebs",
- "sriov_net_support": "simple",
- "state": "available",
- "state_reason.%": "2",
- "state_reason.code": "UNSET",
- "state_reason.message": "UNSET",
- "tags.#": "0",
- "virtualization_type": "hvm"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": ""
- },
- "data.aws_availability_zones.available": {
- "type": "aws_availability_zones",
- "depends_on": [],
- "primary": {
- "id": "2017-03-27 17:28:32.670455577 +0000 UTC",
- "attributes": {
- "id": "2017-03-27 17:28:32.670455577 +0000 UTC",
- "names.#": "3",
- "names.0": "us-east-2a",
- "names.1": "us-east-2b",
- "names.2": "us-east-2c"
- },
- "meta": {},
- "tainted": false
- },
- "deposed": [],
- "provider": ""
- }
- },
- "depends_on": []
- }
- ]
- }
|