Using the AWS Elastic Beanstalk Application task in Bamboo

You can use the Elastic Beanstalk Application task to create, update or delete an AWS Elastic Beanstalk application (see Deploying to AWS Elastic Beanstalk for an overview of the Elastic Beanstalk component lifecycle and deployment workflow).

 

Configuration

Application Management

While useful for end to end automation and test scenarios, it is quite common to create target applications e.g. via the AWS Management Console upfront and only manage Application Versions and Environments from your build and deployment projects.

To configure an AWS Elastic Beanstalk Application task:

1. Navigate to the Tasks configuration tab for the job (this will be the default job if creating a new plan).

2. Click the name of an existing AWS Elastic Beanstalk Application task, or click Add Task and then AWS Elastic Beanstalk Application to create a new task.

3. Complete the following settings:

a. Common to all tasks

b. Actions supported by this task:

To ease common scenarios, the Create action allows to Update [the] application, if it already exists, similarly the Update action allows to Create [the] application, if it does not already exist.

Create Application



Create Application



Update application, if it already exists

Check to cover both scenarios with a single task

Application Name

Specify an application name.

  • Must be unique within your account. If the specified name already exists, the task will fail.

Description

(Optional) Describe the application for easier identification.

Resource Lifecycle Configuration

(Optional) Specify a resource lifecycle configuration in JSON format.

Update Application

 

Create application, if it does not already exist

Check to cover both scenarios with a single task

Application Name

see Create above

Description

see Create above

Delete Application

 

Application Name

see Create above

 

Variables

Create Application

Creating common variables for 1 resources affected by task: ... bamboo.custom.aws.elasticbeanstalk.application.resources: TA-TAWS-IT220-EBA-24 Creating resource variables for application 'TA-TAWS-IT220-EBA-24': ... bamboo.custom.aws.elasticbeanstalk.application.resources.TA-TAWS-IT220-EBA-24.ApplicationName: TA-TAWS-IT220-EBA-24 ... bamboo.custom.aws.elasticbeanstalk.application.resources.TA-TAWS-IT220-EBA-24.Description: Initial application description. ... bamboo.custom.aws.elasticbeanstalk.application.resources.TA-TAWS-IT220-EBA-24.DateCreated: 20150721T230317Z ... bamboo.custom.aws.elasticbeanstalk.application.resources.TA-TAWS-IT220-EBA-24.DateUpdated: 20150721T230317Z ... bamboo.custom.aws.elasticbeanstalk.application.resources.TA-TAWS-IT220-EBA-24.Versions: Creating common variables for first resource affected by task: Creating resource variables for application 'TA-TAWS-IT220-EBA-24': ... bamboo.custom.aws.elasticbeanstalk.application.first.ApplicationName: TA-TAWS-IT220-EBA-24 ... bamboo.custom.aws.elasticbeanstalk.application.first.Description: Initial application description. ... bamboo.custom.aws.elasticbeanstalk.application.first.DateCreated: 20150721T230317Z ... bamboo.custom.aws.elasticbeanstalk.application.first.DateUpdated: 20150721T230317Z ... bamboo.custom.aws.elasticbeanstalk.application.first.Versions:

Update Application

See Create above.

Delete Application

N/A

How-to Articles

Frequently Asked Questions (FAQ)

Atlassian®, Atlassian Bamboo®, Bitbucket®, Atlassian Crowd®, Confluence®, Jira®, Jira Service Management™, Opsgenie®, and Statuspage™ are registered trademarks of Atlassian.
Amazon Web Services™, AWS™ and the “Powered by Amazon Web Services” logo are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.

Utoolity® is a registered trademark of Utoolity GmbH.
© 2024 Utoolity GmbH. All rights reserved.