Is there an existing issue for this?
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
Terraform Version
1.15.9
AzureRM Provider Version
v4.81.0
Affected Resource(s)/Data Source(s)
azurerm_vpn_server_configuration
Affected Location(s)
germanywestcentral
Terraform Configuration Files
resource "azurerm_vpn_server_configuration" "uservpnconfig-prod-001" {
name = "uservpnconfig-prod"
resource_group_name = "rg1"
location = "germanywestcentral"
vpn_protocols = ["OpenVPN"]
vpn_authentication_types = ["AAD"]
azure_active_directory_authentication {
tenant = "https://login.microsoftonline.com/${var.tenant_id}"
audience = var.audience
issuer = "https://sts.windows.net/${var.tenant_id}/"
}
}
Debug Output/Panic Output
# azurerm_vpn_server_configuration.uservpnconfig-prod-001 will be updated in-place
~ resource "azurerm_vpn_server_configuration" "uservpnconfig-prod-001" {
id = "id-REDACTED"
name = "uservpnconfig-prod"
tags = {}
# (4 unchanged attributes hidden)
- radius {
}
# (1 unchanged block hidden)
}
Expected Behaviour
as no radius server is set via terraform there should no need to remove it after every run
Actual Behaviour
After every terraform apply, Terraform wants to remove the radius configuration block, even though that block is not present in the Terraform code.
Steps to Reproduce
terraform apply
terraform plan or terraform apply again
Important Factoids
No response
References
No response
Is there an existing issue for this?
Community Note
Terraform Version
1.15.9
AzureRM Provider Version
v4.81.0
Affected Resource(s)/Data Source(s)
azurerm_vpn_server_configuration
Affected Location(s)
germanywestcentral
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
as no radius server is set via terraform there should no need to remove it after every run
Actual Behaviour
After every terraform apply, Terraform wants to remove the radius configuration block, even though that block is not present in the Terraform code.
Steps to Reproduce
terraform applyterraform planorterraform applyagainImportant Factoids
No response
References
No response