Skip to content

Commit

Permalink
give bucket unique name
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Nov 11, 2024
1 parent 8b0791a commit be39eb1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions deployments/stacks/dpe-k8s-deployments/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,5 @@ module "cert-manager" {

module "clickhouse_backup_bucket" {
source = "../../../modules/s3-bucket"

bucket_name = "clickhouse-backup"
bucket_name = "clickhouse-backup-${var.aws_account_id}"
}
1 change: 0 additions & 1 deletion modules/s3-bucket/main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
resource "aws_s3_bucket" "bucket" {
bucket = var.bucket_name

tags = merge(
var.tags,
{
Expand Down

0 comments on commit be39eb1

Please sign in to comment.