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

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions