-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
fix terraform clean bugs #870
base: main
Are you sure you want to change the base?
Changes from all commits
6832ddd
0c90df5
a2b820e
1649cd9
4a9bde6
755e5c6
13126b2
7e2f054
f4a81b3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ Execute the `terraform clean` command like this: | |
atmos terraform clean <component> -s <stack> [--skip-lock-file] [--everything] [--force] | ||
|
||
:::warning | ||
The `--everything` flag will delete all Terraform-related files including state files. The `--force` flag will bypass confirmation prompts. | ||
The `--everything` flag is the default behavior and will delete all Terraform-related files including state files, with a confirmation prompt before proceeding. The `--force` flag will bypass confirmation prompts. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
@haitham911 please review/update the docs and help. If There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have changed it so The previous behavior was to error, and print usage. We added the |
||
Use these flags with extreme caution as they can lead to irreversible data loss. | ||
::: | ||
``` | ||
|
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.
from the description it's not clear what is the default behavior - using the
--everything
flag, or that it will prompt the user for confirmation.Please update it and make it more clear why do we need the flag, what is the default behavior, and also how
--force
flag is related to the--everything
flag (they should be used together).