Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

(Solução) Erro ao fazer o apply

Olá, boa tarde!

Para quem tiver passando pelo problema:

│ Error: Error waiting for Elastic Beanstalk Environment (e-pgbprmjkzs) to become ready: 3 errors occurred:
│       * 2024-10-20 20:29:58.23 +0000 UTC (e-pgbprmjkzs) : Stack named 'awseb-e-pgbprmjkzs-stack' aborted operation. Current state: 'CREATE_FAILED'  Reason: The following resource(s) failed to create: [AWSEBAutoScalingLaunchConfiguration]. 
│       * 2024-10-20 20:29:58.437 +0000 UTC (e-pgbprmjkzs) : Creating Auto Scaling launch configuration failed Reason: 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: *********)" (RequestToken: ***********, HandlerErrorCode: GeneralServiceException)
│       * 2024-10-20 20:30:00.192 +0000 UTC (e-pgbprmjkzs) : Service:AmazonCloudFormation, Message:Resource AWSEBAutoScalingGroup does not exist for stack awseb-e-pgbprmjkzs-stack

Adicionar os seguintes settings no recurso de "aws_elastic_beanstalk_environment" solucionou:

  setting {
    namespace = "aws:autoscaling:launchconfiguration"
    name      = "RootVolumeType"
    value     = "gp3"
  }

  setting {
    namespace = "aws:autoscaling:launchconfiguration"
    name      = "DisableIMDSv1"
    value     = "true"
  }

link do forum onde eu achei a solução: https://repost.aws/questions/QUcX9TipxqSGeM5G7RORmqoQ/new-account-recently-created-unable-to-create-environments-on-elastic-beanstalk-launch-configuration-error

1 resposta
solução!

Olá, Bruno. Tudo bem?

Obrigada por compartilhar sua solução com o fórum! Tenho certeza que sua atitude proativa vai ajudar muito outros estudantes.

Em caso de dúvidas, conte com o apoio do Fórum :)

Abraços e bons estudos!