github.com/opentofu/opentofu@v1.7.1/internal/command/testdata/init-get-provider-detected-duplicate/main.tf (about)

     1  terraform {
     2  	required_providers {
     3  		foo = {
     4  			// This will conflict with the child modules hashicorp/foo
     5  			source = "opentofu/foo"
     6  		}
     7  		dupe = {
     8  			// This should not conflict with the child modules hashicorp/bar
     9  			source = "bar"
    10  		}
    11  	}
    12  }
    13  module "some-baz-stuff" {
    14    source = "./child"
    15  }