Skip to content

Instantly share code, notes, and snippets.

@IngmarStein
IngmarStein / ECSDynamicHostPort.go
Last active January 21, 2020 14:32
Get dynamically mapped host port from within ECS container
package main
import (
"encoding/json"
"io/ioutil"
"log"
"net/http"
"os"
"bufio"

Keybase proof

I hereby claim:

  • I am ingmarstein on github.
  • I am ingmarstein (https://keybase.io/ingmarstein) on keybase.
  • I have a public key whose fingerprint is F82B 557A C869 EE79 E00E F9B7 CDBC 8902 E711 5525

To claim this, I am signing this object: