-
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
docs(using-atlantis): add usage for -destroy flag in atlantis plan #3755
docs(using-atlantis): add usage for -destroy flag in atlantis plan #3755
Conversation
Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com>
Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the contribution @leylmordor
To perform a destructive plan that will destroy resources in the specified directory, you can use the `-destroy` flag like this: | ||
|
||
```bash | ||
atlantis plan -d dir -- -destroy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
atlantis plan -d dir -- -destroy | |
atlantis plan -- -destroy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are cases where users may run on a different directory, so I think atlantis plan -d dir -- -destroy
this could also be useful for new users to have
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…unatlantis#3755) * docs(using-atlantis): add usage for -destroy flag in atlantis plan Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com> * docs(using-atlantis): add closing to caution note Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com> * Update runatlantis.io/docs/using-atlantis.md Co-authored-by: PePe Amengual <jose.amengual@gmail.com> * Update runatlantis.io/docs/using-atlantis.md Co-authored-by: PePe Amengual <jose.amengual@gmail.com> * chore(atlantis): add example Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com> --------- Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com> Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
…unatlantis#3755) * docs(using-atlantis): add usage for -destroy flag in atlantis plan Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com> * docs(using-atlantis): add closing to caution note Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com> * Update runatlantis.io/docs/using-atlantis.md Co-authored-by: PePe Amengual <jose.amengual@gmail.com> * Update runatlantis.io/docs/using-atlantis.md Co-authored-by: PePe Amengual <jose.amengual@gmail.com> * chore(atlantis): add example Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com> --------- Signed-off-by: Abdulla Mulail Mohamed <mulailmohamed@gmail.com> Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
what
why