Skip to content

Commit

Permalink
limit cloud run service name to 49 chars (#10)
Browse files Browse the repository at this point in the history
- limit cloud run service name to 49 chars

Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Dec 13, 2022
1 parent dbe1003 commit eabea0a
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 @@ -43,7 +43,7 @@ resource "google_cloud_run_service" "probers" {
for_each = toset(var.locations)

project = var.project_id
name = "${var.name}-prb"
name = "${format("%.45s", var.name)}-prb"
location = each.key

template {
Expand Down

0 comments on commit eabea0a

Please sign in to comment.