use variable in ssm path
Closed this issue · 2 comments
bean-tt-tw commented
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 commented
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 commented
Hey @machadoit, okay cool. Thanks for your quick response. This tool is really helpful!