diff --git a/nginx/terraform/infrastructure/files/bootstrap-instance-group-api-gw.sh b/nginx/terraform/infrastructure/files/bootstrap-instance-group-api-gw.sh index ee71f751..91dd3f85 100644 --- a/nginx/terraform/infrastructure/files/bootstrap-instance-group-api-gw.sh +++ b/nginx/terraform/infrastructure/files/bootstrap-instance-group-api-gw.sh @@ -1,7 +1,9 @@ #! /bin/bash # Install the NGINX Agent and bind to instance group api -curl -k https://${nms-hostname}/install/nginx-agent > install.sh && sudo sh install.sh -g azure-api-gateways && sudo systemctl start nginx-agent +# curl -k https://${nms-hostname}/install/nginx-agent > install.sh && sudo sh install.sh -g azure-api-gateways && sudo systemctl start nginx-agent + +curl https://agent.connect.nginx.com/nginx-agent/install | DATA_PLANE_KEY="hsa2dnJ7yW3IdQ70qmPm7fwWhB4dh9ofw3LwsKllttM=" sh -s -- -y # install nginx modules diff --git a/nginx/terraform/infrastructure/variables.auto.tfvars b/nginx/terraform/infrastructure/variables.auto.tfvars index b6efa72e..e11d3bce 100644 --- a/nginx/terraform/infrastructure/variables.auto.tfvars +++ b/nginx/terraform/infrastructure/variables.auto.tfvars @@ -26,4 +26,4 @@ nginx-instance-count = 1 nginx-api-gw-offer = "nginx_plus_with_nginx_app_protect_developer" nginx-api-gw-sku = "nginx_plus_with_nginx_app_protect_dev_ubuntu2004" nginx-api-gw-version = "6.2.0" -nginx-api-gw-count = 1 \ No newline at end of file +nginx-api-gw-count = 3 \ No newline at end of file