Skip to content

Improved error when getting taskSubnetId#74

Open
scacyba wants to merge 1 commit into
aws-containers:mainfrom
scacyba:scacyba-patch-1
Open

Improved error when getting taskSubnetId#74
scacyba wants to merge 1 commit into
aws-containers:mainfrom
scacyba:scacyba-patch-1

Conversation

@scacyba
Copy link
Copy Markdown

@scacyba scacyba commented Dec 5, 2024

For Fargate containers using Service Connect, the SubnetID of the network interface may not be obtained from .attachments[0], and the following error occurs.

An error occurred (InvalidSubnetID.NotFound) when calling the DescribeSubnets operation: The subnet ID '' does not exist

I fixed to get the network interface information explicitly. However, I don't think this is the best solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant