Skip to content

Instantly share code, notes, and snippets.

@clstokes
Last active November 13, 2015 22:16
Show Gist options
  • Save clstokes/07ad4202a3fa6c627df4 to your computer and use it in GitHub Desktop.
Save clstokes/07ad4202a3fa6c627df4 to your computer and use it in GitHub Desktop.
🐛 Terraform: No ingress rules were found...
clstokes-mbpro:consul-cluster clstokes$ terraform apply aws-nat-consul-cluster/terraform/
atlas_artifact.consul: Refreshing state... (ID: us-east-1:ami-fa522a90,us-west-2:ami-9b4150fa)
atlas_artifact.consul_client: Refreshing state... (ID: us-east-1:ami-0e5f2764,us-west-2:ami-35435254)
template_file.consul_update: Refreshing state... (ID: d82b4576930c7fe3d4a263ba5b15ed833c1cd9e5b984b1c9b92447dff46a2459)
aws_vpc.main: Refreshing state... (ID: vpc-36b13452)
aws_key_pair.main: Refreshing state... (ID: atlas-example)
aws_subnet.subnet_b: Refreshing state... (ID: subnet-dd7077f6)
aws_subnet.subnet_c: Refreshing state... (ID: subnet-803eccf6)
aws_security_group.admin_access: Refreshing state... (ID: sg-4d38a62b)
aws_security_group.consul: Refreshing state... (ID: sg-4c38a62a)
aws_internet_gateway.main: Refreshing state... (ID: igw-ba223fdf)
aws_security_group.default_egress: Refreshing state... (ID: sg-4138a627)
aws_subnet.public: Refreshing state... (ID: subnet-4571651c)
aws_subnet.subnet_a: Refreshing state... (ID: subnet-4471651d)
aws_security_group.consul_client: Refreshing state... (ID: sg-4f38a629)
aws_security_group_rule.admin_ssh: Refreshing state... (ID: sgrule-1642528758)
aws_security_group_rule.consul_serf_wan_tcp_self: Refreshing state... (ID: sgrule-3004880723)
aws_security_group_rule.consul_server_rpc_tcp_self: Refreshing state... (ID: sgrule-1455942852)
aws_security_group_rule.consul_serf_wan_udp_self: Refreshing state... (ID: sgrule-663318570)
aws_security_group_rule.consul_serf_lan_tcp_self: Refreshing state... (ID: sgrule-3381785135)
aws_security_group_rule.consul_serf_lan_udp_self: Refreshing state... (ID: sgrule-1560434006)
aws_security_group_rule.default_egress: Refreshing state... (ID: sgrule-2979458284)
aws_instance.nat: Refreshing state... (ID: i-b9c56e09)
aws_instance.consul_1: Refreshing state... (ID: i-0c72dcb2)
aws_instance.consul_2: Refreshing state... (ID: i-ff396d48)
aws_instance.consul_0: Refreshing state... (ID: i-98c06b28)
aws_route_table.public: Refreshing state... (ID: rtb-ca780fae)
aws_security_group_rule.consul_server_rpc_tcp_consul_client: Refreshing state... (ID: sgrule-2130695811)
aws_security_group_rule.consul_serf_lan_tcp_consul_client: Refreshing state... (ID: sgrule-3786000488)
aws_security_group_rule.consul_client_serf_lan_tcp_consul: Refreshing state... (ID: sgrule-2762365967)
aws_instance.consul_client: Refreshing state... (ID: i-a4c06b14)
aws_security_group_rule.consul_serf_lan_udp_consul_client: Refreshing state... (ID: sgrule-1966763793)
aws_security_group_rule.consul_client_serf_lan_udp_self: Refreshing state... (ID: sgrule-403554609)
aws_security_group_rule.consul_client_serf_lan_udp_consul: Refreshing state... (ID: sgrule-808844150)
aws_security_group_rule.consul_client_serf_lan_tcp_self: Refreshing state... (ID: sgrule-2359191112)
aws_route_table_association.public: Refreshing state... (ID: rtbassoc-f29c9496)
aws_route_table.main: Refreshing state... (ID: rtb-89780fed)
aws_route_table_association.subnet_c: Refreshing state... (ID: rtbassoc-479d9523)
aws_route_table_association.subnet_b: Refreshing state... (ID: rtbassoc-409d9524)
aws_route_table_association.subnet_a: Refreshing state... (ID: rtbassoc-469d9522)
aws_security_group.nat: Creating...
description: "" => "NAT"
egress.#: "" => "<computed>"
ingress.#: "" => "<computed>"
name: "" => "nat"
owner_id: "" => "<computed>"
vpc_id: "" => "vpc-36b13452"
aws_security_group.nat: Creation complete
aws_security_group_rule.nat: Creating...
cidr_blocks.#: "" => "1"
cidr_blocks.0: "" => "172.31.0.0/16"
from_port: "" => "0"
protocol: "" => "tcp"
security_group_id: "" => "sg-f32eb095"
self: "" => "0"
source_security_group_id: "" => "<computed>"
to_port: "" => "65535"
type: "" => "ingress"
aws_instance.nat: Modifying...
vpc_security_group_ids.#: "2" => "3"
vpc_security_group_ids.2791273212: "sg-4138a627" => "sg-4138a627"
vpc_security_group_ids.3434287511: "sg-4d38a62b" => "sg-4d38a62b"
vpc_security_group_ids.920527882: "" => "sg-f32eb095"
aws_instance.nat: Modifications complete
Error applying plan:
1 error(s) occurred:
* aws_security_group_rule.nat: [WARN] No ingress rules were found for Security Group (nat) looking for Security Group Rule (sgrule-3747846238)
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
clstokes-mbpro:consul-cluster clstokes$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment