Troubleshooting Terraform
Multi-project fails
If you see an error like
Could not determine the dependencies of task ':<SOME-SUB-PROJECT>:tfSyncGlobalConfig'.
> Could not resolve all dependencies for configuration ':<SOME-SUB-PROJECT>:$$$TerraformRcResolver$$$'.
> Could not resolve project :.
Required by:
project :<SOME-SUB-PROJECT>
> A dependency was declared on configuration '$$$TerraformRcOutgoing$$$' which is not declared in the descriptor for project :.
then you probably have a multi-project set up, but with no Terraform in the root project. See Terraform Global Configuration on how to solve this.