github.com/pulumi/terraform@v1.4.0/pkg/earlyconfig/testdata/provider-reqs/provider-reqs-root.tf (about)

     1  terraform {
     2    required_providers {
     3      null = "~> 2.0.0"
     4      random = {
     5        version = "~> 1.2.0"
     6      }
     7      tls = {
     8        source  = "hashicorp/tls"
     9        version = "~> 3.0"
    10      }
    11    }
    12  }
    13  
    14  # There is no provider in required_providers called "implied", so this
    15  # implicitly declares a dependency on "hashicorp/implied".
    16  resource "implied_foo" "bar" {
    17  }
    18  
    19  module "child" {
    20    source = "./child"
    21  }