Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions azure/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = ">=3.25.0"
}
}
}

provider "azurerm" {
features {}
}
Expand Down
10 changes: 5 additions & 5 deletions azure/networking.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ resource "azurerm_public_ip" "public_ip" {
name = "${var.app_name}-${var.app_environment}-public-ip"
resource_group_name = azurerm_resource_group.resource_group.name
location = azurerm_resource_group.resource_group.location
allocation_method = "Static"
sku = "Standard"
allocation_method = "Dynamic"
sku = "Basic"
}

locals {
Expand All @@ -61,8 +61,8 @@ resource "azurerm_application_gateway" "network" {
location = azurerm_resource_group.resource_group.location

sku {
name = "Standard_v2"
tier = "Standard_v2"
name = "Standard_Small"
tier = "Standard"
capacity = 2
}

Expand Down Expand Up @@ -107,7 +107,7 @@ resource "azurerm_application_gateway" "network" {
http_listener_name = local.listener_name
backend_address_pool_name = local.backend_address_pool_name
backend_http_settings_name = local.http_setting_name
priority = 10
# priority = 10
}
}

Expand Down