tftest

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResourceTests

func ResourceTests(t *testing.T, tf string, resourceChecks []testutil.ResourceCheck)

func ResourceTestsForProject

func ResourceTestsForProject(t *testing.T, project Project, resourceChecks []testutil.ResourceCheck)

func RunCostCalculations

func RunCostCalculations(project Project) ([]*schema.Resource, error)

func WithProviders

func WithProviders(tf string) string

Types

type File

type File struct {
	Path     string
	Contents string
}

type Project

type Project struct {
	Files []File
}

Jump to

Keyboard shortcuts

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