You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've hit a few cases where the suggested remediation is to remove gitignored files in a component, including .terraform modules, .tfstate files, .backend.tf.json files, lockfiles, etc. Often this is due to worries about stale modules / dependencies that should be re-pulled.
atmos clean exists for a component/stack combination already. However, this is very tedious with a large number of components. It would be nice to have a quick command to clean up files that atmos generates with terraform (and optionally other tools).
Expected Behavior
atmos clean all would nuke out all the above files in all folders starting from the root of the project. Nice messaging from the command on success.
Care to ensure deletions are limited to the root of a project and not over the bind-mounted file system.
Use Case
Sanity when deploying a bunch of components.
Debugging with other developers
Describe Ideal Solution
See above.
Alternatives Considered
Adding our own script / custom atmos command, but seems generally useful to other users of atmos.
Activity
[-]`atmos clean` command[/-][+]`atmos clean all` command[/+]fix(security): remediate 5 of 7 open Dependabot alerts
fix(security): remediate 5 Dependabot alerts (go-git, dompurify, nanoid)
fix(security): remediate 5 CodeQL/Dependabot alerts
fix(security): remediate 5 of 7 open Dependabot alerts
fix(security): remediate 6 of 8 open Dependabot alerts
fix(security): remediate 5 Dependabot alerts, 2 unpatched and deferred
fix(ai): close DX gaps found in atmos ai field test (cloudposse#2903)
fix(steps): resolve relative paths against step.WorkingDirectory (clo…
fix(version): exclude draft GitHub releases from Version Tracker reso…
fix(git): tolerate config errors for CI git-clone bootstrap pre-Cobra (…
Fix toolchain set, markdown text loss, and mise/aqua migration doc bu…