From 3a742593b29a6ebfbb2af966600206d4136d98db Mon Sep 17 00:00:00 2001 From: Dustin Alandzes <5882512+DustinAlandzes@users.noreply.github.com> Date: Mon, 18 Oct 2021 15:09:03 -0500 Subject: [PATCH 1/2] update listing 9.1 to remove duplicate aws provider A default (non-aliased) provider configuration for "aws" was already given at blue_green.tf:1,1-15. --- chapter9/listing9.1/blue_green.tf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/chapter9/listing9.1/blue_green.tf b/chapter9/listing9.1/blue_green.tf index 348182b..b7d8124 100644 --- a/chapter9/listing9.1/blue_green.tf +++ b/chapter9/listing9.1/blue_green.tf @@ -2,10 +2,6 @@ provider "aws" { region = "us-west-2" } -provider "aws" { - region = "us-west-2" -} - variable "production" { default = "green" } @@ -31,4 +27,4 @@ module "blue" { output "lb_dns_name" { value = module.base.lb_dns_name -} \ No newline at end of file +} From e153231c44d4d3b263a799662c4f5ccdb928a99b Mon Sep 17 00:00:00 2001 From: Dustin Alandzes <5882512+DustinAlandzes@users.noreply.github.com> Date: Mon, 18 Oct 2021 15:10:40 -0500 Subject: [PATCH 2/2] remove new line