Merge pull request #3 from cisherlock/hotfix-s3-region
Updated s3 to remove unsupported region attribute
This commit is contained in:
commit
9c9edd712e
3
s3.tf
3
s3.tf
|
@ -3,7 +3,6 @@
|
|||
## S3 Bucket for Vault Data
|
||||
resource "aws_s3_bucket" "vault_data" {
|
||||
bucket_prefix = "${var.main_project_tag}-"
|
||||
region = data.aws_region.current.name
|
||||
|
||||
server_side_encryption_configuration {
|
||||
rule {
|
||||
|
@ -23,4 +22,4 @@ resource "aws_s3_bucket_public_access_block" "vault_data" {
|
|||
block_public_policy = true
|
||||
ignore_public_acls = true
|
||||
restrict_public_buckets = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue