aws-samples / aws-samples/aws-codedeploy-github-actions-deployment

CloudFormation fails to create the launch config for the ASG

Đang mở
#7 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Shell
Star
151
Fork
214
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

After creating a new CF stack by following the [steps](https://github.com/aws-samples/aws-codedeploy-github-actions-deployment?tab=readme-ov-file#deploying-the-cloudformation-template) detailed in the README, creating _WebappLaunchConfig_ fails with the following error:

> Resource handler returned message: "The Launch Configuration creation operation is not available in your account. Use launch templates to create configuration templates for your Auto Scaling groups. (Service: AutoScaling, Status Code: 400, Request ID: d2598c07-34db-4d46-bf20-670d9e73629d)"

As per the [auto-scaling user guide](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html), launch configs cannot be created anymore with new EC2 instance types or by new accounts, and migrating to launch templates is the recommended way going forward.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start with the CloudFormation template referenced by the README's deployment steps and locate the WebappLaunchConfig resource. Review the AWS Auto Scaling guidance linked in the issue, then update the deployment configuration so a new account can create the stack successfully. Confirm completion by creating a fresh CloudFormation stack without the reported launch-configuration error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
aws
Lĩnh vực
cloud, infrastructure
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.