Slide 54
Slide 54 text
TERRAFORM.TFSTATE
{
"version": 3,
"terraform_version": "0.10.4",
"serial": 2,
"lineage": "348d2909-5e43-4421-bd65-4f7ab6b11632",
"modules": [
{
"path": [
"root"
],
"outputs": {},
"resources": {
"aws_instance.web": {
"type": "aws_instance",
"depends_on": [],
"primary": {
"id": "i-0fc83946a097d8e27",
"attributes": {
"ami": "ami-70728c08",
"associate_public_ip_address": "true",
"availability_zone": "us-west-2a",
"disable_api_termination": "false",
"ebs_block_device.#": "0",
"ebs_optimized": "false",
"ephemeral_block_device.#": "0",
"iam_instance_profile": "",
"id": "i-0fc83946a097d8e27",
"instance_state": "running",
"instance_type": "t2.small",
"ipv6_addresses.#": "0",
"key_name": "",
"monitoring": "false",
"network_interface.#": "0",
"network_interface_id": "eni-de1229f0",
"primary_network_interface_id": "eni-de1229f0",
"private_dns": "ip-172-31-21-4.us-west-2.compute.internal",
"private_ip": "172.31.21.4",
"public_dns": "ec2-34-215-64-201.us-west-2.compute.amazonaws.com",
"public_ip": "34.215.64.201",
"root_block_device.#": "1",
"root_block_device.0.delete_on_termination": "true",
"root_block_device.0.iops": "100",
"root_block_device.0.volume_size": "8",
"root_block_device.0.volume_type": "gp2",
"security_groups.#": "1",
"security_groups.3814588639": "default",
"source_dest_check": "true",
"subnet_id": "subnet-3e5ef758",
"tags.%": "1",
"tags.Name": "HelloWorld",
"tenancy": "default",
"volume_tags.%": "0",
"vpc_security_group_ids.#": "0"
},
"meta": {
"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0": {
"create": 600000000000,
"delete": 600000000000,
"update": 600000000000
},
"schema_version": "1"
},
"tainted": false
},
"deposed": [],
"provider": ""
}
},
"depends_on": []
}
]
}
"aws_instance.web": {
"type": "aws_instance",
"depends_on": [],
"primary": {
"id": "i-0fc83946a097d8e27",
"attributes": {
"ami": "ami-70728c08",
"associate_public_ip_address": "true",
"availability_zone": "us-west-2a",
"disable_api_termination": "false",
"ebs_block_device.#": "0",
"ebs_optimized": "false",
"ephemeral_block_device.#": "0",
"iam_instance_profile": "",
"id": "i-0fc83946a097d8e27",