test

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package test contains acceptance tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertVpcExists

func AssertVpcExists(t *testing.T, actualVpcID, profile, region string)

func GetTerraformOptions

func GetTerraformOptions(terraformDir string, env Vars, overrideVars ...map[string]interface{}) *terraform.Options

func SetMultiEnvs added in v0.4.0

func SetMultiEnvs(variables map[string]string) error

func UnsetAWSEnvs added in v0.4.0

func UnsetAWSEnvs() error

func UnsetMultiEnvs added in v0.4.0

func UnsetMultiEnvs(variables []string) error

Types

type Vars added in v0.4.0

type Vars struct {
	AWSProfile1 string
	AWSProfile2 string
	AWSRegion1  string
	AWSRegion2  string
}

Vars are environment variables used in tests.

func Init added in v0.4.0

func Init(t *testing.T) Vars

Init sets variables for acceptance tests. Variables can be overwritten by environment variables.

Jump to

Keyboard shortcuts

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