Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
Div
stylefloat:left; padding:0.5em 1em

Image Removed

Use the Get Systems Manager Parameter action to evaluate remote conditions so that you can control Jira Service Management automation rules via the Automate with AWS if condition, control Jira workflow transitions via the workflow transitions via the Automate with AWS workflow condition and Automate with AWS workflow validator, and fail or succeed Bamboo builds and deployments via the Automate with AWS task. You can also use this action to inject action to inject remote configuration data and secrets stored as secure parameters in the AWS Systems Manager Parameter Store, or stored as secrets within AWS Secrets Manager.

Div
styleclear:both

AWS Systems Manager Parameter Store provides secure, hierarchical storage for configuration data management and secrets management. You can store data such as passwords, database strings, and license codes as parameter values. You can store values as plain text or encrypted data. You can then reference values by using the unique name that you specified when you created the parameter. [...] Parameter Store is offered at no additional charge.

panel

Integrations

You can use the Get Systems Manager Parameter action with the following integrations:

Content by Label
showLabelsfalse
showSpacefalse
cqllabel = "integration" and label in ( "bamboo" , "bitbucket" , "confluence" , "jira" ) and label = "condition" and space = currentSpace ( )

Requirements

The Get Systems Manager Parameter action requires sufficient IAM permissions - an adequate IAM policy similar to the one provisioned by the Automation with AWS (Core) CloudFormation template might look as follows:

Expand
Code Block
languagejs
linenumberstruecollapsetrue
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": [
                "ssm:GetParameter"
            ],
            "Resource": "*",
            "Effect": "Allow",
            "Sid": "SystemsManagerGetParameter"
        }
    ]
}

(lightbulb) Refer to Using Identity-Based Policies (IAM Policies) for AWS Systems Manager for details on how to create more granular/secure policies.

Configuration

To configure an Get Systems Manager Parameter action:

Complete the following settings:

Parameters

Specify the action parameters according to the following skeleton in JSON format – refer to ssm . get-parameter for details:

Tip

You can inject contextual variables into the remote action payload, refer to Entity Variables for details.

Tip
title

Parameter Store vs. Secrets Manager

Depending on your use case and security governance requirements, you can store secrets as Parameter Store parameters of type SecureString, or as actual Secrets Manager secrets as outlined in Referencing AWS Secrets Manager secrets from Parameter Store parameters. The following articles provide a comparison between the two services:

Configuration data and secrets

Code Blocklanguagejs

title

Get Systems Manager Parameter skeleton - Atlassian Workflow Data

linenumbers
Code Block
true
{
  "Name": "/net/utoolity/automation-with-aws/data/test-data",
  "WithDecryption": false
}
Code Blocklanguagejs
title

Get Systems Manager Parameter skeleton - Atlassian Workflow Secrets

linenumbers
Code Block
true
{
  "Name": "/net/utoolity/automation-with-aws/secrets/test-secret",
  "WithDecryption": true
}

Conditions

Code Blocklanguagejs

title

Get Systems Manager Parameter skeleton - Atlassian Workflow Data

linenumbers
Code Block
true
{
  "Name": "/net/utoolity/automation-with-aws/conditions/test-condition",
  "WithDecryption": false
}
Code Blocklanguagejs
title

Value format for Systems Manager Parameter based condition

Code Block
{
        'result': false,
        'errorMessage': "Deployment blocked due to remote condition being false"
}

Entity Variables

You can inject contextual workflow variables with workflow entities into the remote action payload template

– currently

– currently available entities are:

Page Properties Report
firstcolumnName
sortByTitle
cqllabel = "entity" and label = "condition" and space = currentSpace ( )

Examples

Content by Label
showLabelsfalse
showSpacefalse
sorttitle
excerptTypesimple
cqllabel = "example" and label = "parameters" and label = "get-systemsmanager-parameter"

How-to Articles

Content by Label
max8
showSpacefalse
sorttitle
excerptTypesimple
cqllabel in ( "action" , "systemsmanager" , "parameter" ) 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
asktrue
limit8
topicautomation-with-aws,action,systemsmanager,parameter