variables

package
v0.19.783 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VarFile

type VarFile struct {
	Filename string
	Contents []byte
}

type Variables

type Variables interface {
	Init(context.Context) error

	// Env vars represent environment variables that need to be set in the environment before any runs
	GetEnv(context.Context) (map[string]string, error)

	// File vars represent files that should be written into a variables file in terraform
	GetFiles(context.Context) ([]VarFile, error)
}

Variables configures a way to set up a terraform workspace with appropriate variables, that can come from either settings in a file, or the environment.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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