Open raghavendra3553 opened 2 months ago
Hi @raghavendra3553 thanks for raising this issue. Could you please provide the minimal reproducible TF config (with dependencies and variable values) of this issue so that we could reproduce /troubleshoot?
variable standard_input { type = object({ app_name = string, location = string, tags = map(string), profile = string, security_eventhub_name = string, security_eventhub_authorization_rule_id = string, log_analytics_workspace_id = string, default_ngw_name = string, default_ngw_rg = string, cidr_allow_list = list(string), slarti_subnets = list(string) }) }
variable "postgres" { type = object({ name = string, userName = optional(string), logAnalyticsWorkspaceId = optional(string), postgresResource = optional(object({ name = optional(string), resourceGroupResource = optional(object({ name = optional(string), resourcegroup = optional(string), tobeCreated = optional(bool) })), tobeCreated = optional(bool) })), resourceGroupResource = optional(object({ name = optional(string), resourcegroup = optional(string), tobeCreated = optional(bool) })), keyVault = optional(object({ name = optional(string), resourcegroup = optional(string) })), subnets = optional(list(object({ name = optional(string) vnet = optional(string) resourcegroup = optional(string) }))), }) description = "Postgres Specific Parameters" }
variable "postgresSku" { type = object({ sku_name = string }) }
variable "rgModuleToBeImported" { type = bool default = true }
variable "keyvaultname" { type = string } variable "keyvaultresourcegroupname" { type = string }
variable "public_network_access_enabled"{ type = bool default = true }
variable "ssl_enforcement_enabled"{ type = bool default = true }
variable "storage_mb"{ type = number default = 640000 }
Is there an existing issue for this?
Community Note
Terraform Version
1.9.3
AzureRM Provider Version
4.0.1
Affected Resource(s)/Data Source(s)
azurerm_monitor_diagnostic_setting
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
diagnostic_settings should be deleted in a minute. Note, Actual diagnostic settings were deleted at azure side in less than 60 sec, I have able to see in activity log, with start and success status. we are guessing tf is waiting for the status
Actual Behaviour
tf is hanged at deleting diagnostic_settings
Steps to Reproduce
terraform apply
Important Factoids
No response
References
No response