Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fargate Task with ECS exec Task Role missing under ECS cluster resource #4615

Open
trevorstr opened this issue Mar 29, 2024 · 0 comments
Open
Labels
bug We can reproduce the issue and confirmed it is a bug.

Comments

@trevorstr
Copy link

Problem

  • I have an Amazon ECS Cluster, in which I have deployed an AWS Fargate Task.
  • I have associated an IAM Task Role with this Fargate Task that allows ECS exec to work (via Systems Manager Agent).
  • I can see the ECS Task running in the AWS Management Console.
  • I can use the AWS CLI, with Session Manager plugin, to remotely exec a process interactively inside the Fargate Task.
  • When I view the ECS Cluster in VSCode, with the AWS Toolkit, I am unable to see this Fargate Task. It says "No Containers Found"

Screenshot showing missing container in us-west-2 region:

Screenshot 2024-03-29 at 12 16 34 AM

Screenshot showing successful ECS exec interactive connection to container, via Session Manager:

Screenshot 2024-03-29 at 12 22 16 AM

Expected behavior

Fargate Tasks should appear under ECS clusters, in the AWS Toolkit.

System details (run the AWS: About Toolkit command)

  • OS: MacOS latest
  • Visual Studio Code version: 1.87.2
  • AWS Toolkit version: 2.17.0
@trevorstr trevorstr added the bug We can reproduce the issue and confirmed it is a bug. label Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug We can reproduce the issue and confirmed it is a bug.
Projects
None yet
Development

No branches or pull requests

1 participant