Updated s3 to remove unsupported region attribute

This commit is contained in:
Craig 2021-02-18 16:16:14 +00:00 committed by GitHub
parent 65e03e59fa
commit 17f538dfb4
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
}
}