Replies: 3 comments
-
After a long fight @AviAvni found a working solution |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If it actually , you can do this via Terraform: https://www.linkedin.com/pulse/how-receive-public-ipv4-from-aws-ecs-via-terraform-egor-salo-l9a9e |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm starting an ECS task using RunTaskCommand with assignPublicIp: "ENABLED"
I do see in the the console that the task has a public IP and can even connect it.
But I can't find a way to get the public IP after the task starts, tried different ways and APIs including:
waitUntilTasksRunning & DescribeTasksCommand
But it always just returns the private IP and not the public IP.
According to this docs binding should be part of the result
aws-sdk-js-v3/clients/client-ecs/src/commands/DescribeTasksCommand.ts
Line 105 in 0ce9353
Beta Was this translation helpful? Give feedback.
All reactions