We are building a terraform file including AWS and Databricks resources. Both of these have different providers but are directly dependent on each other. In the Terraform providers file, can you include different providers to be used in the same file?
Sorry, I’m not sure what you’re asking. There is no structure to a file with provider configurations, other than the individual configurations themselves. Can you add an example of the configuration which is causing a problem to demonstrate the issue?
An example is below of one of my versions.tf and main.tf files for Terraform 14+ where I’m using AWS and Gitlab resources. Also utilizing multiple regions with AWS so you can see how that would work. Hope this helps. versions.tf