github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/terraform/test-fixtures/module-deps-inherit-provider/child/child.tf (about)

     1  
     2  # "foo" is inherited from the parent module
     3  resource "foo_bar" "test" {
     4  
     5  }
     6  
     7  # but we don't use the "bar" provider inherited from the parent
     8  
     9  # "baz" is introduced here for the first time, so it's an implicit
    10  # dependency
    11  resource "baz_bar" "test" {
    12  
    13  }
    14  
    15  module "grandchild" {
    16    source = "../grandchild"
    17  }