-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
As it is right now, you can define a stack-action and yet pass TERRAFORM_APPLY / TERRAFORM_DESTROY as an environment variable. Hence, you could create the environment and destroy it in the same run.
The idea would be to:
- Sanitize options. Make sure only one of them is chosen. (What should we do if stack-action collides with TERRAFORM_* ?)
- Run through a case statement, avoiding unnecessary validations and keeping the code cleaner.
- Print warning for the environment variables we want to remove in the future ( if we want to. 😄 )
arm4b
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request