Skip to content

Commit 37b49e3

Browse files
tjy9206q2w
andauthored
Update outputs.tf
Co-authored-by: abhishek kumar tiwari <[email protected]>
1 parent 7f6d54b commit 37b49e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ output "env_vars" {
7272
output "apphub_service_uri" {
7373
value = {
7474
service_uri = "//redis.googleapis.com/${google_redis_instance.default.id}"
75-
service_id = google_redis_instance.default.id
75+
service_id = substr("${var.name}-${md5("${var.region}-${var.project_id}")}", 0, 63)
7676
}
7777
description = "Service URI in CAIS style to be used by Apphub."
7878
}

0 commit comments

Comments
 (0)