Merge pull request #26071 from jai/patch-1
style(providers): update syntax for terraform >= 0.11
This commit is contained in:
commit
639cd28a67
|
@ -406,7 +406,7 @@ provider "aws" {
|
||||||
module "example" {
|
module "example" {
|
||||||
source = "./example"
|
source = "./example"
|
||||||
providers = {
|
providers = {
|
||||||
aws = "aws.usw2"
|
aws = aws.usw2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -605,16 +605,16 @@ provider "google" {
|
||||||
module "bucket_w1" {
|
module "bucket_w1" {
|
||||||
source = "./publish_bucket"
|
source = "./publish_bucket"
|
||||||
providers = {
|
providers = {
|
||||||
aws.src = "aws.usw1"
|
aws.src = aws.usw1
|
||||||
google.src = "google.usw2"
|
google.src = google.usw2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module "bucket_w2" {
|
module "bucket_w2" {
|
||||||
source = "./publish_bucket"
|
source = "./publish_bucket"
|
||||||
providers = {
|
providers = {
|
||||||
aws.src = "aws.usw2"
|
aws.src = aws.usw2
|
||||||
google.src = "google.usw2"
|
google.src = google.usw2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue