Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to specify which region to extract an ssm param for in the parameter files #22

Closed
thomasmcgannon opened this issue Apr 1, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@thomasmcgannon
Copy link
Collaborator

Currently you can use the resolve: keyword in the params .json files to resolve parameters that are stored in the SSM Parameter Store, however this only allows you to retrieve the parameter form the main deployment account region.

{
    "Parameters" : {
        "SomeParam":"resolve:/path/to/key"
    }
}

Having a way to specify or override the region (like below for example), would help with multi-region deployments.

{
    "Parameters" : {
        "SomeParam":"resolve:/**region**/path/to/key"
    }
}
@bundyfx bundyfx added the enhancement New feature or request label Apr 1, 2019
bundyfx added a commit to bundyfx/aws-deployment-framework that referenced this issue Apr 2, 2019
bundyfx added a commit that referenced this issue Apr 2, 2019
@bundyfx
Copy link
Contributor

bundyfx commented Apr 2, 2019

PR #26 has been merged into master

If you wish to resolve parameters in the default deployment region you can use resolve:/path/to/param or if you wish to resolve from a different region within the deployment account you can pass resolve:eu-west-1:/path/to/param (eu-west-1 being the example)

@bundyfx bundyfx closed this as completed Apr 2, 2019
@tmaior
Copy link

tmaior commented Nov 8, 2019

hello, can help?
not working in:
AWS::ECS::TaskDefinition

Environment:
- Name: SLACK_WEBHOOK
Value: !Sub "{{resolve:us-east-1:/GENERAL/SECURITY_SLACK_WEBHOOK:1}}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants