Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Version published after converting to the new editor


Excerpt


Div
stylefloat:left; padding:0.5em 1em

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 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 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.



Integrations

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

Filter by label (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:

Code Block
languagejs
linenumberstrue
collapsetrue
{
    "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:

  1. 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
    titleParameter 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 Block
    languagejs
    titleGet Systems Manager Parameter skeleton - Atlassian Workflow Data
    linenumberstrue
    {
      "Name": "/net/utoolity/automation-with-aws/data/test-data",
      "WithDecryption": false
    }

    Code Block
    languagejs
    titleGet Systems Manager Parameter skeleton - Atlassian Workflow Secrets
    linenumberstrue
    {
      "Name": "/net/utoolity/automation-with-aws/secrets/test-secret",
      "WithDecryption": true
    }


    Conditions


    Code Block
    languagejs
    titleGet Systems Manager Parameter skeleton - Atlassian Workflow Data
    linenumberstrue
    {
      "Name": "/net/utoolity/automation-with-aws/conditions/test-condition",
      "WithDecryption": false
    }


    Code Block
    languagejs
    titleValue format for Systems Manager Parameter based condition
    {
            '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 available entities are:
Page Properties Report
firstcolumnName
sortByTitle
cqllabel = "entity" and label = "condition" and space = currentSpace ( )

Examples

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

How-to Articles

Filter by label (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