Skip to content

Commit

Permalink
update listing 9.1 to remove duplicate aws provider
Browse files Browse the repository at this point in the history
A default (non-aliased) provider configuration for "aws" was already given at blue_green.tf:1,1-15.
  • Loading branch information
DustinAlandzes authored Oct 18, 2021
1 parent 735f30f commit 3a74259
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions chapter9/listing9.1/blue_green.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ provider "aws" {
region = "us-west-2"
}

provider "aws" {
region = "us-west-2"
}

variable "production" {
default = "green"
}
Expand All @@ -31,4 +27,4 @@ module "blue" {

output "lb_dns_name" {
value = module.base.lb_dns_name
}
}

0 comments on commit 3a74259

Please sign in to comment.