Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

cluster-of-web servers #6

Closed
aloknj opened this issue Mar 28, 2019 · 2 comments
Closed

cluster-of-web servers #6

aloknj opened this issue Mar 28, 2019 · 2 comments
Labels

Comments

@aloknj
Copy link

aloknj commented Mar 28, 2019

I tried to use code for cluster-of-web-servers.
Few resources were created successfully, but not all.

I keep getting this error, do you know why this is happening. It says issue is with configuration not supported.

Error: Error applying plan:

1 error(s) occurred:

  • aws_autoscaling_group.example: 1 error(s) occurred:

  • aws_autoscaling_group.example: "tf-asg-20190328160913020900000002": Waiting up to 10m0s: Need at least 2 healthy instances in ASG, have 0. Most recent activity: {
    ActivityId: "5cc5a714-61e2-eba7-663b-20124631a347",
    AutoScalingGroupName: "tf-asg-20190328160913020900000002",
    Cause: "At 2019-03-28T16:18:27Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 2.",
    Description: "Launching a new EC2 instance. Status Reason: The requested configuration is currently not supported. Please check the documentation for supported configurations. Launching EC2 instance failed.",
    Details: "{"Availability Zone":"us-west-1a"}",
    EndTime: 2019-03-28 16:18:29 +0000 UTC,
    Progress: 100,
    StartTime: 2019-03-28 16:18:29.178 +0000 UTC,
    StatusCode: "Failed",
    StatusMessage: "The requested configuration is currently not supported. Please check the documentation for supported configurations. Launching EC2 instance failed."
    }

Thanks,
Alok

@brikis98
Copy link
Member

brikis98 commented Apr 2, 2019

What is your configuration? What instance type are you using? Perhaps the region/AZ you're in doesn't support that instance type?

@brikis98
Copy link
Member

brikis98 commented Jul 2, 2019

Closing due to inactivity. Please re-open if you're still having issues.

@brikis98 brikis98 closed this as completed Jul 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants