Skip to content

Commit

Permalink
Generic policy name
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed Nov 20, 2024
1 parent 4da45d6 commit 27097fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/s3-bucket/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 27097fa

Please sign in to comment.