Skip to content

Commit

Permalink
update code
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-yechenwei committed Jan 2, 2024
1 parent 9de98e7 commit 7d8b28b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quickstart/301-aks-enterprise/networking.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ resource "random_string" "gw_prefix_name" {

locals {

gateway_name = "${var.dns_prefix}-${var.name}-${var.environment}-gateway"
gateway_name = "${var.dns_prefix}-${random_string.gw_prefix_name.result}-gateway"
gateway_ip_name = "${random_string.gw_prefix_name.result}-gw-ip"
gateway_ip_config_name = "${var.name}-gateway-ipconfig"
frontend_port_name = "${var.name}-gateway-feport"
Expand Down
2 changes: 1 addition & 1 deletion quickstart/301-aks-enterprise/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ variable "node_count" {
variable "node_type" {
type = string
description = "The size of each node."
default = "Standard_D1_v2"
default = "Standard_DS2_v2"
}

variable "dns_prefix" {
Expand Down

0 comments on commit 7d8b28b

Please sign in to comment.