Skip to content

aws ecs execute-command keeps asking to use AWS CLI #9432

Closed
@amw

Description

@amw

Describe the bug

Every time I use aws ecs execute-command (successfully) one of the messages it prints is:

The Session Manager plugin was installed successfully. Use the AWS CLI to start a session.

This is confusing, because:

  • it tells me to use AWS CLI while I am already using it
  • it sounds as if it was installed in the process of running this command, but it was installed all the time

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

I would prefer this message to be skipped entirely. It is already followed by:

Starting session with SessionId: ecs-execute-command-XXXX"

If a message is necessary maybe it could be reworded to something like:

Found an installed Session Manager plugin.

Current Behavior

A rather confusing and chatty log is printed.

Reproduction Steps

exec aws ecs execute-command ...

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.24.26 Python/3.12.9 Darwin/24.4.0 source/arm64

Environment details (OS name and version, etc.)

macOS Sequoia

Metadata

Metadata

Labels

bugThis issue is a bug.closing-soonThis issue will automatically close in 4 days unless further comments are made.ecsp3This is a minor priority issueresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions