terraform

package
v0.0.0-...-d426aa2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const PlanFile = "terraform.plan"

Variables

This section is empty.

Functions

func Apply

func Apply(ctx context.Context, path string, opts ...ApplyOption) (string, error)

func Init

func Init(ctx context.Context, path string, opts ...InitOption) (string, error)

func Plan

func Plan(ctx context.Context, path string, opts ...PlanOption) (string, error)

func Show

func Show(ctx context.Context, path string, opts ...ShowOption) (string, error)

func Validate

func Validate(ctx context.Context, path string, opts ...ValidateOption) (string, error)

Types

type ApplyOption

type ApplyOption func([]string) []string

func ApplyWithAutoApprove

func ApplyWithAutoApprove() ApplyOption

func ApplyWithDestroy

func ApplyWithDestroy() ApplyOption

func ApplyWithJson

func ApplyWithJson() ApplyOption

type InitOption

type InitOption func([]string) []string

func InitWithDisableBackend

func InitWithDisableBackend() InitOption

type PlanOption

type PlanOption func([]string) []string

func PlanWithJson

func PlanWithJson() PlanOption

func PlanWithNoLock

func PlanWithNoLock() PlanOption

type ShowOption

type ShowOption func([]string) []string

func ShowWithJson

func ShowWithJson() ShowOption

func ShowWithNoColor

func ShowWithNoColor() ShowOption

type ValidateOption

type ValidateOption func([]string) []string

func ValidateWithJson

func ValidateWithJson() ValidateOption

Jump to

Keyboard shortcuts

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