Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Ref: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-identity-documents.html AWSImdsUrl = "http://169.254.169.254/latest/dynamic/instance-identity/document" AWSUserDataImdsUrl = "http://169.254.169.254/latest/user-data" )
Variables ¶
This section is empty.
Functions ¶
func GetUserData ¶ added in v0.8.0
Method to retrieve userData from the instance metadata service and return it as a string
Types ¶
type Config ¶
type Config struct {
AccessKeyId string
SecretKey string
Region string
LoginProfile string
LaunchTemplateName string
ImageId string
InstanceType string
KeyName string
SubnetId string
SecurityGroupIds securityGroupIds
UseLaunchTemplate bool
InstanceTypes instanceTypes
InstanceTypeSpecList []cloud.InstanceTypeSpec
Tags cloud.KeyValueFlag
UsePublicIP bool
RootVolumeSize int
RootDeviceName string
DisableCVM bool
DisableCloudConfig bool
}
type MetadataRetriever ¶
type MetadataRetriever struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.