Parameter Store (SSM)

This AWS integration allows you to configure CloudTruth External Parameters from your AWS Parameter Store.

Adding Integrations

If you already have a CloudTruth AWS integration you can add AWS SSM by editing the existing account, selecting this integration and adding the SSM inline policy. The Terraform and CloudFormation role setup methods automatically create the SSM inline policy.

To create a new or additional AWS account click Add AWS Account from the Integrations AWS page to bring up the add account pane. Add a name for the AWS account, your specific AWS account ID and the AWS account role name. CloudTruth allows you to select regions where your resources exist, all US regions are enabled by default.

The SSM Parameter store integration supports CloudTruth push actions. To enable Push Actions select Write Access for the integration and apply the write access inline policy for SSM.

Check the SSM Parameter Store integration and click Save.

The AWS account will enter an Integration Error state until the AWS role is configured. An auto generated External Id will be created to use in the AWS Role Creation.

Configuring the AWS Role

With the provided External ID create your AWS Role.

pageSetting up an AWS Role

SSM Parameter Store Inline Policy

Adding an Inline Policy to the AWS Role allows CloudTruth secure access to the selected integration service. The inline policy is automatically created if you used CloudFormation or Terraform to create the role.

From the AWS IAM Console select the role that you created for CloudTruth access.

Click Add Inline Policy.

Click the JSON Tab.

Paste in the following JSON for the SSM Parameter Store integration policy and click Review Policy.

External Parameter Policy

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "ParameterAccess",
            "Action": [
                "ssm:DescribeParameters",
                "ssm:GetParameter",
                "ssm:GetParameters",
                "ssm:GetParametersByPath"
            ],
            "Effect": "Allow",
            "Resource": "*"
        }
    ]
}

Write Access Parameter Policy for Push Actions

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "ParameterAccess",
            "Action": [
                "ssm:AddTagsToResource",
                "ssm:DeleteParameter",
                "ssm:DescribeParameters",
                "ssm:GetParameter",
                "ssm:GetParameters",
                "ssm:ListTagsForResource",
                "ssm:PutParameter",
                "ssm:RemoveTagsFromResource",
                "tag:GetResources"
            ],
            "Effect": "Allow",
            "Resource": "*"
        }
    ]
}

Type in a name for the policy and click Create Policy.

👏Setup is now complete for both the AWS Role and Policy. After refreshing by clicking "Check Integration Status" the CloudTruth integration will now show as "Connected", and you can begin creating External Parameter values that reference your AWS resources.

Last updated

Copyright© 2023 CloudTruth