Skip to content

Session Manager plugin prompts to update even though it's on the latest version #4627

@FraserThompson

Description

@FraserThompson

I am running Copilot in a Docker container on top of the official aws-cli Docker image.

When I try to do svc exec I get:

1.2.458.0

  Looks like the Session Manager plugin is using version .
Would you like to update it to the latest version 1.2.458.0? (y/N)

It's already at the latest version, so this feels like a bug (also the strange formatting of the message).

Also, if possible it would be great if there was an option to skip these update checks because it makes automated exec calls harder to do if there's a chance it might prompt for user input.

This is my Dockerfile in case it helps:

FROM amazon/aws-cli:2.11.2

RUN curl -Lo copilot https://github.com/aws/copilot-cli/releases/download/v1.26.0/copilot-linux && chmod +x copilot && mv copilot /usr/local/bin/copilot
RUN curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm" -o "session-manager-plugin.rpm" && yum install -y session-manager-plugin.rpm

ENTRYPOINT ["/usr/local/bin/copilot"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugIssues that are bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions