Centralized Input Values from Parameter-Store #375
EvgenyKhaliper
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In many cases, you may want to define a set of allowed values once and reference it in multiple blueprints.
The new input type "parameter" allows you to do just that: define a set of values under a single parameter key, then you can reference the key in multiple blueprints. This is a time saver - it's reusable and you have no repetitions. If you want to change something (remove a value, modify etc) you make the change in one place and it affects all blueprints which referenced it.
You can define the parameter either in the account level or in the space level.
For example, if you define the following parameter:
"aws-allowed-regions" : "us-west-1,us-west-2,eu-west-1"
Any blueprint can now reference it like so:
When the user will launch an environment with the "region" input, they will get a dropdown with the 2 allowed values:
For more information, see "parameter" input type in the Torque documentation.
Beta Was this translation helpful? Give feedback.
All reactions