1
0
mirror of https://github.com/nokonoko/Uguu.git synced 2024-01-06 13:35:15 +00:00

Updated some terraform stuff. Probably still won't pass the sonar security check, but want to at least lock down the ACL stuff.

This commit is contained in:
Josh Tomar 2023-05-09 15:59:16 -07:00
parent 5d223f29d6
commit 236bf2d9ad
2 changed files with 6 additions and 0 deletions

2
.gitignore vendored
View File

@ -11,3 +11,5 @@ uguu.sq3
composer.phar
composer.lock
docker/uguuForDocker.tar.gz
.terraform*
terraform.tfstate

View File

@ -28,6 +28,10 @@ resource "aws_s3_bucket_lifecycle_configuration" "uguu_lc_policy" {
resource "aws_s3_bucket_public_access_block" "uguu_public_block_policy" {
bucket = aws_s3_bucket.uguu_bucket.id
block_public_acls = true
ignore_public_acls = true
block_public_policy = false
restrict_public_buckets = false
}
resource "aws_s3_bucket_policy" "uguu_bucket_policy" {