github.com/kevinklinger/open_terraform@v1.3.6/noninternal/command/e2etest/testdata/provider-plugin/main.tf (about)

     1  // the provider-plugin tests uses the -plugin-cache flag so terraform pulls the
     2  // test binaries instead of reaching out to the registry.
     3  terraform {
     4    required_providers {
     5      simple5 = {
     6        source = "registry.terraform.io/hashicorp/simple"
     7      }
     8      simple6 = {
     9        source = "registry.terraform.io/hashicorp/simple6"
    10      }
    11    }
    12  }
    13  
    14  resource "simple_resource" "test-proto5" {
    15    provider = simple5
    16  }
    17  
    18  resource "simple_resource" "test-proto6" {
    19    provider = simple6
    20  }