-
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
How to use custom workflows and restrict actions by username #701
Comments
@red8888 I've moved your question here. There is no such thing as a destroy workflow. Only plan and apply are supported. You can run Your apply workflow looks good (I haven't tested it), except you don't need the |
This does not appear to be working. Im using the following config:
Even if I comment out apply it still just runs apply instead of the custom commands |
ok it seems im misunderstanding "default" because this does run custom commands but it seems $USERNAME is blank
|
oops, it looks like the environment variable is actually |
ah i just did a printenv and i see it is USER_NAME Also, was I using "default:" wrong? It doesn't matter, using |
If you're writing atlantis.yaml repo-side config then
If you're doing this server-side, the default workflow that Atlantis ships with will be used unless you override with |
gotcha thanks for clarifying |
is this thread for identifying bitbucket user for authentication of approval |
amazing! So if I wanted to run apply and destroy with the default behavior and just add a check for an allowed list of users I would just have to do this right?
Originally posted by @red8888 in #308 (comment)
The text was updated successfully, but these errors were encountered: