github.com/opentofu/opentofu@v1.7.1/internal/command/testdata/test/no_providers_in_main/main.tf (about)

     1  
     2  terraform {
     3    required_providers {
     4      test = {
     5        source = "hashicorp/test"
     6        configuration_aliases = [test.primary, test.secondary]
     7      }
     8    }
     9  }
    10  
    11  resource "test_resource" "primary" {
    12    provider = test.primary
    13    value = "foo"
    14  }
    15  
    16  resource "test_resource" "secondary" {
    17    provider = test.secondary
    18    value = "bar"
    19  }