Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I update tags/environment variables when deploying to elastic beanstalk? Edited

when I deploy an application to AWS Elastic Beanstalk using

- pipe: atlassian/aws-elasticbeanstalk-deploy:0.3.1

Is there a way to also update/create tags during the deployment?

Per instruction, I don't see a variable for tags.



1 answer

0 votes
rgomis Atlassian Team Sep 05, 2019

Hi @bradyyuan ,

Thanks for reaching out! What is exactly your use case? What information would you be interested in adding? 



Hi Raul,

As we know, AWS elastic beanstalk is able to config environment variables for each service


Is there a way to update (add/modify) the variables using :

- pipe: atlassian/aws-elasticbeanstalk-deploy:0.3.1

during the deployment?


My application consumes those variables.  The environment variables contain sensitive information, such as access keys, secret keys, credentials and etc,.  Currently I manually update those values on Elastic Beanstalk.  It would be better that the bitbucket deployment script can update the Elastic Beanstalk environment variables automatically, so that I can define those secured values as the bitbucket repository variables or deployment variables.  As we know, the bitbucket pipeline can pick up the repository/deployment variables without any problem, but atlassian/aws-elasticbeanstalk-deploy:0.3.1 doesn't provide a way to update the Elastic Beanstalk environment variables.



rgomis Atlassian Team Sep 09, 2019

Hi @bradyyuan ,

Thanks for the explanation. What is the exact use case you are trying to achieve? What type of information you pass to Elastic Beanstalk as environment variables? 

Also, is that something you need to want to configure / override dynamically and pass it on every pipe / pipeline execution? or is something you can configure once?

Don't know exactly all the details, but as setting up the environment is part of the infrastructure provisioning, I would use the aws-cloudformation-deploy pipe to setup and configure the Elastic Beanstalk Application and Environment (included environment variables). And then, I would use the aws-elasticbeanstalk-deploy pipe to perform just the deployment.

That would give you a full Infrastructure As a Code (IaC), in which your infrastructure definition would be defined as code. 



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,227 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you