localfile

package
v0.0.0-...-a2a49da Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalBackend

type LocalBackend struct {
	Path string `hcl:"path,attr" validate:"required"`
}

LocalBackend implements the Terraform local backend type. https://developer.hashicorp.com/terraform/language/settings/backends/local

func (LocalBackend) BackendType

func (b LocalBackend) BackendType() string

BackendType defines the type of the backend and implements the terra.Backend interface

type LocalFileStack

type LocalFileStack struct {
	terra.Stack

	Backend  LocalBackend    `validate:"required"`
	Provider *local.Provider `validate:"required"`
	File     *local.File     `validate:"required"`
}

func NewLocalFileStack

func NewLocalFileStack(filename string) *LocalFileStack

NewLocalFileStack returns a new LocalFileStack which implements the terra.Exporter interface and can be exported into Terraform configuration

Directories

Path Synopsis
out

Jump to

Keyboard shortcuts

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