data "terraform_remote_state" "${myBackend}" {
         backend = "local"
         config {
             path = "\${path.module}/../../terraform.tfstate"
         }
      }

      Terraform language logo
      local_backend

      Terraform snippets

      This code is telling Terraform to load the Terraform state data for a backend that is located at the path module directory.

      Shortcut: tf_local_backend

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.