diff --git a/nginx/terraform/infrastructure/nginxInstances.tf b/nginx/terraform/infrastructure/nginxInstances.tf index c83430a..4d07e9f 100644 --- a/nginx/terraform/infrastructure/nginxInstances.tf +++ b/nginx/terraform/infrastructure/nginxInstances.tf @@ -109,7 +109,7 @@ resource "azurerm_virtual_machine" "nginx-api-gw" { # NGINX API Gateway Instances bootstrapping file data "template_file" "bootstrap-instance-group-api-gw" { - template = templatefile("${path.module}/files/bootstrap-instance-group-api-gw.sh", { nms-hostname = var.nms-hostname }) + template = templatefile("${path.module}/files/bootstrap-instance-group-api-gw.sh", { nginx_one_dataplane_key = var.nginx_one_dataplane_key }) } ## Availability Set @@ -239,7 +239,7 @@ resource "azurerm_virtual_machine" "nginx-instance" { # NGINX Instances bootstrapping file data "template_file" "bootstrap-instance-group-azure-instances" { - template = templatefile("${path.module}/files/bootstrap-instance-group-azure-instances.sh", { nms-hostname = var.nms-hostname }) + template = templatefile("${path.module}/files/bootstrap-instance-group-azure-instances.sh", { nginx_one_dataplane_key = var.nginx_one_dataplane_key }) } ## Availability Set