github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/configs/testdata/duplicate-local-name/main.tf (about)

     1  terraform {
     2    required_providers {
     3      test = {
     4        source = "hashicorp/test"
     5      }
     6      dupe = {
     7        source = "hashicorp/test"
     8      }
     9      other = {
    10        source = "hashicorp/default"
    11      }
    12  
    13      wrong-name = {
    14        source = "hashicorp/foo"
    15      }
    16    }
    17  }
    18  
    19  provider "default" {
    20  }
    21  
    22  resource "foo_resource" {
    23  }