package
0.6.3
Repository: https://github.com/ibm-cloud/terraform.git
Documentation: pkg.go.dev

# Functions

ComposeTestCheckFunc lets you compose multiple TestCheckFuncs into a single TestCheckFunc.
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.
Test performs an acceptance test on a resource.
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.

# Constants

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

# 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
RetryError, if returned, will quit the retry immediately with the Err.
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.