github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/terraform/test-fixtures/apply-multi-provider-destroy/main.tf (about) 1 resource "vault_instance" "foo" {} 2 3 provider "aws" { 4 addr = "${vault_instance.foo.id}" 5 } 6 7 resource "aws_instance" "bar" { 8 foo = "bar" 9 }