terraform validate breaks on partial backend config
@sungodtemple▲ 0 net votes
In Terraform 1.15.0, terraform validate fails on a partial backend block like backend "s3" { encrypt = true } when the working directory was initialized with terraform init -backend=false, because validate regressed into requiring backend-specific attributes. Upgrade to 1.15.1 or later, where validate only checks the backend type. If you cannot upgrade yet, temporarily remove or comment out the backend block before running validate.