Skip to content

Instantly share code, notes, and snippets.

@chaws
Created December 12, 2019 14:53
Show Gist options
  • Save chaws/2397cc2919e908bcc762d2c3cd2e6611 to your computer and use it in GitHub Desktop.
Save chaws/2397cc2919e908bcc762d2c3cd2e6611 to your computer and use it in GitHub Desktop.
[127|0]terraform(move-to-sqs *%) $ ENV=staging ./terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
aws_sns_topic.qa_reports_cloudwatch_notifications: Refreshing state... (ID: arn:aws:sns:us-east-1:495570029050:staging_qa_reports_cloudwatch_notifications)
aws_lb_target_group.qa-reports-tg: Refreshing state... (ID: arn:aws:elasticloadbalancing:us-east-1:...staging-qa-reports-tg/66d3228ab651edce)
aws_key_pair.auth: Refreshing state... (ID: qa-reports-staging)
aws_acm_certificate.acm-cert: Refreshing state... (ID: arn:aws:acm:us-east-1:495570029050:cert...e/2adeddd0-e754-44e8-8b1b-dcf5e77ee94b)
aws_sqs_queue.qa_reports_queue[7]: Refreshing state... (ID: https://sqs.us-east-1.amazonaws.com/495570029050/staging_core_reporting)
aws_sqs_queue.qa_reports_queue[0]: Refreshing state... (ID: https://sqs.us-east-1.amazonaws.com/495570029050/staging_celery)
aws_sqs_queue.qa_reports_queue[5]: Refreshing state... (ID: https://sqs.us-east-1.amazonaws.com/495570029050/staging_core_postprocess)
aws_sqs_queue.qa_reports_queue[6]: Refreshing state... (ID: https://sqs.us-east-1.amazonaws.com/495570029050/staging_core_quick)
aws_sqs_queue.qa_reports_queue[2]: Refreshing state... (ID: https://sqs.us-east-1.amazonaws.com/495570029050/staging_ci_poll)
aws_sqs_queue.qa_reports_queue[1]: Refreshing state... (ID: https://sqs.us-east-1.amazonaws.com/495570029050/staging_ci_fetch)
aws_iam_role.qa_reports_role: Refreshing state... (ID: staging_qa_reports_instance_iam_role)
aws_sqs_queue.qa_reports_queue[4]: Refreshing state... (ID: https://sqs.us-east-1.amazonaws.com/495570029050/staging_core_notification)
aws_sqs_queue.qa_reports_queue[3]: Refreshing state... (ID: https://sqs.us-east-1.amazonaws.com/495570029050/staging_ci_quick)
aws_db_subnet_group.default: Refreshing state... (ID: stagingqareports)
aws_security_group.qa-reports-lb-sg: Refreshing state... (ID: sg-08f06ff2c2ef70afb)
data.aws_subnet.oursubnets[1]: Refreshing state...
data.aws_subnet.oursubnets[0]: Refreshing state...
aws_db_parameter_group.default: Refreshing state... (ID: qa-reports-postgresql-params)
aws_iam_instance_profile.qa_reports_instance_profile: Refreshing state... (ID: staging_qa_reports_instance_profile)
aws_iam_role_policy.qa_reports_role_policy: Refreshing state... (ID: staging_qa_reports_instance_iam_role:staging_qa_reports_role_policy)
aws_lb.qa-reports-lb: Refreshing state... (ID: arn:aws:elasticloadbalancing:us-east-1:...staging-qa-reports-lb/ea0b6a810fef29b7)
aws_security_group.qa-reports-ec2-www: Refreshing state... (ID: sg-09314096b8b88b961)
aws_security_group.qa-reports-ec2-worker: Refreshing state... (ID: sg-0fc6619588a989c5d)
aws_iam_role_policy.sqs_manage_policy: Refreshing state... (ID: staging_qa_reports_instance_iam_role:staging_sqs_manage_policy)
aws_instance.qa-reports-www[1]: Refreshing state... (ID: i-08e3ced929632089f)
aws_instance.qa-reports-www[0]: Refreshing state... (ID: i-0fceed236f2036791)
aws_instance.qa-reports-worker[2]: Refreshing state... (ID: i-0dd7c389dff63a96b)
aws_instance.qa-reports-worker[0]: Refreshing state... (ID: i-04e06ea2362c754cd)
aws_instance.qa-reports-worker[1]: Refreshing state... (ID: i-083e106471ee53483)
aws_security_group.qa-reports-db-sg: Refreshing state... (ID: sg-02decf81b8535bd81)
aws_route53_record.qa-reports-lb-dns: Refreshing state... (ID: Z27NRA2FV79C84_staging-qa-reports.ctt.linaro.org_A)
aws_lb_listener.qa-reports-lb-listener-80: Refreshing state... (ID: arn:aws:elasticloadbalancing:us-east-1:...s-lb/ea0b6a810fef29b7/f5718ea7f7e72abe)
aws_lb_listener.qa-reports-lb-listener-443: Refreshing state... (ID: arn:aws:elasticloadbalancing:us-east-1:...s-lb/ea0b6a810fef29b7/33f126c1a5b242d9)
aws_db_instance.default: Refreshing state... (ID: terraform-20180223202455880900000001)
aws_lb_target_group_attachment.qa-reports-www-lb[1]: Refreshing state... (ID: arn:aws:elasticloadbalancing:us-east-1:...28ab651edce-20190121183322434400000002)
aws_lb_target_group_attachment.qa-reports-www-lb[0]: Refreshing state... (ID: arn:aws:elasticloadbalancing:us-east-1:...28ab651edce-20190121183322405300000001)
aws_cloudwatch_metric_alarm.www_disk_usage[1]: Refreshing state... (ID: staging-qa-reports-www-1_disk_capacity)
aws_cloudwatch_metric_alarm.www_disk_usage[0]: Refreshing state... (ID: staging-qa-reports-www-0_disk_capacity)
aws_cloudwatch_metric_alarm.worker_disk_usage[1]: Refreshing state... (ID: staging-qa-reports-worker-1_disk_capacity)
aws_cloudwatch_metric_alarm.worker_disk_usage[2]: Refreshing state... (ID: staging-qa-reports-worker-2_disk_capacity)
aws_cloudwatch_metric_alarm.worker_disk_usage[0]: Refreshing state... (ID: staging-qa-reports-worker-0_disk_capacity)
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
- destroy
Terraform will perform the following actions:
~ module.rds.aws_db_parameter_group.default
parameter.#: "9" => "1"
parameter.124058312.apply_method: "immediate" => ""
parameter.124058312.name: "checkpoint_timeout" => ""
parameter.124058312.value: "1800" => ""
parameter.1764331501.apply_method: "immediate" => "immediate"
parameter.1764331501.name: "log_min_duration_statement" => "log_min_duration_statement"
parameter.1764331501.value: "500" => "500"
parameter.1790424064.apply_method: "immediate" => ""
parameter.1790424064.name: "log_statement" => ""
parameter.1790424064.value: "none" => ""
parameter.2060294046.apply_method: "immediate" => ""
parameter.2060294046.name: "max_wal_size" => ""
parameter.2060294046.value: "256" => ""
parameter.2771588648.apply_method: "immediate" => ""
parameter.2771588648.name: "synchronous_commit" => ""
parameter.2771588648.value: "off" => ""
parameter.3490834664.apply_method: "immediate" => ""
parameter.3490834664.name: "maintenance_work_mem" => ""
parameter.3490834664.value: "131072" => ""
parameter.490699910.apply_method: "immediate" => ""
parameter.490699910.name: "auto_explain.log_min_duration" => ""
parameter.490699910.value: "500" => ""
parameter.512379266.apply_method: "pending-reboot" => ""
parameter.512379266.name: "wal_buffers" => ""
parameter.512379266.value: "8192" => ""
parameter.584376853.apply_method: "immediate" => ""
parameter.584376853.name: "autovacuum" => ""
parameter.584376853.value: "0" => ""
- module.webservers.aws_acm_certificate.acm-cert (deposed)
~ module.webservers.aws_lb_listener.qa-reports-lb-listener-443
certificate_arn: "arn:aws:acm:us-east-1:495570029050:certificate/716b416d-5edf-4eab-ac27-7d6f1d729f6e" => "arn:aws:acm:us-east-1:495570029050:certificate/2adeddd0-e754-44e8-8b1b-dcf5e77ee94b"
Plan: 0 to add, 2 to change, 1 to destroy.
------------------------------------------------------------------------
Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment