data "terraform_remote_state" "${myBackend}" {
         backend = "swift"
         config {
             path = "terraform_state"
         }
      }
      Terraform language logo

      swift_backend

      Terraform snippets

      The code defines a variable named "data" and sets it to the value "terraform_remote_state" of the "myBackend" variable. The data variable defines a variable that can hold values from a Terraform state file. In this case, the state file is named "terraform_state." This state file contains information about the current configuration of the "myBackend" Terraform backend.

      Shortcut: tf_swift_backend

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.