How Do I Conditionally Generate Backend #838
Unanswered
AStrangwood
asked this question in
How do I
Replies: 1 comment
-
|
Hi, Super simplified example in: https://github.com/denis256/terragrunt-tests/tree/master/discussion-838 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I have a need were i want to generate two different backends depending on if im running locally or in a CI. To be more specific i would want the
remote_stateblock to use an AWSprofileif im running locally and to useassume_roleif in a CI.I cant find any way to conditionally set the vars for the
remote_stateblock. I tried to conditionally set each value ofassume_roleandprofilebut that fails as you cant setassume_rolevars to empty stringsBeta Was this translation helpful? Give feedback.
All reactions