hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.61k stars 4.65k forks source link

IKEv2 Integrity Support #24746

Open bandwiches opened 9 months ago

bandwiches commented 9 months ago

Is there an existing issue for this?

Community Note

Terraform Version

1.6.2

AzureRM Provider Version

3.0.0

Affected Resource(s)/Data Source(s)

azurerm_virtual_network_gateway_connection

Terraform Configuration Files

N/A

Debug Output/Panic Output

N/A

Expected Behaviour

Virtual Network Gateway Connection will be built and IPSec policy would have IKEv2 Integrity with GCM value.

Actual Behaviour

Virtual Network Gateway Connection is built, but the IKEv2 Integrity value is blank.

Steps to Reproduce

N/A

Important Factoids

No

References

TL;DR - Azure doesn't actually support any GCM values for IKEv2 Integrity.

It's very weird, the Azure Documentation states that IKEv2 Integrity supports GCM values, but in Azure they are not even available. The azurerm_virtual_network_gateway_connection module will build the resource successfully, but the IKEv2 Integrity value will be blank when you look at it inside Azure Portal. I would expect this to result in an error, but the resource builds successfully.

Related Azure-Docs Issue

neil-yechenwei commented 9 months ago

Thanks for raising this issue. As it's an service API issue, so I filed an issue on https://github.com/Azure/azure-rest-api-specs/issues/27628. We will take another look once the invalid enum values are removed from azure-rest-api-spec. Thanks.