data "terraform_remote_state" "${myBackend}" {
         backend = "azure"
         config {
             storage_account_name = "terraform123abc"
             container_name = "terraform-state"
             key = "prod.terraform.tfstate"
      Terraform language logo


      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


        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.