package
0.15.5
Repository: https://github.com/hashicorp/terraform.git
Documentation: pkg.go.dev

# Functions

RandInt generates a random integer.
No description provided by the author
RandIpAddress returns a random IP address in the specified CIDR block.
RandomWithPrefix is used to generate a unique name with a prefix, for randomizing names in acceptance tests.
RandSSHKeyPair generates a public and private SSH key pair.
RandString generates a random alphanumeric string of the length specified.
RandStringFromCharSet generates a random string by selecting characters from the charset provided.
RandTLSCert generates a self-signed TLS certificate with a newly created private key, and returns both the cert and the private key PEM encoded.
RemoteTestPrecheck is meant to be run by any unit test that requires outbound internet connectivity.

# Constants

CharSetAlpha is the alphabetical character set for use with RandStringFromCharSet.
CharSetAlphaNum is the alphanumeric character set for use with RandStringFromCharSet.
SkipRemoteTestsEnvVar is an environment variable that can be set by a user running the tests in an environment with limited network connectivity.