package
0.6.14
Repository: https://github.com/meteor/terraform.git
Documentation: pkg.go.dev

# Functions

ComposeTestCheckFunc lets you compose multiple TestCheckFuncs into a single TestCheckFunc.
NonRetryableError is a helper to create a RetryError that's _not)_ retryable from a given error.
Helper for a resource to generate a unique identifier w/ given prefix This uses a simple RFC 4122 v4 UUID with some basic cosmetic filters applied (base32, remove padding, downcase) to make visually distinguishing identifiers easier.
Retry is a basic wrapper around StateChangeConf that will just retry a function until it no longer returns an error.
RetryableError is a helper to create a RetryError that's retryable from a given error.
Test performs an acceptance test on a resource.
TestCheckOutput checks an output in the Terraform configuration.
No description provided by the author
TestCheckResourceAttrPtr is like TestCheckResourceAttr except the value is a pointer so that it can be updated while the test is running.
No description provided by the author
Helper for a resource to generate a unique identifier w/ default prefix.
UnitTest is a helper to force the acceptance testing harness to run in the normal unit test suite.

# Constants

No description provided by the author
No description provided by the author
UnitTestOverride is a value that when set in TestEnvVar indicates that this is a unit test borrowing the acceptance testing framework.

# Structs

Map is a map of resources that are supported, and provides helpers for more easily implementing a ResourceProvider.
No description provided by the author
No description provided by the author
RetryError is the required return type of RetryFunc.
StateChangeConf is the configuration struct used for `WaitForState`.
TestCase is a single acceptance test case used to test the apply/destroy lifecycle of a resource in a specific configuration.
TestStep is a single apply sequence of a test, done within the context of a state.

# Interfaces

TestT is the interface used to handle the test lifecycle of a test.

# Type aliases

CreateFunc is a function that creates a resource that didn't previously exist.
DestroyFunc is a function that destroys a resource that previously exists using the state.
DiffFunc is a function that performs a diff of a resource.
RefreshFunc is a function that performs a refresh of a specific type of resource.
RetryFunc is the function retried until it succeeds.
StateRefreshFunc is a function type used for StateChangeConf that is responsible for refreshing the item being watched for a state change.
TestCheckFunc is the callback type used with acceptance tests to check the state of a resource.
UpdateFunc is a function that is called to update a resource that previously existed.