-
-
Notifications
You must be signed in to change notification settings - Fork 146
Closed
Description
Bug Description
When running atmos tf plan --all --stack <stack>, atmos displays a list of components and prompts the user to select one. However, if a component is selected, it errors out with:
ℹ Selected component mycomponent
Error
Error: component mycomponent : the component argument can't be used with the multi-component (bulk operations) flags --affected , --all , --query and --components
Expected Behavior
When using --all flag, atmos should either:
- Not prompt for component selection at all (since
--allimplies all components), or - If prompting is intentional for filtering, it should handle the selection without erroring
Root Cause (suspected)
The recently added feature for atmos to automatically prompt for missing positional arguments appears to conflict with the --all flag. It seems the prompt logic wasn't tested together with the bulk operation flags.
Steps to Reproduce
- Run
atmos tf plan --all --stack <stack> - Observe the component selection prompt
- Select any component from the list
- Observe the error
Environment
- atmos with auto-prompt for missing positional arguments feature enabled
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels