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

Update example tfstate with count=n resource

This commit is contained in:
Adam Mckaig 2015-12-09 23:50:38 -05:00
parent 5178d30ae2
commit 196c9a6a4b
2 changed files with 41 additions and 1 deletions

@ -29,6 +29,7 @@ resource "aws_instance" "web-aws" {
subnet_id = "${var.aws_subnet_id}"
associate_public_ip_address = true
key_name = "terraform-inventory"
count = 2
root_block_device = {
delete_on_termination = true
}

@ -8,7 +8,7 @@
],
"outputs": {},
"resources": {
"aws_instance.web-aws": {
"aws_instance.web-aws.0": {
"type": "aws_instance",
"primary": {
"id": "i-e8f3a238",
@ -32,6 +32,45 @@
"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.#": "0",
"tenancy": "default",
"vpc_security_group_ids.#": "1",
"vpc_security_group_ids.2076429742": "sg-b42329d0"
},
"meta": {
"schema_version": "1"
}
}
},
"aws_instance.web-aws.1": {
"type": "aws_instance",
"primary": {
"id": "i-f747c141",
"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": "",
"id": "i-f747c141",
"instance_type": "t2.micro",
"key_name": "terraform-inventory",
"monitoring": "false",
"private_dns": "ip-10-0-0-10.ec2.internal",
"private_ip": "10.0.0.10",
"public_dns": "",
"public_ip": "52.91.51.56",
"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.#": "0",
"tenancy": "default",