Package-level declarations
Types
The provider type for the random package. By default, resources use package-wide configuration settings, however an explicit Provider
instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the documentation for more information.
Builder for ProviderArgs.
The resource random.RandomBytes
generates random bytes that are intended to be used as a secret, or key. Use this in preference to random.RandomId
when the output is considered sensitive, and should not be displayed in the CLI. This resource does use a cryptographic random number generator.
The resource random.RandomBytes
generates random bytes that are intended to be used as a secret, or key. Use this in preference to random.RandomId
when the output is considered sensitive, and should not be displayed in the CLI. This resource does use a cryptographic random number generator.
Builder for RandomBytesArgs.
Builder for RandomBytes.
The resource random.RandomId
generates random numbers that are intended to be used as unique identifiers for other resources. If the output is considered sensitive, and should not be displayed in the CLI, use random.RandomBytes
instead. This resource does use a cryptographic random number generator in order to minimize the chance of collisions, making the results of this resource when a 16-byte identifier is requested of equivalent uniqueness to a type-4 UUID. This resource can be used in conjunction with resources that have the create_before_destroy
lifecycle flag set to avoid conflicts with unique names during the brief period where both the old and new resources exist concurrently.
The resource random.RandomId
generates random numbers that are intended to be used as unique identifiers for other resources. If the output is considered sensitive, and should not be displayed in the CLI, use random.RandomBytes
instead. This resource does use a cryptographic random number generator in order to minimize the chance of collisions, making the results of this resource when a 16-byte identifier is requested of equivalent uniqueness to a type-4 UUID. This resource can be used in conjunction with resources that have the create_before_destroy
lifecycle flag set to avoid conflicts with unique names during the brief period where both the old and new resources exist concurrently.
Builder for RandomIdArgs.
Builder for RandomId.
The resource random.RandomInteger
generates random values from a given range, described by the min
and max
attributes of a given resource. This resource can be used in conjunction with resources that have the create_before_destroy
lifecycle flag set, to avoid conflicts with unique names during the brief period where both the old and new resources exist concurrently.
The resource random.RandomInteger
generates random values from a given range, described by the min
and max
attributes of a given resource. This resource can be used in conjunction with resources that have the create_before_destroy
lifecycle flag set, to avoid conflicts with unique names during the brief period where both the old and new resources exist concurrently.
Builder for RandomIntegerArgs.
Builder for RandomInteger.
Builder for RandomPasswordArgs.
Builder for RandomPassword.
The resource random.RandomPet
generates random pet names that are intended to be used as unique identifiers for other resources. This resource can be used in conjunction with resources that have the create_before_destroy
lifecycle flag set, to avoid conflicts with unique names during the brief period where both the old and new resources exist concurrently.
The resource random.RandomPet
generates random pet names that are intended to be used as unique identifiers for other resources. This resource can be used in conjunction with resources that have the create_before_destroy
lifecycle flag set, to avoid conflicts with unique names during the brief period where both the old and new resources exist concurrently.
Builder for RandomPetArgs.
Builder for RandomPet.
The provider type for the random package. By default, resources use package-wide configuration settings, however an explicit Provider
instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the documentation for more information.
Builder for RandomProvider.
The resource random.RandomShuffle
generates a random permutation of a list of strings given as an argument.
The resource random.RandomShuffle
generates a random permutation of a list of strings given as an argument.
Builder for RandomShuffleArgs.
Builder for RandomShuffle.
The resource random.RandomString
generates a random permutation of alphanumeric characters and optionally special characters. This resource does use a cryptographic random number generator. Historically this resource's intended usage has been ambiguous as the original example used it in a password. For backwards compatibility it will continue to exist. For unique ids please use random_id, for sensitive random values please use random_password.
The resource random.RandomString
generates a random permutation of alphanumeric characters and optionally special characters. This resource does use a cryptographic random number generator. Historically this resource's intended usage has been ambiguous as the original example used it in a password. For backwards compatibility it will continue to exist. For unique ids please use random_id, for sensitive random values please use random_password.
Builder for RandomStringArgs.
Builder for RandomString.
Builder for RandomUuidArgs.
Builder for RandomUuid.