diff --git a/modules/s3-bucket/main.tf b/modules/s3-bucket/main.tf index 7c2df002..a9d13f22 100644 --- a/modules/s3-bucket/main.tf +++ b/modules/s3-bucket/main.tf @@ -17,7 +17,7 @@ resource "aws_s3_bucket_versioning" "versioning" { resource "aws_iam_policy" "s3-access-policy" { - name = "clickhouse-backup-access-policy-${var.aws_account_id}-${var.cluster_name}-${var.bucket_name}" + name = "access-policy-${var.aws_account_id}-${var.cluster_name}-${var.bucket_name}" description = "Policy to access the s3 bucket" policy = jsonencode({