random_shuffle

    0

    0

    lucycodes42

    Terraform snippets

    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

    resource "random_shuffle" "${myResourceName}" {
       name = "my-${myResourceName}"
       input = ["us-west-1a", "us-west-1c", "us-west-1d", "us-west-1e"]
       result_count = 2
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.