-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to disable arbitrary terraform command arguments #110
Comments
Hi, can you elaborate on what you mean by this? Do you mean how you can add |
In the case of my project, we're supplying the environment name as a terraform variable. So you could write something like |
@sw-carlin Would this be similar to another feature request I am also proposing at #113 ? |
That's definitely related as they are using a similar multi-envrionment setup. I have decided that if my team uses Atlantis we'll convert to using workspaces which I guess solves this issue for us. |
This can be achieved via a custom workflow that doesn't use the built-in commands and so won't allow the extra args to be applied: workflows:
custom:
apply:
steps:
- run: terraform apply -out $PLANFILE |
Being able to add arbitrary arguments to the
Atlantis apply
comment makes it fairly easy to circumvent access restrictions to protected environments. We should be able to disable this feature.The text was updated successfully, but these errors were encountered: