Add default bucket level encryption
This commit is contained in:
parent
bfa8242ba5
commit
2dbf15a844
1 changed files with 10 additions and 0 deletions
10
nextcloud.tf
10
nextcloud.tf
|
@ -16,6 +16,16 @@ module "s3_bucket" {
|
||||||
enabled = false
|
enabled = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server_side_encryption_configuration = {
|
||||||
|
rule = {
|
||||||
|
apply_server_side_encryption_by_default = {
|
||||||
|
sse_algorithm = "AES256"
|
||||||
|
}
|
||||||
|
|
||||||
|
bucket_key_enabled = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://registry.terraform.io/modules/terraform-aws-modules/vpc/aws/latest
|
# https://registry.terraform.io/modules/terraform-aws-modules/vpc/aws/latest
|
||||||
|
|
Loading…
Reference in a new issue