Closed MasterBroda closed 1 month ago
Thanks for raising this issue. Seems this property has been marked as required property. See more details from this PR. Maybe the PR owner has some suggestion on this property.
Unfortunately, the PR referred to does not provide any motivation for making this property required. This change should not have been made as the property is only meaningful for IPSEC-based gateways.
Please revert to the previous 'optional argument' status. This is not difficult to do, so it's reasonable to expect this reversal in the upcoming release (4.3.0).
@stephybun's PR doesn't really explain the reasoning behind marking shared_key
as required. The terraform plan will always succeed but the actual apply will fail as mentioned in the issue description.
Sure. This makes it even more urgent that the change that marks this property as required be reverted asap.
So, release 4.0.3 is out, but, reading the documentation this issue has not been addressed. Is it on the backlog for the next release?
:wave: Great catch! Thanks for reaching out and reporting this bug, unfortunately I do not have an ETA on when this will be reverted. However, any future work via the team or the community will end up linked here via a PR.
when do they plan on getting this fixed. Blocks existing deployments because it expects the key to be there even if its not needed.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.7.5
AzureRM Provider Version
4.2.0
Affected Resource(s)/Data Source(s)
azurerm_virtual_network_gateway_connection
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The shared_key must be set as optional as it was in v3 of the provider so that the gateway connections for express routes can be successfully created.
Actual Behaviour
The provider sets the shared_key as required which completely blocks the creation of the gateway connection.
Steps to Reproduce
Important Factoids
No response
References
No response