Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstanceID ¶
func InstanceID(ctx types.Context) (*types.InstanceID, error)
InstanceID returns the instance ID for the local host.
func IsEC2Instance ¶
IsEC2Instance returns a flag indicating whether the executing host is an EC2 instance based on whether or not the metadata URL can be accessed.
func ResolveSubnet ¶
ResolveSubnet determines the VPC subnet ID on the running AWS instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.