내용으로 건너뛰기

GetAtt references undefined resource AWSEBLoadBalancerSecurityGroup

0

Hello, I create a Beanstalk environment for a Java application following the wizard leaving the default options and trying to keep it as simple as possible. The creation of the environment has been completed successfully. But when I try to update the environment with a new deployment I get the error: Service:AmazonCloudFormation, Message:Template error: instance of Fn::GetAtt references undefined resource AWSEBLoadBalancerSecurityGroup I would like to point out that the environment hasn't configured any load balancer.

The pipeline:

    - aws configure set region us-east-1
    - aws s3 cp ./target/$ARTIFACT s3://$S3_BUCKET/$ARTIFACT
    - aws elasticbeanstalk create-application-version --application-name $AWS_APPLICATION_NAME --version-label $CI_PIPELINE_IID --source-bundle S3Bucket=$S3_BUCKET,S3Key=$ARTIFACT
    - aws elasticbeanstalk update-environment --application-name $AWS_APPLICATION_NAME --environment-name $AWS_PRODUCTION_ENVIRONMENT_NAME --version-label $CI_PIPELINE_IID

Thanks in advance.

질문됨 2년 전294회 조회
1개 답변
0

Hello,

The error Fn::GetAtt references undefined resource AWSEBLoadBalancerSecurityGroup means that your CloudFormation template is trying to reference a property of a resource named AWSEBLoadBalancerSecurityGroup that does not exist in the stack. Check the Cloudformation template created by the service to check if there is a logical resource called AWSEBLoadBalancerSecurityGroup defined.

전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠