Skip to content
Merged
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: 8 additions & 1 deletion infrastructure/modules/app-insights/output.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@

output "connection_string" {
value = azurerm_application_insights.appins.connection_string
}

output "id" {
value = azurerm_application_insights.appins.id
}

output "name" {
value = azurerm_application_insights.appins.name
}

output "resource_group_name" {
value = azurerm_application_insights.appins.resource_group_name
}
6 changes: 6 additions & 0 deletions infrastructure/modules/function-app/entra_id_group.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
resource "azuread_group_member" "function_app" {
for_each = toset(var.entra_id_group_ids)

group_object_id = each.key
member_object_id = azurerm_linux_function_app.function_app.identity.0.principal_id
}
5 changes: 5 additions & 0 deletions infrastructure/modules/function-app/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ variable "cors_allowed_origins" {
default = [""]
}

variable "entra_id_group_ids" {
type = list(string)
default = []
}

variable "ftp_publish_basic_authentication_enabled" {
type = bool
description = "Enable basic authentication for FTP. Defaults to false."
Expand Down
6 changes: 6 additions & 0 deletions infrastructure/modules/linux-web-app/entra_id_group.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
resource "azuread_group_member" "function_app" {
for_each = toset(var.entra_id_group_ids)

group_object_id = each.key
member_object_id = azurerm_linux_web_app.this.identity.0.principal_id
}
5 changes: 5 additions & 0 deletions infrastructure/modules/linux-web-app/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ variable "docker_image_name" {
default = ""
}

variable "entra_id_group_ids" {
type = list(string)
default = []
}

variable "ftp_publish_basic_authentication_enabled" {
type = bool
description = "Enable basic authentication for FTP. Defaults to false."
Expand Down
5 changes: 4 additions & 1 deletion infrastructure/modules/sql-server/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ resource "azurerm_mssql_server" "azure_sql_server" {
}

lifecycle {
ignore_changes = [tags]
ignore_changes = [
tags,
express_vulnerability_assessment_enabled
]
}
}

Expand Down
Loading