mirror of https://github.com/hashicorp/terraform
parent
4bf0d5e243
commit
29eadb8194
@ -0,0 +1,7 @@
|
||||
provider "aws" {
|
||||
alias = "eu"
|
||||
}
|
||||
|
||||
resource "aws_instance" "foo" {
|
||||
provider = "aws.eu"
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
module "child" {
|
||||
source = "./child"
|
||||
}
|
||||
@ -1,8 +0,0 @@
|
||||
provider "aws" {
|
||||
alias = "bar"
|
||||
}
|
||||
|
||||
resource "aws_instance" "bar" {
|
||||
foo = "bar"
|
||||
provider = "aws.bar"
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
provider "aws" {}
|
||||
resource "aws_instance" "web" {}
|
||||
resource "foo_instance" "web" {}
|
||||
Loading…
Reference in new issue