terraform

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean(ectx ExecutionContext, clearDataDir bool) error

func GenerateBackendFile

func GenerateBackendFile(ectx ExecutionContext, format string) error

func GenerateVarFileFile

func GenerateVarFileFile(ectx ExecutionContext, format string) error

Types

type Backend

type Backend struct {
	Type string         `hcle:",label"`
	Data map[string]any `hcle:",body"`
}

type ExecutionContext

type ExecutionContext struct {
	Config          *config.Configuration
	Stack           *stack.Stack
	ComponentName   string
	ComponentConfig stack.ConfigWithMetadata
	WorkingDir      string
	DryRun          bool
}

type Root

type Root struct {
	Terraform Terraform `json:"terraform" hcle:"terraform,block"`
}

type Terraform

type Terraform struct {
	Backend Backend `json:"-" hcle:"backend,block"`

	JSONBackend map[string]map[string]any `json:"backend,inline" `
}

Jump to

Keyboard shortcuts

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