tfvars

package
v0.90.100 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 59 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GCPFirewallPermission is the role/permission to create or skip the creation of
	// firewall rules for GCP during an xpn installation.
	GCPFirewallPermission = "compute.firewalls.create"

	// TfVarsFileName is the filename for Terraform variables.
	TfVarsFileName = "terraform.tfvars.json"

	// TfPlatformVarsFileName is the name for platform-specific
	// Terraform variable files.
	//
	// https://www.terraform.io/docs/configuration/variables.html#variable-files
	TfPlatformVarsFileName = "terraform.platform.auto.tfvars.json"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TerraformVariables

type TerraformVariables struct {
	FileList []*asset.File
}

TerraformVariables depends on InstallConfig, Manifests, and Ignition to generate the terrafor.tfvars.

func (*TerraformVariables) Dependencies

func (t *TerraformVariables) Dependencies() []asset.Asset

Dependencies returns the dependency of the TerraformVariable.

func (*TerraformVariables) Files

func (t *TerraformVariables) Files() []*asset.File

Files returns the files generated by the asset.

func (*TerraformVariables) Generate

func (t *TerraformVariables) Generate(ctx context.Context, parents asset.Parents) error

Generate generates the terraform.tfvars file.

func (*TerraformVariables) Load

func (t *TerraformVariables) Load(f asset.FileFetcher) (found bool, err error)

Load reads the terraform.tfvars from disk.

func (*TerraformVariables) Name

func (t *TerraformVariables) Name() string

Name returns the human-friendly name of the asset.

Jump to

Keyboard shortcuts

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