How to fix x509 certificate error in Terraform | DevErrors