github.com/muratcelep/terraform@v1.1.0-beta2-not-internal-4/not-internal/configs/testdata/config-diagnostics/with-depends-on/mod1/main.tf (about)

     1  terraform {
     2    required_providers {
     3      foo = {
     4        source = "hashicorp/foo"
     5      }
     6    }
     7  }
     8  
     9  resource "foo_resource" "a" {
    10  }
    11  
    12  module "mod2" {
    13    depends_on = [foo_resource.a]
    14    // test fixture source is from root
    15    source = "./mod1/mod2"
    16    providers = {
    17      foo = foo
    18    }
    19  }