Skip to content

Commit

Permalink
add missing attributes to azure static web app
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasHermansen-Computas committed Oct 18, 2024
1 parent 7cc4bd6 commit 779e845
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
# Task 1.1:

deploy-infrastructure:
needs: frontend-tests
name: Deploy infrastructure with Terraform
runs-on: ubuntu-latest
needs: frontend-tests
# Task 1.2:
env:
TF_VAR_my_name: ${{ github.head_ref }}
Expand Down
2 changes: 2 additions & 0 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ resource "azurerm_resource_group" "devops" {

resource "azurerm_static_web_app" "devops" {
name = "${var.my_name}-webapp"
location = local.location
resource_group_name = "${var.output}"
# Task 2.2:
}

Expand Down

0 comments on commit 779e845

Please sign in to comment.