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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。