From 05715e4dd2c87672c1fc932b91bd8ce2bac3d4d3 Mon Sep 17 00:00:00 2001 From: Administrator Date: Tue, 22 Oct 2024 13:28:35 -0600 Subject: [PATCH] push frontend to dev --- .github/workflows/build-deploy-frontend.yml | 6 ++++-- ops/terraform/locals.tf | 2 +- ops/terraform/modules/app_service/variables.tf | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-deploy-frontend.yml b/.github/workflows/build-deploy-frontend.yml index 08b59912..99a225b2 100644 --- a/.github/workflows/build-deploy-frontend.yml +++ b/.github/workflows/build-deploy-frontend.yml @@ -1,7 +1,9 @@ name: Build and Deploy Frontend on: - workflow_dispatch: + push: + branches: enable-auto-scaling-tf + # workflow_dispatch: permissions: id-token: write @@ -43,7 +45,7 @@ jobs: deploy: name: Deploy runs-on: ubuntu-latest - environment: build-frontend-dev + environment: dev needs: [build] steps: - name: Download Artifacts To Job diff --git a/ops/terraform/locals.tf b/ops/terraform/locals.tf index b8ae70b5..26f4d809 100644 --- a/ops/terraform/locals.tf +++ b/ops/terraform/locals.tf @@ -9,7 +9,7 @@ locals { vnetcidr = "10.0.0.0/16" appsubnetcidr = "10.0.1.0/24" websubnetcidr = "10.0.2.0/24" - lbsubnetcidr = "10.0.2.0/24" + lbsubnetcidr = "10.0.3.0/24" } } dev2 = { diff --git a/ops/terraform/modules/app_service/variables.tf b/ops/terraform/modules/app_service/variables.tf index 9105a884..9d8877e0 100644 --- a/ops/terraform/modules/app_service/variables.tf +++ b/ops/terraform/modules/app_service/variables.tf @@ -5,7 +5,7 @@ variable "location" {} variable "app_subnet_id" {} variable "sku_name" { - default = "P1v3" + default = "B1" }