data "terraform_remote_state" "${myBackend}" {
         backend = "consul"
         config {
             path = "full/path"
         }
      }
      Terraform language logo

      consul_backend

      0

      0

      avatar
      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

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.