Dear Users,
I am using terraform 0.14.3 with custom provider to manage resources on on-perm infrastructure. Things are running fine as long as I am running Terraform to store state locally. However, when I switch to PG as backend, it gives me an error on plan:
Error: Missing Expected {
Below is how i am using PG configuration:
terraform {
required_providers {
mycloud = {
source = "terraform.provider/proj/cloud"
version = "0.0.x"
}
}
backend "pg" {
conn_str = "postgres://connection.url.for.postgres"
}
}
Again if I remove the backend config, it works fine.