-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
featureNew functionality/enhancementNew functionality/enhancement
Description
As a user of atlantis, I want to be able to specify a custom list of environment variables and use the default init, plan, apply steps. This allows me to not write custom commands when running terraform. Specifically:
- atlantis does some parsing of the apply output that makes it much cleaner and I want to reuse that instead of writing custom bash/awk scripts to do the same
- the
atlantis.yamlfile looks much cleaner without custom commands
It also seems like there are many related asks to this where the users seem to be asking for the ability to specify environment variables.
My proposal:
- add a new field called
envsto the Step type which would hold key value pairs specifying the environment: variable mapping e.g.
workflows:
team_A:
plan:
envs:
GOOGLE_APPLICATION_CREDENTIALS: GOOGLE_APPLICATION_CREDENTIALS_TEAM_A
steps:
- init
- plan
- apply
team_B:
plan:
envs:
GOOGLE_APPLICATION_CREDENTIALS: GOOGLE_APPLICATION_CREDENTIALS_TEAM_B
steps:
- init
- plan
- applyReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew functionality/enhancementNew functionality/enhancement