template

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 12 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 added in v1.1.1

func GenerateConfigFile(opts ConfigOpts, path string) error

func GenerateVarsTf

func GenerateVarsTf(opts VarsOpts, path string) error

Types

type BackendOpts

type BackendOpts struct {
	NAMESPACE                      string
	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 added in v1.1.1

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
	ROOT_DOMAIN_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