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

CloudFormation fails to create the launch config for the ASG

未关闭
#7 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
151
派生
214
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
aws
领域
cloud, infrastructure
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。