Azure / terraform-azurerm-avm-res-network-natgateway

Terraform Module for Nat Gateway
MIT License
5 stars 5 forks source link

diagnostic settings does not make sense #4

Closed davidkarlsen closed 9 months ago

davidkarlsen commented 9 months ago

it will fail like this:

│ Error: creating Monitor Diagnostics Setting "diag-sre-platform-ng" for Resource "/subscriptions/xxxx/resourceGroups/network-nore-rg/providers/Microsoft.Network/natGateways/sre-platform-ng": diagnosticsettings.DiagnosticSettingsClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="ResourceTypeNotSupported" Message="The resource type 'microsoft.network/natgateways' does not support diagnostic settings."
mbilalamjad commented 9 months ago

Thank you @davidkarlsen for raising the issue and also submitting a PR to fix it, appreciate it.