Merge pull request #3 from cisherlock/hotfix-s3-region

Updated s3 to remove unsupported region attribute
This commit is contained in:
Cole Morrison 2021-07-16 14:29:44 -07:00 committed by GitHub
commit 9c9edd712e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

3
s3.tf
View File

@ -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
}
}