1
1
mirror of https://github.com/adammck/terraform-inventory synced 2024-11-26 11:53:48 +01:00
terraform-inventory/fixtures/example.tfstate

150 lines
6.9 KiB
Plaintext
Raw Normal View History

{
"version": 1,
2015-12-15 06:01:09 +01:00
"serial": 17,
"modules": [
{
"path": [
"root"
],
"outputs": {},
"resources": {
2015-12-15 06:01:09 +01:00
"aws_instance.alpha.0": {
"type": "aws_instance",
"primary": {
2015-12-15 06:01:09 +01:00
"id": "i-92f79124",
"attributes": {
2015-06-05 03:48:53 +02:00
"ami": "ami-96a818fe",
2015-06-05 06:03:42 +02:00
"associate_public_ip_address": "true",
2015-06-05 03:48:53 +02:00
"availability_zone": "us-east-1d",
"ebs_block_device.#": "0",
"ebs_optimized": "false",
"ephemeral_block_device.#": "0",
"iam_instance_profile": "",
2015-12-15 06:01:09 +01:00
"id": "i-92f79124",
"instance_type": "t2.micro",
2015-06-05 06:03:42 +02:00
"key_name": "terraform-inventory",
"monitoring": "false",
2015-12-15 06:01:09 +01:00
"private_dns": "ip-10-0-0-4.ec2.internal",
"private_ip": "10.0.0.4",
"public_dns": "",
2015-12-15 06:01:09 +01:00
"public_ip": "52.90.134.71",
2015-06-05 03:48:53 +02:00
"root_block_device.#": "1",
"root_block_device.0.delete_on_termination": "true",
"root_block_device.0.iops": "0",
"root_block_device.0.volume_size": "8",
"root_block_device.0.volume_type": "standard",
"security_groups.#": "0",
"source_dest_check": "true",
"subnet_id": "subnet-59f9b32e",
"tags.#": "1",
2015-12-15 06:01:09 +01:00
"tags.Role": "Web",
"tenancy": "default",
"vpc_security_group_ids.#": "1",
"vpc_security_group_ids.2076429742": "sg-b42329d0"
},
"meta": {
"schema_version": "1"
}
}
},
2015-12-15 06:01:09 +01:00
"aws_instance.alpha.1": {
"type": "aws_instance",
"primary": {
2015-12-15 06:01:09 +01:00
"id": "i-23f69095",
"attributes": {
"ami": "ami-96a818fe",
"associate_public_ip_address": "true",
"availability_zone": "us-east-1d",
"ebs_block_device.#": "0",
"ebs_optimized": "false",
"ephemeral_block_device.#": "0",
"iam_instance_profile": "",
2015-12-15 06:01:09 +01:00
"id": "i-23f69095",
"instance_type": "t2.micro",
"key_name": "terraform-inventory",
"monitoring": "false",
2015-12-15 06:01:09 +01:00
"private_dns": "ip-10-0-0-9.ec2.internal",
"private_ip": "10.0.0.9",
"public_dns": "",
2015-12-15 06:01:09 +01:00
"public_ip": "52.90.154.150",
"root_block_device.#": "1",
"root_block_device.0.delete_on_termination": "true",
"root_block_device.0.iops": "0",
"root_block_device.0.volume_size": "8",
"root_block_device.0.volume_type": "standard",
"security_groups.#": "0",
"source_dest_check": "true",
"subnet_id": "subnet-59f9b32e",
"tags.#": "1",
2015-12-15 06:01:09 +01:00
"tags.Role": "Web",
"tenancy": "default",
"vpc_security_group_ids.#": "1",
"vpc_security_group_ids.2076429742": "sg-b42329d0"
},
"meta": {
"schema_version": "1"
}
}
},
2015-12-15 06:01:09 +01:00
"aws_instance.beta": {
"type": "aws_instance",
"primary": {
2015-12-15 06:01:09 +01:00
"id": "i-c2f79174",
"attributes": {
"ami": "ami-96a818fe",
"associate_public_ip_address": "true",
"availability_zone": "us-east-1d",
"ebs_block_device.#": "0",
"ebs_optimized": "false",
"ephemeral_block_device.#": "0",
"iam_instance_profile": "",
2015-12-15 06:01:09 +01:00
"id": "i-c2f79174",
"instance_type": "t2.micro",
"key_name": "terraform-inventory",
"monitoring": "false",
2015-12-15 06:01:09 +01:00
"private_dns": "ip-10-0-0-8.ec2.internal",
"private_ip": "10.0.0.8",
"public_dns": "",
2015-12-15 06:01:09 +01:00
"public_ip": "52.23.224.202",
"root_block_device.#": "1",
"root_block_device.0.delete_on_termination": "true",
"root_block_device.0.iops": "0",
"root_block_device.0.volume_size": "8",
"root_block_device.0.volume_type": "standard",
"security_groups.#": "0",
"source_dest_check": "true",
2015-06-05 03:48:53 +02:00
"subnet_id": "subnet-59f9b32e",
"tags.#": "1",
"tags.Role": "Worker",
2015-06-05 03:48:53 +02:00
"tenancy": "default",
"vpc_security_group_ids.#": "1",
"vpc_security_group_ids.2076429742": "sg-b42329d0"
},
"meta": {
"schema_version": "1"
}
}
},
2015-12-15 06:01:09 +01:00
"digitalocean_droplet.gamma": {
2015-06-05 03:48:53 +02:00
"type": "digitalocean_droplet",
"primary": {
2015-12-15 06:01:09 +01:00
"id": "9411223",
"attributes": {
2015-12-15 06:01:09 +01:00
"id": "9411223",
2015-06-05 03:48:53 +02:00
"image": "centos-7-0-x64",
2015-12-15 06:01:09 +01:00
"ipv4_address": "198.211.99.194",
2015-06-05 03:48:53 +02:00
"locked": "false",
"name": "terraform-inventory-1",
"region": "nyc1",
"size": "512mb",
"ssh_keys.#": "1",
2015-06-05 06:03:42 +02:00
"ssh_keys.0": "862272",
2015-06-05 03:48:53 +02:00
"status": "active"
}
}
}
}
}
]
}