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
I'm not sure if you're still encountering this issue, but I resolved a similar problem by adding "enableExecuteCommand": true to the service definition.
Based on:
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html
In am trying to connect to a container running in a Fargate task using the session manager from my local machine (Mac M1).
I have installed:
And based on:
https://stackoverflow.com/a/67641633/363603
I am trying to start it with:
but get:
An error occurred (TargetNotConnected) when calling the StartSession operation: ecs:sample-cluster_ef***a9e0_efe**536 is not connected.
I also tried to add:
to the Fargate task IAM role but besides from that I have not done anything special to on my Fargate task so most likely I am missing some config from:
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-prerequisites.html
but any input is appreciated!
The text was updated successfully, but these errors were encountered: