have a dynamic inputs legacy value depending on other inputs #538
maxmorloks
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
just an idea but we could have something like that:
inputs:
type: string
legal_values: ["prod", "preprod", "qual", "dev"]
description: "Environment of the project infrastructure (example : dev|qual|preprod|prod) : "
type: string
legal_values: [if inputs.environment = prod: "P-MYSERVER01", "P-MYSERVER02", "P-MYSERVER03", "P-MYSERVER04"]
legal_values: [if inputs.environment = dev: "D-MYSERVER01", "D-MYSERVER02", "D-MYSERVER03", "D-MYSERVER04"]
legal_values: [if inputs.environment = qual: "Q-MYSERVER01", "Q-MYSERVER02", "Q-MYSERVER03", "Q-MYSERVER04"]
regards
Beta Was this translation helpful? Give feedback.
All reactions