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:
parent
5d223f29d6
commit
236bf2d9ad
2
.gitignore
vendored
2
.gitignore
vendored
@ -11,3 +11,5 @@ uguu.sq3
|
|||||||
composer.phar
|
composer.phar
|
||||||
composer.lock
|
composer.lock
|
||||||
docker/uguuForDocker.tar.gz
|
docker/uguuForDocker.tar.gz
|
||||||
|
.terraform*
|
||||||
|
terraform.tfstate
|
||||||
|
@ -28,6 +28,10 @@ resource "aws_s3_bucket_lifecycle_configuration" "uguu_lc_policy" {
|
|||||||
|
|
||||||
resource "aws_s3_bucket_public_access_block" "uguu_public_block_policy" {
|
resource "aws_s3_bucket_public_access_block" "uguu_public_block_policy" {
|
||||||
bucket = aws_s3_bucket.uguu_bucket.id
|
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" {
|
resource "aws_s3_bucket_policy" "uguu_bucket_policy" {
|
||||||
|
Loading…
Reference in New Issue
Block a user