Skip to content

Commit

Permalink
removed region
Browse files Browse the repository at this point in the history
removed region variable and arguments from s3 module to resolve issue #19
  • Loading branch information
tgallagher91 committed Aug 6, 2020
1 parent d18ad45 commit 6a2643b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/aws/s3/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resource "aws_s3_bucket" "s3_bucket" {
acl = var.acl
bucket_prefix = var.bucket_prefix
policy = var.policy
region = var.region
#region = var.region

/*logging {
target_bucket = var.target_bucket
Expand Down
6 changes: 3 additions & 3 deletions modules/aws/s3/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ variable "policy" {
default = ""
}

variable "region" {
description = "(Optional) If specified, the AWS region this bucket should reside in. Otherwise, the region used by the callee."
}
# variable "region" {
# description = "(Optional) If specified, the AWS region this bucket should reside in. Otherwise, the region used by the callee."
# }

variable "sse_algorithm" {
type = string
Expand Down

0 comments on commit 6a2643b

Please sign in to comment.