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

use variable in ssm path #26

Closed
bean-tt-tw opened this issue Sep 14, 2020 · 2 comments
Closed

use variable in ssm path #26

bean-tt-tw opened this issue Sep 14, 2020 · 2 comments

Comments

@bean-tt-tw
Copy link

Hi , I'm wondering is there anyway to use variable or parameter in path section.
For example:
value.yaml

env: dev
key1: {{ ssm /{{ .env }}/exists/subdomain" }}

Which will search the path /dev/exists/subdomain for ssm path.
This way we could switch value with env easily without changing the value.yaml.

Thanks in advance.

@machadoit
Copy link
Member

Hey @bean-tt-tw, we don't support it, we maintain our SSM with the same paths across different AWS account for different environment. Not sure if https://helm.sh/docs/howto/charts_tips_and_tricks/ can help you, but we are not looking for supporting this at the moment

@bean-tt-tw
Copy link
Author

Hey @machadoit, okay cool. Thanks for your quick response. This tool is really helpful!

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

No branches or pull requests

2 participants