Skip to content

Commit

Permalink
fix(syncer): lowercase distribution_bucket_name (#3194)
Browse files Browse the repository at this point in the history
refactor: lowercase distribution_bucket_name

Prefix may contain uppercase characters that will
break the distribution bucket name validation
  • Loading branch information
dmitrykiselev27 authored Apr 18, 2023
1 parent b8ff326 commit b75010e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ module "runner_binaries" {
prefix = var.prefix
tags = local.tags

distribution_bucket_name = "${var.prefix}-dist-${random_string.random.result}"
distribution_bucket_name = lower("${var.prefix}-dist-${random_string.random.result}")
s3_logging_bucket = var.runner_binaries_s3_logging_bucket
s3_logging_bucket_prefix = var.runner_binaries_s3_logging_bucket_prefix

Expand Down

0 comments on commit b75010e

Please sign in to comment.