https://www.runatlantis.io/ logo
Title
l

Lucas

02/27/2023, 10:57 AM
Hi team! is there any other way to use
variables
, a part from specifying them under the steps?
workflows:
  ec2_dev:
    plan:
      steps:
      - env:
I don’t want to duplicate them and was after a global variable option? Thanks!
r

RB

02/27/2023, 12:20 PM
Yaml anchors might help you
p

PePe Amengual

02/27/2023, 5:34 PM
and if you need a bunch of variables that you need to pull, you can use multienv step
l

Lucas

02/27/2023, 7:17 PM
But
multienv
also needs to be set at the
steps
level, right? so that doesn’t help me
If you would have an example on how to use
multienv
I’d appreciate it please
p

PePe Amengual

02/27/2023, 7:51 PM
yes, that is a a step