AWS Elastic beanstalk

0

I am facing an error "Service:AmazonCloudFormation, Message:Template error: instance of Fn::GetAtt references undefined resource AWSEBLoadBalancer" in AWS Elastic beanstalk. Scenario:

  • To implement CI/CD, I am using multiple services: Bitbucket, Codepipeline, codebuild.
  • In Codebuild, I have been using AWS CLI command to deploy the artifact from S3 bucket to one of the beanstalk environment.
  • As AWS elastic beanstalk uses different Cloudformation Template for every environment to update it, this error log which i am getting in beanstalk environment is related to Cloudformation.
  • I prefer experimenting new things in my personal account rather than company's account, keeping that in context here, I created the IAM user and provided the required permissions to run the whole architecture, and its running successfully using that account. *I faced this error in my company's IAM Account for the first time, so i created this same error in my personal Account's IAM account.
  • As the error log in newly created beanstalk environment was related to Cloudformation template, so i checked the logs in environment and got to know the status for this template was "CREATE_COMPLETE".
  • So I then checked out the status of Cloudformation template of old environment in which the whole CI/CD was working absolutely fine, and I found that status was "UPDATE_COMPLETE".
  • In order to make the status of newly created beanstalk environment as "UPDATE_COMPLETE", I manually uploaded an artifact to this environment which changed the status of cloudformation template as "UPDATE_COMPLETE".
  • And then when I ran the CI/CD, whole architecture worked very well.
  • So this worked in my personal account's IAM account, but when I am trying to do the same in my Company's account IAM account(account provided to me by them), its showing the same error in beanstalk evironment even after providing the same IAM permissions and following the same drill.

Can someone help me to figure out this scenario that what could be the possible reasons?

Please refer this image for the exact error

답변 없음

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

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

질문 답변하기에 대한 가이드라인