You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=> And see in plan that terraform going to change "Health Check Type":
health_check_type: "EC2" => "ELB" (forces new resource)
terraform apply again:
aws_autoscaling_group.staging_autoscaling_group: Creating...
availability_zones.#: "" => "3"
availability_zones.1924028850: "" => "eu-west-1b"
availability_zones.3953592328: "" => "eu-west-1a"
availability_zones.94988580: "" => "eu-west-1c"
default_cooldown: "" => "<computed>"
desired_capacity: "" => "2"
force_delete: "" => "1"
health_check_grace_period: "" => "300"
health_check_type: "" => "ELB"
launch_configuration: "" => "staging_launch_configuration"
load_balancers.#: "" => "1"
load_balancers.3065915641: "" => "StagingLoadBalancer"
max_size: "" => "3"
min_size: "" => "2"
name: "" => "staging_autoscaling_group"
termination_policies.#: "" => "<computed>"
vpc_zone_identifier.#: "" => "<computed>"
aws_autoscaling_group.staging_autoscaling_group: Error: 1 error(s) occurred:
* Error creating Autoscaling Group: AutoScalingGroup by this name already exists - A group with the name staging_autoscaling_group already exists and is pending delete. Please wait until Autoscaling completes the deletion process before creating another group with the same name.
Error applying plan:
* Error creating Autoscaling Group: AutoScalingGroup by this name already exists - A group with the name staging_autoscaling_group already exists and is pending delete. Please wait until Autoscaling completes the deletion process before creating another group with the same name.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
May 4, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey Guys
I got issue with setting health_check_type for AWS Auto-Scaling Group.
I use latest version of terraform from github.
My code:
Steps:
Then I'm checking on AWS EC-2 console and see that "Health Check Type" is "EC2".
=> And see in plan that terraform going to change "Health Check Type":
Checking in AWS EC-2 console again and still see "Health Check Type" = "EC2"
Thanks 🍻
The text was updated successfully, but these errors were encountered: