aws

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

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

AWS represents a dummy provisioner

func New

func New(config *configuration.Configuration) *AWS

New instantiates a new AWS provisioner

func (AWS) Box

func (d AWS) Box() *packr.Box

Box returns the box that has the files as binary data

func (AWS) Destroy

func (d AWS) Destroy() (err error)

Destroy runs terraform destroy in the project

func (*AWS) DestroyMessage

func (d *AWS) DestroyMessage() string

DestroyMessage return a custom provisioner message the user will see once the cluster is destroyed

func (*AWS) Enterprise

func (d *AWS) Enterprise() bool

Enterprise return a boolean indicating it is an enterprise provisioner

func (*AWS) InitMessage

func (d *AWS) InitMessage() string

InitMessage return a custom provisioner message the user will see once the cluster is ready to be updated

func (AWS) Plan

func (d AWS) Plan() (err error)

Plan runs a dry run execution

func (AWS) Prepare added in v0.5.0

func (d AWS) Prepare() (err error)

Plan runs a dry run execution

func (*AWS) SetTerraformExecutor

func (d *AWS) SetTerraformExecutor(tf *tfexec.Terraform)

SetTerraformExecutor adds the terraform executor to this provisioner

func (*AWS) TerraformExecutor

func (d *AWS) TerraformExecutor() (tf *tfexec.Terraform)

TerraformExecutor returns the current terraform executor of this provisioner

func (AWS) TerraformFiles

func (d AWS) TerraformFiles() []string

TerraformFiles returns the list of files conforming the terraform project

func (AWS) Update

func (d AWS) Update() (string, error)

Update runs terraform apply in the project

func (*AWS) UpdateMessage

func (d *AWS) UpdateMessage() string

UpdateMessage return a custom provisioner message the user will see once the cluster is updated

Jump to

Keyboard shortcuts

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