terraform

package
v0.7.20 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidCloudToken = errors.New("Invalid Terraform Cloud Token")
View Source
var ErrMissingCloudToken = errors.New("No Terraform Cloud Token is set")

Functions

func Cmd added in v0.6.3

func Cmd(opts *CmdOptions, args ...string) ([]byte, error)

func CreateConfigFile added in v0.7.10

func CreateConfigFile(dir string, terraformCloudHost string, terraformCloudToken string) (string, error)

func GetUsageOnlyResources added in v0.7.12

func GetUsageOnlyResources() []string

func HasSupportedProvider added in v0.7.3

func HasSupportedProvider(rType string) bool

func New added in v0.5.2

func New(cfg *config.Config, projectCfg *config.TerraformProject) schema.Provider

New returns new Terraform Provider.

Types

type CmdError added in v0.6.3

type CmdError struct {
	Stderr []byte
	// contains filtered or unexported fields
}

func (*CmdError) Error added in v0.6.3

func (e *CmdError) Error() string

type CmdOptions added in v0.6.2

type CmdOptions struct {
	TerraformBinary     string
	TerraformDir        string
	TerraformWorkspace  string
	TerraformConfigFile string
}

type Parser added in v0.7.17

type Parser struct {
	// contains filtered or unexported fields
}

func NewParser added in v0.7.17

func NewParser(env *config.Environment) *Parser

type ResourceRegistryMap added in v0.6.3

type ResourceRegistryMap map[string]*schema.RegistryItem

func GetResourceRegistryMap added in v0.6.0

func GetResourceRegistryMap() *ResourceRegistryMap

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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