github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/configs/testdata/config-diagnostics/tests-provider-mismatch-with-module/setup/main.tf (about)

     1  terraform {
     2      required_providers {
     3          foo = {
     4              source = "hashicorp/bar"
     5              configuration_aliases = [ foo.bar ]
     6          }
     7          bar = {
     8              source = "hashicorp/foo"
     9          }
    10      }
    11  }
    12  
    13  resource "foo_resource" "resource" {}
    14  
    15  resource "bar_resource" "resource" {}