We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 473ebf9 commit f9c8a03Copy full SHA for f9c8a03
backup.tf
@@ -3,12 +3,17 @@ locals {
3
gitlab_backup_iam_policy_name = "${local.environment_prefix}-gitlab-backup"
4
gitlab_backup_iam_role_name = "${local.environment_prefix}-gitlab-backup"
5
}
6
+
7
resource "aws_s3_bucket" "gitlab_backup" {
8
count = var.enable_gitlab_backup_to_s3 ? 1 : 0
9
bucket = var.gitlab_backup_bucket_name
10
11
tags = merge(local.default_tags, var.additional_tags)
12
13
+ aws_s3_bucket_public_access_block = {
14
+ block_public_acls = true
15
+ }
16
17
lifecycle {
18
precondition {
19
condition = anytrue([
0 commit comments