Difference between revisions of "Terraform resource: random string"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
special = true | special = true | ||
override_special = "/@£$" | override_special = "/@£$" | ||
+ | } | ||
+ | |||
+ | resource "random_string" "yourrandom" { | ||
+ | length = 8 | ||
+ | special = false | ||
} | } | ||
Line 15: | Line 20: | ||
[[terraform plan]] | [[terraform plan]] | ||
[[random_string.suffix]]: [[Refreshing state]]... [id=7x929348] | [[random_string.suffix]]: [[Refreshing state]]... [id=7x929348] | ||
− | |||
== Related == | == Related == |
Revision as of 05:34, 12 February 2024
random_string
Examples
Official example:
resource "random_string" "random" { length = 16 special = true override_special = "/@£$" }
resource "random_string" "yourrandom" { length = 8 special = false }
terraform plan random_string.suffix: Refreshing state... [id=7x929348]
Related
See also
Advertising: