github.com/paultyng/terraform@v0.6.11-0.20180227224804-66ff8f8bed40/configs/test-fixtures/valid-files/module-calls.tf (about)

     1  
     2  module "foo" {
     3    source = "./foo"
     4    # this block intentionally left (almost) blank
     5  }
     6  
     7  module "bar" {
     8    source = "hashicorp/bar/aws"
     9  
    10    boom = "🎆"
    11    yes  = true
    12  }
    13  
    14  module "baz" {
    15    source = "git::https://example.com/"
    16  
    17    a = 1
    18  
    19    count = 12
    20    for_each = ["a", "b", "c"]
    21  
    22    depends_on = [
    23      module.bar,
    24    ]
    25  }
    26