amazonimport

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2017 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const BuilderId = "packer.post-processor.amazon-import"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	common.PackerConfig    `mapstructure:",squash"`
	awscommon.AccessConfig `mapstructure:",squash"`

	// Variables specific to this post processor
	S3Bucket    string            `mapstructure:"s3_bucket_name"`
	S3Key       string            `mapstructure:"s3_key_name"`
	SkipClean   bool              `mapstructure:"skip_clean"`
	Tags        map[string]string `mapstructure:"tags"`
	Name        string            `mapstructure:"ami_name"`
	Description string            `mapstructure:"ami_description"`
	Users       []string          `mapstructure:"ami_users"`
	Groups      []string          `mapstructure:"ami_groups"`
	LicenseType string            `mapstructure:"license_type"`
	// contains filtered or unexported fields
}

Configuration of this post processor

type PostProcessor

type PostProcessor struct {
	// contains filtered or unexported fields
}

func (*PostProcessor) Configure

func (p *PostProcessor) Configure(raws ...interface{}) error

Entry point for configuration parsing when we've defined

func (*PostProcessor) PostProcess

func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (packer.Artifact, bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL