Skip to content

Commit

Permalink
Fixed capability usage of var.service_port.
Browse files Browse the repository at this point in the history
  • Loading branch information
BSick7 committed Mar 27, 2024
1 parent 8a5e812 commit aa8ace6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.6.15 (Mar 27, 2024)
* Fixed capability usage of `var.service_port`.

# 0.6.14 (Mar 27, 2024)
* Added `var.service_port` to allow customization of port listening on the private network.

Expand Down
4 changes: 2 additions & 2 deletions app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ locals {
service_account_id = google_service_account.app.id
service_account_email = google_service_account.app.email
service_name = local.service_name
service_port = local.service_port
internal_subdomain = var.container_port == 0 ? "" : "${local.block_name}.${local.kubernetes_namespace}.svc.cluster.local"
service_port = var.service_port
internal_subdomain = var.service_port == 0 ? "" : "${local.block_name}.${local.kubernetes_namespace}.svc.cluster.local"
})
}

0 comments on commit aa8ace6

Please sign in to comment.