0
0
llucycodes42
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
data "terraform_remote_state" "${myBackend}" {
backend = "consul"
config {
path = "full/path"
}
}