Documentation ¶
Overview ¶
The ebsvolume package contains a packer.Builder implementation that builds EBS volumes for Amazon EC2 using an ephemeral instance,
Index ¶
Constants ¶
View Source
const BuilderId = "mitchellh.amazon.ebsvolume"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶ added in v0.12.1
type Artifact struct { // A map of regions to EBS Volume IDs. Volumes EbsVolumes // BuilderId is the unique ID for the builder that created this AMI BuilderIdValue string // EC2 connection for performing API stuff. Conn *ec2.EC2 }
Artifact is an artifact implementation that contains built AMIs.
type BlockDevice ¶
type BlockDevice struct { awscommon.BlockDevice `mapstructure:"-,squash"` Tags map[string]string `mapstructure:"tags"` }
type Config ¶
type Config struct { common.PackerConfig `mapstructure:",squash"` awscommon.AccessConfig `mapstructure:",squash"` awscommon.RunConfig `mapstructure:",squash"` VolumeMappings []BlockDevice `mapstructure:"ebs_volumes"` AMIENASupport bool `mapstructure:"ena_support"` AMISriovNetSupport bool `mapstructure:"sriov_support"` // contains filtered or unexported fields }
type EbsVolumes ¶ added in v0.12.1
map of region to list of volume IDs
Click to show internal directories.
Click to hide internal directories.