style(providers): update syntax for terraform >= 0.11

This commit is contained in:
Jai Govindani 2020-09-01 10:38:18 +07:00 committed by GitHub
parent f57861936c
commit d8b36e5d12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -406,7 +406,7 @@ provider "aws" {
module "example" {
source = "./example"
providers = {
aws = "aws.usw2"
aws = aws.usw2
}
}
```
@ -605,16 +605,16 @@ provider "google" {
module "bucket_w1" {
source = "./publish_bucket"
providers = {
aws.src = "aws.usw1"
google.src = "google.usw2"
aws.src = aws.usw1
google.src = google.usw2
}
}
module "bucket_w2" {
source = "./publish_bucket"
providers = {
aws.src = "aws.usw2"
google.src = "google.usw2"
aws.src = aws.usw2
google.src = google.usw2
}
}
```