package
0.0.17
Repository: https://github.com/excoriate/tftest.git
Documentation: pkg.go.dev

# Functions

GetTerraformDir returns the Terraform directory path for the scenario.
New creates a new Terraform Client with default retryable errors and saves it to the workdir.
NewWithOptions creates a new Client with the specified options.
SetupTerraformDirForParallelism sets up the Terraform directory for parallelism by copying the specified Terraform directory to a temporary directory.
WithAWS enables the AWS Cloud Provider (Client) for the options and sets the AWS region.
WithEnvVars sets the environment variables for the options.
WithParallel enables parallelism for the options.
WithPlanFile sets the plan file path for the options.
WithRetry sets the retry options for the Terraform operations.
WithScannedTFVars scans the working directory and fixtures directory for Terraform variable files and sets them for the options.
WithVarFiles sets the variable files for the options.
WithVars sets the Terraform variables for the options.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Client represents a Terraform client for managing Terraform operations.
JSONPathTestCases represents the test cases for JSON path assertions.
Options represents the configuration options for a Terraform scenario.
StageClient represents a client for managing Terraform stages.

# Interfaces

Config defines an interface for obtaining Terraform options and AWS configuration.
Stage defines an interface for managing Terraform stages.

# Type aliases

OptFn is a function type used to modify Options.
TestType represents the type of test to be performed.