Skip to content

Instantly share code, notes, and snippets.

@scalp42
Created February 23, 2016 19:12
Show Gist options
  • Save scalp42/3b3bb51f4e37fbaf2434 to your computer and use it in GitHub Desktop.
Save scalp42/3b3bb51f4e37fbaf2434 to your computer and use it in GitHub Desktop.
scalp@mbp42:~/terraform/configs
> git diff | tee
diff --git a/configs/gz-infra_noop.tf b/configs/gz-infra_noop.tf
index 9a58241..46506a8 100644
--- a/configs/gz-infra_noop.tf
+++ b/configs/gz-infra_noop.tf
@@ -41,7 +41,7 @@ resource "aws_autoscaling_group" "gz-infra-noop" {
name = "${aws_launch_configuration.gz-infra-noop.name}"
max_size = 10
min_size = 0
- desired_capacity = 0
+ desired_capacity = 2
health_check_grace_period = 300
health_check_type = "EC2"
force_delete = true
scalp@mbp42:~/terraform/configs (*)
> terraform plan -out terraform
Refreshing Terraform state prior to plan...
template_file.userdata_packer: Refreshing state... (ID: redacted)
aws_s3_bucket.gz-elastic: Refreshing state... (ID: redacted)
aws_iam_user.gz-cassandra-dev: Refreshing state... (ID: redacted)
aws_iam_user.gz-secor-prod: Refreshing state... (ID: redacted)
aws_iam_user.chef_route53_gearzero_us_prod: Refreshing state... (ID: redacted)
aws_iam_user.chef_route53_gearzero_us_vagrant: Refreshing state... (ID: redacted)
aws_iam_user.chef_sdb_vagrant: Refreshing state... (ID: redacted)
aws_iam_user.gz-secor-vagrant: Refreshing state... (ID: redacted)
aws_iam_policy.chef_apt: Refreshing state... (ID: redacted)
aws_eip.gz-infra-consul: Refreshing state... (ID: redacted)
aws_vpc.prod: Refreshing state... (ID: redacted)
aws_iam_policy.chef_elasticsearch: Refreshing state... (ID: redacted)
aws_iam_user.gz-cassandra-prod: Refreshing state... (ID: redacted)
aws_iam_user.chef_route53_gearzero_us_infra: Refreshing state... (ID: redacted)
aws_iam_user.chef_elasticsearch_dev: Refreshing state... (ID: redacted)
aws_iam_user.chef_route53_gearzero_us_dev: Refreshing state... (ID: redacted)
aws_iam_user.gz-zookeeper-exhibitor-prod: Refreshing state... (ID: redacted)
aws_iam_user.chef_elasticsearch_infra: Refreshing state... (ID: redacted)
aws_eip.gz-infra-sensu: Refreshing state... (ID: redacted)
aws_vpc.dev: Refreshing state... (ID: redacted)
aws_eip.gz-infra-jumphost: Refreshing state... (ID: redacted)
aws_iam_user.chef_elasticsearch_prod: Refreshing state... (ID: redacted)
aws_iam_user.chef_apt_vagrant: Refreshing state... (ID: redacted)
aws_iam_user.gz-zookeeper-exhibitor-vagrant: Refreshing state... (ID: redacted)
aws_iam_user.gz-zookeeper-exhibitor-dev: Refreshing state... (ID: redacted)
aws_s3_bucket.gz-zookeeper-exhibitor: Refreshing state... (ID: redacted)
aws_eip.gz-infra-bot: Refreshing state... (ID: redacted)
aws_iam_policy.chef_sdb: Refreshing state... (ID: redacted)
aws_vpc.infra: Refreshing state... (ID: redacted)
aws_iam_user.chef_elasticsearch_vagrant: Refreshing state... (ID: redacted)
aws_iam_user.gz-cassandra-vagrant: Refreshing state... (ID: redacted)
aws_iam_policy.chef_route53_gearzero_us: Refreshing state... (ID: redacted)
aws_iam_user.gz-secor-dev: Refreshing state... (ID: redacted)
aws_iam_access_key.gz-secor-vagrant: Refreshing state... (ID: redacted)
aws_iam_access_key.chef_route53_gearzero_us_prod: Refreshing state... (ID: redacted)
aws_iam_user_policy.Secor_Chef_vagrant: Refreshing state... (ID: redacted)
aws_iam_access_key.gz-cassandra-dev: Refreshing state... (ID: redacted)
aws_iam_user_policy.cassandra_Chef_dev: Refreshing state... (ID: redacted)
aws_iam_access_key.chef_route53_gearzero_us_vagrant: Refreshing state... (ID: redacted)
aws_iam_access_key.chef_sdb_vagrant: Refreshing state... (ID: redacted)
aws_iam_access_key.gz-secor-prod: Refreshing state... (ID: redacted)
aws_iam_user_policy.Secor_Chef_prod: Refreshing state... (ID: redacted)
aws_iam_user_policy.ZooKeeper_Exhibitor_Chef_prod: Refreshing state... (ID: redacted)
aws_iam_access_key.chef_route53_gearzero_us_infra: Refreshing state... (ID: redacted)
aws_iam_access_key.gz-zookeeper-exhibitor-prod: Refreshing state... (ID: redacted)
aws_iam_user_policy.cassandra_Chef_prod: Refreshing state... (ID: redacted)
aws_iam_user_policy.chef_elasticsearch_S3_infra: Refreshing state... (ID: redacted)
aws_iam_access_key.chef_elasticsearch_infra: Refreshing state... (ID: redacted)
aws_iam_access_key.gz-cassandra-prod: Refreshing state... (ID: redacted)
aws_iam_access_key.chef_route53_gearzero_us_dev: Refreshing state... (ID: redacted)
aws_iam_access_key.chef_elasticsearch_dev: Refreshing state... (ID: redacted)
aws_iam_user_policy.chef_elasticsearch_S3_dev: Refreshing state... (ID: redacted)
aws_route53_record.gz-infra-jumphost_private: Refreshing state... (ID: redacted)
aws_iam_user_policy.chef_elasticsearch_S3_prod: Refreshing state... (ID: redacted)
aws_iam_user_policy.ZooKeeper_Exhibitor_Chef_dev: Refreshing state... (ID: redacted)
aws_iam_access_key.gz-zookeeper-exhibitor-dev: Refreshing state... (ID: redacted)
aws_iam_access_key.chef_elasticsearch_prod: Refreshing state... (ID: redacted)
aws_iam_access_key.chef_apt_vagrant: Refreshing state... (ID: redacted)
aws_iam_access_key.gz-zookeeper-exhibitor-vagrant: Refreshing state... (ID: redacted)
aws_iam_user_policy.ZooKeeper_Exhibitor_Chef_vagrant: Refreshing state... (ID: redacted)
aws_iam_policy_attachment.chef_sdb: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-elasticache-redis-main: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-mesos-master: Refreshing state... (ID: redacted)
aws_route53_zone_association.vpc_prod: Refreshing state... (ID: redacted)
aws_security_group.prod-jumphost-clients: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-cassandra-main: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-sendgrid: Refreshing state... (ID: redacted)
aws_security_group.prod-chef-clients: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-rabbitmq: Refreshing state... (ID: redacted)
aws_security_group.prod-office-ips: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-loadbalancer-elb: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-cassandra-auth: Refreshing state... (ID: redacted)
aws_internet_gateway.prod-igw: Refreshing state... (ID: redacted)
aws_security_group.prod-all-traffic: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-mesos-slave: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-zookeeper: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-secor: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-kafka: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-elastic-main: Refreshing state... (ID: redacted)
aws_security_group.prod-consul-clients: Refreshing state... (ID: redacted)
aws_security_group.prod-home-ips: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-rds-aurora: Refreshing state... (ID: redacted)
aws_iam_user_policy.chef_elasticsearch_S3_vagrant: Refreshing state... (ID: redacted)
aws_iam_user_policy.cassandra_Chef_vagrant: Refreshing state... (ID: redacted)
aws_iam_policy_attachment.chef_elasticsearch: Refreshing state... (ID: redacted)
aws_subnet.prod-private.1: Refreshing state... (ID: redacted)
aws_iam_access_key.gz-cassandra-vagrant: Refreshing state... (ID: redacted)
aws_iam_access_key.chef_elasticsearch_vagrant: Refreshing state... (ID: redacted)
aws_iam_user_policy.Secor_Chef_dev: Refreshing state... (ID: redacted)
aws_subnet.prod-private.0: Refreshing state... (ID: redacted)
aws_security_group.prod-nat-clients: Refreshing state... (ID: redacted)
aws_iam_access_key.gz-secor-dev: Refreshing state... (ID: redacted)
aws_subnet.prod-private.2: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-cassandra-main-analytics: Refreshing state... (ID: redacted)
aws_security_group.gz-prod: Refreshing state... (ID: redacted)
aws_vpc_peering_connection.prod-dev: Refreshing state... (ID: redacted)
aws_security_group.gz-dev3-data: Refreshing state... (ID: redacted)
aws_security_group.gz-dev-mesos-master: Refreshing state... (ID: redacted)
aws_security_group.dev-office-ips: Refreshing state... (ID: redacted)
aws_security_group.gz-dev2-app: Refreshing state... (ID: redacted)
aws_route53_zone_association.vpc_dev: Refreshing state... (ID: redacted)
aws_security_group.gz-dev-zookeeper: Refreshing state... (ID: redacted)
aws_security_group.gz-dev5-app: Refreshing state... (ID: redacted)
aws_security_group.dev-vagrant: Refreshing state... (ID: redacted)
aws_security_group.gz-dev1-app: Refreshing state... (ID: redacted)
aws_security_group.gz-dev4-app: Refreshing state... (ID: redacted)
aws_security_group.gz-dev2-data: Refreshing state... (ID: redacted)
aws_security_group.gz-dev5-data: Refreshing state... (ID: redacted)
aws_security_group.gz-dev-loadbalancer-elb: Refreshing state... (ID: redacted)
aws_security_group.gz-dev-mesos-slave: Refreshing state... (ID: redacted)
aws_subnet.dev-private.1: Refreshing state... (ID: redacted)
aws_security_group.gz-dev3-app: Refreshing state... (ID: redacted)
aws_security_group.dev-consul-clients: Refreshing state... (ID: redacted)
aws_security_group.dev-nat-clients: Refreshing state... (ID: redacted)
aws_security_group.dev-chef-clients: Refreshing state... (ID: redacted)
aws_security_group.dev-jumphost-clients: Refreshing state... (ID: redacted)
aws_security_group.gz-dev1-data: Refreshing state... (ID: redacted)
aws_security_group.gz-dev: Refreshing state... (ID: redacted)
aws_subnet.dev-private.2: Refreshing state... (ID: redacted)
aws_security_group.dev-all-traffic: Refreshing state... (ID: redacted)
aws_internet_gateway.dev-igw: Refreshing state... (ID: redacted)
aws_subnet.infra-private.1: Refreshing state... (ID: redacted)
aws_subnet.infra-private.0: Refreshing state... (ID: redacted)
aws_security_group.dev-home-ips: Refreshing state... (ID: redacted)
aws_security_group.infra-all-traffic: Refreshing state... (ID: redacted)
aws_subnet.infra-private.2: Refreshing state... (ID: redacted)
aws_security_group.gz-dev4-data: Refreshing state... (ID: redacted)
aws_security_group.infra-jumphost-clients: Refreshing state... (ID: redacted)
aws_subnet.dev-private.0: Refreshing state... (ID: redacted)
aws_vpc_peering_connection.infra-prod: Refreshing state... (ID: redacted)
aws_security_group.infra-nat-clients: Refreshing state... (ID: redacted)
aws_internet_gateway.infra-igw: Refreshing state... (ID: redacted)
aws_security_group.infra-office-ips: Refreshing state... (ID: redacted)
aws_security_group.gz-infra-bot: Refreshing state... (ID: redacted)
aws_security_group.infra-home-ips: Refreshing state... (ID: redacted)
aws_security_group.infra-vagrant: Refreshing state... (ID: redacted)
aws_security_group.gz-infra-sensu: Refreshing state... (ID: redacted)
aws_vpc_peering_connection.infra-dev: Refreshing state... (ID: redacted)
aws_security_group.gz-infra-consul: Refreshing state... (ID: redacted)
aws_security_group.gz-infra: Refreshing state... (ID: redacted)
aws_security_group.infra-chef-clients: Refreshing state... (ID: redacted)
aws_security_group.infra-consul-clients: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-loadbalancer: Refreshing state... (ID: redacted)
aws_security_group.gz-prod-rds-aurora-public: Refreshing state... (ID: redacted)
aws_security_group.prod-nat: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-sendgrid: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-elastic-main: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-secor: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-kafka: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-mesos-slave-poolB: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-cassandra-auth: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-cassandra-main: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-mesos-master: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-mesos-slave-poolA: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-zookeeper: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-cassandra-main-analytics: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-rabbitmq: Refreshing state... (ID: redacted)
aws_security_group.gz-dev-loadbalancer: Refreshing state... (ID: redacted)
aws_security_group.dev-nat: Refreshing state... (ID: redacted)
aws_route_table.dev-vagrant-public: Refreshing state... (ID: redacted)
aws_subnet.dev-vagrant-public: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev-zookeeper: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev5-app: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev5-data: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev2-data: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev1-data: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev-mesos-slave: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev2-app: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev-mesos-master: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev1-app: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev3-data: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev3-app: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev4-app: Refreshing state... (ID: redacted)
aws_security_group.infra-jumphost: Refreshing state... (ID: redacted)
aws_route_table.prod-public: Refreshing state... (ID: redacted)
aws_security_group.gz-infra-noop: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev4-data: Refreshing state... (ID: redacted)
aws_security_group.infra-nat: Refreshing state... (ID: redacted)
aws_subnet.infra-vagrant-public: Refreshing state... (ID: redacted)
aws_subnet.infra-public.2: Refreshing state... (ID: redacted)
aws_subnet.infra-public.1: Refreshing state... (ID: redacted)
aws_subnet.infra-public.0: Refreshing state... (ID: redacted)
aws_route_table.infra-public: Refreshing state... (ID: redacted)
aws_route_table.infra-vagrant-public: Refreshing state... (ID: redacted)
aws_route_table.dev-public: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-infra-sensu: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-infra-consul: Refreshing state... (ID: redacted)
aws_security_group.infra-chef: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-elastic-main: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-sendgrid: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-secor: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-infra-bot: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-prod-loadbalancer: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-kafka: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-cassandra-auth: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-zookeeper: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-cassandra-main: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-rabbitmq: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-cassandra-main-analytics: Refreshing state... (ID: redacted)
aws_subnet.dev-public.1: Refreshing state... (ID: redacted)
aws_subnet.dev-public.0: Refreshing state... (ID: redacted)
aws_subnet.dev-public.2: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-infra-jumphost: Refreshing state... (ID: redacted)
aws_subnet.prod-public.0: Refreshing state... (ID: redacted)
aws_subnet.prod-public.1: Refreshing state... (ID: redacted)
aws_subnet.prod-public.2: Refreshing state... (ID: redacted)
aws_route_table_association.dev-vagrant-public: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-dev-loadbalancer: Refreshing state... (ID: redacted)
aws_launch_configuration.gz-infra-noop: Refreshing state... (ID: redacted)
aws_route_table_association.infra-vagrant-public: Refreshing state... (ID: redacted)
aws_route_table_association.infra-public.1: Refreshing state... (ID: redacted)
aws_route_table_association.infra-public.0: Refreshing state... (ID: redacted)
aws_route_table_association.infra-public.2: Refreshing state... (ID: redacted)
aws_instance.infra-nat.0: Refreshing state... (ID: redacted)
aws_instance.infra-nat.1: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-infra-consul: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-infra-sensu: Refreshing state... (ID: redacted)
aws_instance.infra-nat.2: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-infra-bot: Refreshing state... (ID: redacted)
aws_instance.infra-chef_gearzero_us: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev4-data: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev5-data: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev3-app: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev1-data: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev3-data: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev2-app: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev5-app: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev4-app: Refreshing state... (ID: redacted)
aws_route_table_association.dev-public.0: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev2-data: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev-zookeeper: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev-mesos-master: Refreshing state... (ID: redacted)
aws_route_table_association.dev-public.1: Refreshing state... (ID: redacted)
aws_route_table_association.dev-public.2: Refreshing state... (ID: redacted)
aws_instance.dev-nat.0: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev-mesos-slave: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev1-app: Refreshing state... (ID: redacted)
aws_elasticache_subnet_group.gz-prod-elasticache-redis-main: Refreshing state... (ID: redacted)
aws_instance.dev-nat.2: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-infra-jumphost: Refreshing state... (ID: redacted)
aws_instance.dev-nat.1: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-mesos-slave-poolB: Refreshing state... (ID: redacted)
aws_elb.gz-prod-loadbalancer: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-loadbalancer: Refreshing state... (ID: redacted)
aws_route_table_association.prod-public.2: Refreshing state... (ID: redacted)
aws_instance.prod-nat.2: Refreshing state... (ID: redacted)
aws_instance.prod-nat.1: Refreshing state... (ID: redacted)
aws_route_table_association.prod-public.1: Refreshing state... (ID: redacted)
aws_route_table_association.prod-public.0: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-dev-loadbalancer: Refreshing state... (ID: redacted)
aws_db_subnet_group.gz-prod-rds-aurora: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-mesos-slave-poolA: Refreshing state... (ID: redacted)
aws_instance.prod-nat.0: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-prod-mesos-master: Refreshing state... (ID: redacted)
aws_autoscaling_group.gz-infra-noop: Refreshing state... (ID: redacted)
aws_eip.infra-nat.0: Refreshing state... (ID: redacted)
aws_eip.infra-nat.2: Refreshing state... (ID: redacted)
aws_eip.infra-nat.1: Refreshing state... (ID: redacted)
aws_route_table.infra-private.1: Refreshing state... (ID: redacted)
aws_route53_record.chef_gearzero_us_private: Refreshing state... (ID: redacted)
aws_route53_record.chef_gearzero_us: Refreshing state... (ID: redacted)
aws_route_table.infra-private.2: Refreshing state... (ID: redacted)
aws_route_table.infra-private.0: Refreshing state... (ID: redacted)
aws_route_table.dev-private.1: Refreshing state... (ID: redacted)
aws_eip.dev-nat.1: Refreshing state... (ID: redacted)
aws_eip.dev-nat.2: Refreshing state... (ID: redacted)
aws_eip.dev-nat.0: Refreshing state... (ID: redacted)
aws_route_table.dev-private.2: Refreshing state... (ID: redacted)
aws_route_table.dev-private.0: Refreshing state... (ID: redacted)
aws_route53_record.prod-loadbalancer_talkk_com: Refreshing state... (ID: redacted)
aws_route53_record.prod-loadbalancer_talkk_com_naked: Refreshing state... (ID: redacted)
aws_proxy_protocol_policy.gz-prod-loadbalancer-elb: Refreshing state... (ID: redacted)
aws_route_table_association.infra-private.1: Refreshing state... (ID: redacted)
aws_eip.prod-nat.2: Refreshing state... (ID: redacted)
aws_eip.prod-nat.0: Refreshing state... (ID: redacted)
aws_route_table.prod-private.0: Refreshing state... (ID: redacted)
aws_route_table_association.infra-private.0: Refreshing state... (ID: redacted)
aws_route_table.prod-private.2: Refreshing state... (ID: redacted)
aws_route_table_association.infra-private.2: Refreshing state... (ID: redacted)
aws_eip.prod-nat.1: Refreshing state... (ID: redacted)
aws_route_table.prod-private.1: Refreshing state... (ID: redacted)
aws_route_table_association.dev-private.2: Refreshing state... (ID: redacted)
aws_route_table_association.dev-private.0: Refreshing state... (ID: redacted)
aws_route_table_association.dev-private.1: Refreshing state... (ID: redacted)
aws_route_table_association.prod-private.2: Refreshing state... (ID: redacted)
aws_route_table_association.prod-private.0: Refreshing state... (ID: redacted)
aws_route_table_association.prod-private.1: Refreshing state... (ID: redacted)
aws_autoscaling_notification.subway: Refreshing state... (ID: redacted)
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed.
Your plan was also saved to the path below. Call the "apply" subcommand
with this plan file and Terraform will exactly execute this execution
plan.
Path: terraform
~ aws_autoscaling_group.gz-infra-noop
desired_capacity: "1" => "2"
Plan: 0 to add, 1 to change, 0 to destroy.
scalp@mbp42:~/terraform/configs (*)
> git diff | tee
diff --git a/configs/gz-infra_noop.tf b/configs/gz-infra_noop.tf
index 9a58241..46506a8 100644
--- a/configs/gz-infra_noop.tf
+++ b/configs/gz-infra_noop.tf
@@ -41,7 +41,7 @@ resource "aws_autoscaling_group" "gz-infra-noop" {
name = "${aws_launch_configuration.gz-infra-noop.name}"
max_size = 10
min_size = 0
- desired_capacity = 0
+ desired_capacity = 2
health_check_grace_period = 300
health_check_type = "EC2"
force_delete = true
diff --git a/configs/terraform b/configs/terraform
index b11b9aa..8daf367 100644
Binary files a/configs/terraform and b/configs/terraform differ
diff --git a/configs/terraform.tfstate b/configs/terraform.tfstate
index fae9a8a..e95ad6f 100644
--- a/configs/terraform.tfstate
+++ b/configs/terraform.tfstate
@@ -1,6 +1,6 @@
{
"version": 1,
- "serial": 1045,
+ "serial": 1046,
"modules": [
{
"path": [
@@ -917,7 +917,7 @@
"availability_zones.221770259": "us-west-2b",
"availability_zones.2487133097": "us-west-2a",
"default_cooldown": "10",
- "desired_capacity": "0",
+ "desired_capacity": "1", # WEIRD
"force_delete": "true",
"health_check_grace_period": "300",
"health_check_type": "EC2",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment