Documentation ¶
Overview ¶
The instance package contains a packer.Builder implementation that builds AMIs for Amazon EC2 backed by instance storage, as opposed to EBS storage.
Index ¶
Constants ¶
View Source
const BuilderId = "mitchellh.amazon.instance"
The unique ID for this builder
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { common.PackerConfig `mapstructure:",squash"` awscommon.AccessConfig `mapstructure:",squash"` awscommon.AMIConfig `mapstructure:",squash"` awscommon.BlockDevices `mapstructure:",squash"` awscommon.RunConfig `mapstructure:",squash"` AccountId string `mapstructure:"account_id"` BundleDestination string `mapstructure:"bundle_destination"` BundlePrefix string `mapstructure:"bundle_prefix"` BundleUploadCommand string `mapstructure:"bundle_upload_command"` BundleVolCommand string `mapstructure:"bundle_vol_command"` S3Bucket string `mapstructure:"s3_bucket"` X509CertPath string `mapstructure:"x509_cert_path"` X509KeyPath string `mapstructure:"x509_key_path"` X509UploadPath string `mapstructure:"x509_upload_path"` // contains filtered or unexported fields }
Config is the configuration that is chained through the steps and settable from the template.
type StepBundleVolume ¶
type StepBundleVolume struct{}
func (*StepBundleVolume) Cleanup ¶
func (s *StepBundleVolume) Cleanup(map[string]interface{})
func (*StepBundleVolume) Run ¶
func (s *StepBundleVolume) Run(state map[string]interface{}) multistep.StepAction
type StepRegisterAMI ¶
type StepRegisterAMI struct{}
func (*StepRegisterAMI) Cleanup ¶
func (s *StepRegisterAMI) Cleanup(map[string]interface{})
func (*StepRegisterAMI) Run ¶
func (s *StepRegisterAMI) Run(state map[string]interface{}) multistep.StepAction
type StepUploadBundle ¶
type StepUploadBundle struct{}
func (*StepUploadBundle) Cleanup ¶
func (s *StepUploadBundle) Cleanup(state map[string]interface{})
func (*StepUploadBundle) Run ¶
func (s *StepUploadBundle) Run(state map[string]interface{}) multistep.StepAction
type StepUploadX509Cert ¶
type StepUploadX509Cert struct{}
func (*StepUploadX509Cert) Cleanup ¶
func (s *StepUploadX509Cert) Cleanup(map[string]interface{})
func (*StepUploadX509Cert) Run ¶
func (s *StepUploadX509Cert) Run(state map[string]interface{}) multistep.StepAction
Click to show internal directories.
Click to hide internal directories.