apply

package
v0.70.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(fs afero.Fs, conf *v2.Config, tmp *templates.T, upgrade bool) error

Apply will run a plan and apply all the changes to the current repo.

Types

type ExtraTeamPermissions added in v0.69.0

type ExtraTeamPermissions struct {
	Plan *[]string `json:"plan,omitempty"`
	Read *[]string `json:"read,omitempty"`
}

type Locals added in v0.69.0

type Locals struct {
	Accounts         map[string]*TFEWorkspace            `json:"accounts,omitempty"`
	Envs             map[string]map[string]*TFEWorkspace `json:"envs,omitempty"`
	DefaultTFVersion *string                             `json:"default_terraform_version,omitempty"`
}

type LocalsTFE added in v0.69.0

type LocalsTFE struct {
	Locals *Locals `json:"locals,omitempty"`
}

type TFEWorkspace added in v0.69.0

type TFEWorkspace struct {
	TriggerPrefixes      *[]string             `json:"trigger_prefixes"`
	WorkingDirectory     *string               `json:"working_directory,omitempty"`
	TerraformVersion     *string               `json:"terraform_version,omitempty"`
	ExtraTeamPermissions *ExtraTeamPermissions `json:"extra_team_permissions,omitempty"`
	GithubBranch         *string               `json:"branch,omitempty"`
	AutoApply            *bool                 `json:"auto_apply,omitempty"`
	RemoteApply          *bool                 `json:"remote_apply,omitempty"`
}

func MakeTFEWorkspace added in v0.69.0

func MakeTFEWorkspace() *TFEWorkspace

Jump to

Keyboard shortcuts

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