Skip to content

Instantly share code, notes, and snippets.

@glasser
Created May 17, 2016 22:58
Show Gist options
  • Save glasser/dcc06507e603d40b9a29d453b93b5ee5 to your computer and use it in GitHub Desktop.
Save glasser/dcc06507e603d40b9a29d453b93b5ee5 to your computer and use it in GitHub Desktop.
{
"version": 2,
"terraform_version": "0.7.0",
"serial": 0,
"modules": [
{
"path": [
"root"
],
"outputs": {},
"resources": {
"aws_security_group.a": {
"type": "aws_security_group",
"depends_on": [
"aws_vpc.main"
],
"primary": {
"id": "sg-9ccb19e7",
"attributes": {
"description": "Managed by Terraform",
"egress.#": "0",
"id": "sg-9ccb19e7",
"ingress.#": "0",
"name": "glasser-test-tfbug-a-tcdsfrezwremjcmd7sv4xyrap4",
"name_prefix": "glasser-test-tfbug-a-",
"owner_id": "753487546527",
"tags.#": "0",
"vpc_id": "vpc-e85e9d8f"
}
}
},
"aws_security_group.b": {
"type": "aws_security_group",
"depends_on": [
"aws_vpc.main"
],
"primary": {
"id": "sg-9dcb19e6",
"attributes": {
"description": "Managed by Terraform",
"egress.#": "0",
"id": "sg-9dcb19e6",
"ingress.#": "0",
"name": "glasser-test-tfbug-b-ohvrkoqftndgxcqg7grzqjlcla",
"name_prefix": "glasser-test-tfbug-b-",
"owner_id": "753487546527",
"tags.#": "0",
"vpc_id": "vpc-e85e9d8f"
}
}
},
"aws_security_group_rule.a_allow_a": {
"type": "aws_security_group_rule",
"depends_on": [
"aws_security_group.a"
],
"primary": {
"id": "sgrule-3260499557",
"attributes": {
"from_port": "0",
"id": "sgrule-3260499557",
"protocol": "-1",
"security_group_id": "sg-9ccb19e7",
"self": "false",
"source_security_group_id": "sg-9ccb19e7",
"to_port": "0",
"type": "ingress"
},
"meta": {
"schema_version": "2"
}
}
},
"aws_security_group_rule.a_allow_b": {
"type": "aws_security_group_rule",
"depends_on": [
"aws_security_group.a",
"aws_security_group.b"
],
"primary": {
"id": "sgrule-2817802651",
"attributes": {
"from_port": "0",
"id": "sgrule-2817802651",
"protocol": "-1",
"security_group_id": "sg-9ccb19e7",
"self": "false",
"source_security_group_id": "sg-9dcb19e6",
"to_port": "0",
"type": "ingress"
},
"meta": {
"schema_version": "2"
}
}
},
"aws_vpc.main": {
"type": "aws_vpc",
"primary": {
"id": "vpc-e85e9d8f",
"attributes": {
"cidr_block": "10.0.0.0/16",
"default_network_acl_id": "acl-d33a95b4",
"default_security_group_id": "sg-a7cb19dc",
"dhcp_options_id": "dopt-abc529ce",
"enable_classiclink": "false",
"enable_dns_hostnames": "true",
"enable_dns_support": "true",
"id": "vpc-e85e9d8f",
"instance_tenancy": "default",
"main_route_table_id": "rtb-dbca89bc",
"tags.#": "1",
"tags.Name": "glasser-test-tfbug"
}
}
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment