azure_backend

    0

    0

    lucycodes42

    Terraform snippets

    The code in this block creates a remote state for the azure backend. The remote state is stored in the $MY_BACKEND variable and has the name terraform-state. The value of the key variable is prod.terraform.tfstate.

    Shortcut: tf_azure_backend

    data "terraform_remote_state" "${myBackend}" {
       backend = "azure"
       config {
           storage_account_name = "terraform123abc"
           container_name = "terraform-state"
           key = "prod.terraform.tfstate"
       }
    }
    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.