Hello,
In my scenario I cannot determine the values being sent to the terraform executable and need to read from the backend configuration that is piped into terraform - in this particular case i need to read from the terraform.backend.address (it is of http backend type)
What is the correct format to access this in another resource?
For example:
output “terraform_test” {
value = backend.config.address
}
on outputs.tf line 2, in output "terraform_test":
│ 2: value = backend.config.address
│
│ A managed resource "backend" "config" has not been declared in the root
│ module.
╵
Thank you