template

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateBackendTf

func GenerateBackendTf(opts BackendOpts, path string) error

func GenerateConfigFile

func GenerateConfigFile(opts ConfigOpts, path string) error

func GenerateVarsTf

func GenerateVarsTf(opts VarsOpts, path string) error

Types

type BackendOpts

type BackendOpts struct {
	ENV                            string
	LOCALSTACK_ENDPOINT            string
	TERRAFORM_STATE_BUCKET_NAME    string
	TERRAFORM_STATE_KEY            string
	TERRAFORM_STATE_REGION         string
	TERRAFORM_STATE_PROFILE        string
	TERRAFORM_STATE_DYNAMODB_TABLE string
	TERRAFORM_AWS_PROVIDER_VERSION string
}

type ConfigOpts

type ConfigOpts struct {
	ENV               string
	AWS_PROFILE       string
	AWS_REGION        string
	TERRAFORM_VERSION string
	NAMESPACE         string
}

type VarsOpts

type VarsOpts struct {
	ENV               string
	AWS_PROFILE       string
	AWS_REGION        string
	EC2_KEY_PAIR_NAME string
	TAG               string
	SSH_PUBLIC_KEY    string
	DOCKER_REGISTRY   string
	NAMESPACE         string
}

Jump to

Keyboard shortcuts

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