Skip to content

Instantly share code, notes, and snippets.

@roustem
Last active January 24, 2018 19:36
Show Gist options
  • Save roustem/6bfb7ccb9b280bd28d99cb417d6af9f8 to your computer and use it in GitHub Desktop.
Save roustem/6bfb7ccb9b280bd28d99cb417d6af9f8 to your computer and use it in GitHub Desktop.
#
# Terraform code changes
#
# variable "instance_type" {
# type = "string"
# - default = "t2.medium"
# + default = "t2.large"
# }
$ terraform plan
Refreshing Terraform state in-memory prior to plan...
...
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
-/+ module.b5site.aws_autoscaling_group.asg (new resource required)
id: "B5Site-prd-lc20180123194347404900000001-asg" => <computed> (forces new resource)
arn: "arn:aws:autoscaling:us-east-1:921352000000:autoScalingGroup:32b38032-56c6-40bf-8c57-409e9e4a264a:autoScalingGroupName/B5Site-prd-lc20180123194347404900000001-asg" => <computed>
default_cooldown: "300" => <computed>
desired_capacity: "2" => "2"
force_delete: "false" => "false"
health_check_grace_period: "300" => "300"
health_check_type: "ELB" => "ELB"
launch_configuration: "B5Site-prd-lc20180123194347404900000001" => "${aws_launch_configuration.lc.name}"
load_balancers.#: "0" => <computed>
max_size: "3" => "3"
metrics_granularity: "1Minute" => "1Minute"
min_size: "2" => "2"
name: "B5Site-prd-lc20180123194347404900000001-asg" => "${aws_launch_configuration.lc.name}-asg" (forces new resource)
protect_from_scale_in: "false" => "false"
tag.#: "4" => "4"
tag.1402295282.key: "Application" => "Application"
tag.1402295282.propagate_at_launch: "true" => "true"
tag.1402295282.value: "B5Site" => "B5Site"
tag.1776938011.key: "env" => "env"
tag.1776938011.propagate_at_launch: "true" => "true"
tag.1776938011.value: "prd" => "prd"
tag.3218409424.key: "type" => "type"
tag.3218409424.propagate_at_launch: "true" => "true"
tag.3218409424.value: "production" => "production"
tag.4034324257.key: "Name" => "Name"
tag.4034324257.propagate_at_launch: "true" => "true"
tag.4034324257.value: "prd-B5Site" => "prd-B5Site"
target_group_arns.#: "2" => "2"
target_group_arns.2352758522: "arn:aws:elasticloadbalancing:us-east-1:921352000000:targetgroup/prd-B5Site-8080-tg/33ceeac3a6f8b53e" => "arn:aws:elasticloadbalancing:us-east-1:921352000000:targetgroup/prd-B5Site-8080-tg/33ceeac3a6f8b53e"
target_group_arns.3576894107: "arn:aws:elasticloadbalancing:us-east-1:921352000000:targetgroup/prd-B5Site-80-tg/457e9651ad8f1af4" => "arn:aws:elasticloadbalancing:us-east-1:921352000000:targetgroup/prd-B5Site-80-tg/457e9651ad8f1af4"
vpc_zone_identifier.#: "2" => "2"
vpc_zone_identifier.2325591805: "subnet-d87c3dbc" => "subnet-d87c3dbc"
vpc_zone_identifier.3439339683: "subnet-bfe16590" => "subnet-bfe16590"
wait_for_capacity_timeout: "10m" => "10m"
-/+ module.b5site.aws_launch_configuration.lc (new resource required)
id: "B5Site-prd-lc20180123194347404900000001" => <computed> (forces new resource)
associate_public_ip_address: "false" => "false"
ebs_block_device.#: "0" => <computed>
ebs_optimized: "false" => <computed>
enable_monitoring: "true" => "true"
iam_instance_profile: "prd-B5Site-instance-profile" => "prd-B5Site-instance-profile"
image_id: "ami-263d0b5c" => "ami-263d0b5c"
instance_type: "t2.medium" => "t2.large" (forces new resource)
key_name: "" => <computed>
name: "B5Site-prd-lc20180123194347404900000001" => <computed>
name_prefix: "B5Site-prd-lc" => "B5Site-prd-lc"
root_block_device.#: "0" => <computed>
security_groups.#: "1" => "1"
security_groups.4230886263: "sg-aca045d8" => "sg-aca045d8"
user_data: "ff8281e17b9f63774c952f0cde4e77bdba35426d" => "ff8281e17b9f63774c952f0cde4e77bdba35426d"
Plan: 2 to add, 0 to change, 2 to destroy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment