Introspects AWS EC2 and ECS metadata from running containers.
import { getInstanceIPV4 } from "@plato/aws-meta";
try {
const ip = await getInstanceIPV4();
// Do something with "ip"
} catch (e) {
// Failed to get local IP
}
Generated using TypeDoc