github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/terraform/test-fixtures/plan-module-provider-defaults-var/main.tf (about)

     1  module "child" {
     2      source = "./child"
     3  }
     4  
     5  provider "aws" {
     6      from = "${var.foo}"
     7  }
     8  
     9  resource "aws_instance" "foo" {}
    10  
    11  variable "foo" {}