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

CloudFormation fails to create the launch config for the ASG

Offen
#7 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
151
Forks
214
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws
Bereich
cloud, infrastructure
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.