Skip to content

Commit

Permalink
feat: DTOS 7243 diagnostic settings for apim hub, changing minimum tl…
Browse files Browse the repository at this point in the history
…s version to 2021-08-01, and changing the AVD off peak start time
  • Loading branch information
fahadbaigNC committed Feb 11, 2025
1 parent c523320 commit 1aad0c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infrastructure/modules/api-management/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ resource "azurerm_api_management" "apim" {
publisher_email = var.publisher_email
public_ip_address_id = var.public_ip_address_id

min_api_version = var.min_api_version

sku_name = "${var.sku_name}_${var.sku_capacity}"
zones = var.zones

Expand Down
6 changes: 6 additions & 0 deletions infrastructure/modules/api-management/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ variable "metric_enabled" {
default = false
}

variable "min_api_version" {
type = string
description = "Controls what logs will be enabled for apim"
default = "2021-08-01"
}

variable "monitor_diagnostic_setting_apim_enabled_logs" {
type = list(string)
description = "Controls what logs will be enabled for apim"
Expand Down

0 comments on commit 1aad0c2

Please sign in to comment.