consul_backend

    0

    0

    lucycodes42

    Terraform snippets

    The code sets the backend to be "consul" and sets the config to include the path to the Terraform state file.

    Shortcut: tf_consul_backend

    data "terraform_remote_state" "${myBackend}" {
       backend = "consul"
       config {
           path = "full/path"
       }
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.