github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/show-json/provider-aliasing/child/nested/main.tf (about)

     1  terraform {
     2    required_providers {
     3      test = {
     4        source                = "hashicorp/test"
     5        configuration_aliases = [test, test.alt]
     6      }
     7    }
     8  }
     9  
    10  resource "test_instance" "test_main" {
    11    ami      = "main"
    12    provider = test
    13  }
    14  
    15  resource "test_instance" "test_alternate" {
    16    ami      = "secondary"
    17    provider = test.alt
    18  }