aws-samples / aws-samples/aws-codedeploy-github-actions-deployment
CloudFormation fails to create the launch config for the ASG
- Linguagem predominante
- Shell
- Estrelas
- 151
- Forks
- 214
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Direção de pesquisa
Comece pelo template do CloudFormation referenciado nas etapas de deployment do README e localize o recurso WebappLaunchConfig. Consulte as orientações do AWS Auto Scaling vinculadas na issue e, em seguida, atualize a configuração de deployment para que uma nova conta consiga criar a stack com sucesso. Confirme a conclusão criando uma nova stack do CloudFormation sem o erro de launch configuration relatado.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- aws
- Domínio
- cloud, infrastructure
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100