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

     1  terraform {
     2    required_providers {
     3      a = {
     4        # This one is just not available at all
     5        source = "example.com/test/a"
     6      }
     7      b = {
     8        # This one is unavailable but happens to be cached in the legacy
     9        # cache directory, under .terraform/plugins
    10        source = "example.com/test/b"
    11      }
    12      c = {
    13        # This one is also cached in the legacy cache directory, but it's
    14        # an official provider so init will assume it got there via normal
    15        # automatic installation and not generate a warning about it.
    16        # This one is also not available at all, but it's an official
    17        # provider so we don't expect to see a warning about it.
    18        source = "hashicorp/c"
    19      }
    20    }
    21  }