github.com/muratcelep/terraform@v1.1.0-beta2-not-internal-4/not-internal/configs/testdata/valid-modules/override-resource-provider/base.tf (about)

     1  terraform {
     2    required_providers {
     3      foo-test = {
     4        source = "foo/test"
     5      }
     6      bar-test = {
     7        source = "bar/test"
     8      }
     9    }
    10  }
    11  
    12  resource "test_instance" "explicit" {
    13    provider = foo-test
    14  }
    15  
    16  // the provider for this resource should default to "hashicorp/test"
    17  resource "test_instance" "default" {}