Skip to content

Commit

Permalink
AWS: Fix AWS s3 bucket resource
Browse files Browse the repository at this point in the history
The most recent version of the Terraform AWS provider v.3.0.0 released
today (July 31, 2020) includes a breaking change where the region
attribute is removed from the aws_s3_bucket resource.
https://github.com/terraform-providers/terraform-provider-aws/blob/master/CHANGELOG.md

This change addresses the breaking change by removing the region field
from our aws_s3_bucket resources. See
hashicorp/terraform-provider-aws#14127
for additional info.

Signed-off-by: Edwin-Pau <epau@teradici.com>
  • Loading branch information
Edwin-Pau authored and shermanyin committed Aug 1, 2020
1 parent 1896178 commit 4b11ca3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion deployments/aws/lb-connectors-lls/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ resource "random_id" "bucket-name" {

resource "aws_s3_bucket" "scripts" {
bucket = local.bucket_name
region = var.aws_region
acl = "private"
force_destroy = true

Expand Down
1 change: 0 additions & 1 deletion deployments/aws/lb-connectors/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ resource "random_id" "bucket-name" {

resource "aws_s3_bucket" "scripts" {
bucket = local.bucket_name
region = var.aws_region
acl = "private"
force_destroy = true

Expand Down
1 change: 0 additions & 1 deletion deployments/aws/single-connector/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ resource "random_id" "bucket-name" {

resource "aws_s3_bucket" "scripts" {
bucket = local.bucket_name
region = var.aws_region
acl = "private"
force_destroy = true

Expand Down

0 comments on commit 4b11ca3

Please sign in to comment.