resource "random_shuffle" "${myResourceName}" {
name = "my-${myResourceName}"
input = ["us-west-1a", "us-west-1c", "us-west-1d", "us-west-1e"]
result_count = 2
}
random_shuffle
The code creates a random_shuffle resource with the name myResourceName. The random_shuffle resource contains two entries, each corresponding to a different random string.
Shortcut: tf_random_shuffle
0 Comments
Add Comment
Log in to add a comment