Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

Use the Automate with AWS task to run remote actions with AWS from Bamboo jobs, specifically from builds and deployments.

Image Removed


Image Added

On this page:

Table of Contents
exclude(Popular.*|Recent.*)

Related pages:


Configuration

To configure an Automate with AWS task:

1. Follow the initial steps in Create a task for a job

2. Select the Automate with AWS task

3. Complete the following settings:

Action

Select the remote AWS action.

Parameters

Specify the parameters (JSON).

Evaluate as condition

Check to fail build based when returning an expected response format.

AWS Security Credentials


Source

Select the AWS Credentials source (see below) – can be either an IAM Role for EC2, or a shared Identity Federation for AWS connector.

Connector

(Conditional) Select the shared Identity Federation for AWS Connector. Alternatively, select [Use connector variable ...] to supply the connector dynamically via Bamboo variables (needs to be a connector id such as f24e81bc-7aff-42db-86a2-7cf82e24d871) – refer to How to parametrize the AWS connector via a Bamboo variable for details.

Role ARN

(Conditional | Optional) Specify the ARN of another role that the agent's IAM role for EC2 should assume.

4. Configure the selected AWS action's parameters template as documented for each action:

  • Using the Put Systems Manager Parameter action

  • Using the Put EventBridge/CloudWatch Events action

  • Using the Get Systems Manager Parameter action

  • Using the Automate with AWS task in Bamboo

  • Using the Start Step Functions Execution action

  • Using the Start Systems Manager Automation Execution action

  • Using the Publish SNS Message action

  • Using the Invoke Lambda Function action

  • Using the Automate with AWS then action in Jira Service Management

  • Using the Automate with AWS post function in Jira

  • Using the Automate with AWS notification recipient in Bamboo

  • Using the Send SQS Message action
    Filter by label (Content by label)
    showLabelsfalse
    showSpacefalse
    cqllabel = "action" and title ~ "Using *"



    Entity Variables

    Besides regular Bamboo variables, you can also inject contextual variables with workflow entities into the remote action parameters template – applicable entities for the Bamboo task are:

    Page Properties Report
    firstcolumnName
    sortByTitle
    cqllabel = "entity" and label in ( "core" , "task" ) and space = currentSpace ( )

    Examples

    Info

    The examples are currently composed to reference only core entity variables – you can also reference Bamboo variables and applicable Bamboo specific entity variables.


    Filter by label (Content by label)
    showLabelsfalse
    showSpacefalse
    sorttitle
    excerptTypesimple
    cqllabel = "example" and label = "parameters" and label in ( "core" , "bamboo" )

    How-to Articles

    Filter by label (Content by label)
    max8
    showSpacefalse
    sorttitle
    excerptTypesimple
    cqllabel in ( "action" , "workflow" , "task" ) and label in ( "kb-how-to-article" , "kb-troubleshooting-article" ) and label = "automation-with-aws"

    Frequently Asked Questions (FAQ)

    Include Page
    UAA:_FAQHeaderQuestionsForConfluence
    UAA:_FAQHeaderQuestionsForConfluence
    Questionslist macro
    filterpopular
    asktrue
    limit8
    topicautomation-with-aws,integration