github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/init-get-provider-detected-legacy/main.tf (about)

     1  // This should result in installing hashicorp/foo
     2  provider foo {}
     3  
     4  // This will try to install hashicorp/baz, fail, and then suggest
     5  // terraform-providers/baz
     6  provider baz {}
     7  
     8  // This will try to install hashicrop/frob, fail, find no suggestions, and
     9  // result in an error
    10  provider frob {}
    11  
    12  module "some-baz-stuff" {
    13    source = "./child"
    14  }
    15  
    16  module "dicerolls" {
    17    source = "acme/bar/random"
    18  }