Blueprints: support array input and methods
I would like my Blueprints to support adding arbitrary environment variables to the stacks it creates.
Example usage:
inputs:
- id: env_vars
name: Extra env vars, entered as key=val
type: array
[...]
stacks:
- key: mystack
environment:
variables:
- name: TF_VAR_name
value: mystack
${{ -- some way to add input.env_vars -- }}Example usage would be to pass parameters like env_vars=”key1=foo,key2=foo”
- Workaround
- No
Log in to comment and vote
Comments1
Aleksandra Cieslak
Jul 22
Thanks for this suggestion, and sorry for the long wait on a reply.
We've reviewed this request and, at this time, we won't be adding native array-type inputs with iteration support to Blueprints/Templates. This would require a fairly significant change to our templating engine, and we haven't seen this need come up broadly enough to prioritize it against other roadmap items right now. I'll close this specific item for now. Feel free to add more detail on your use case if it's still relevant, it helps us prioritize if this comes up again.