Skip to content

Get taskSubnetId by checking attachements widely#73

Open
darai0512 wants to merge 1 commit into
aws-containers:mainfrom
darai0512:main
Open

Get taskSubnetId by checking attachements widely#73
darai0512 wants to merge 1 commit into
aws-containers:mainfrom
darai0512:main

Conversation

@darai0512
Copy link
Copy Markdown

Issue #, if available:

Description of changes:
In my describe-tasks json, tasks[0].attachments have ServiceConnect information firstly and ElasticNetworkInterface information secondly.
So, I cannot get my taskSubnetId by current logic and this script exits with an error.
I fixed it by checking attachements list widely. (Sorry, I don't know if this way is best.)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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