Ok, so i have got Virtual network gateway, there are NAT Rules and Connections.
In Connections → NAT Rules there is:
Associate NAT rules that have been configured on the linked Virtual Network Gateway. Learn more
I have a ingress NAT Rules there linked.
But how can i make it from Terraform? (associate NAT Rules with Connections)
Everytime when i want to run pipeline now, i have got error:
error: Creating/Updating Virtual Network Gateway: (Name "examplename-connectivity-euw-prod-01" / Resource Group "rg-example-euw-prod-01"): network.VirtualNetworkGatewaysClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="GatewayNatRuleIsStillInUse" Message="The NAT rule /subscriptions/xxxxxxxxxxxx/resourceGroups/rg-example-euw-prod-01/providers/Microsoft.Network/virtualNetworkGateways/vpngw-example-euw-prod-01/natRules/nat-rule-01 is still in use and cannot be deleted.
I dont want it to be deleted at all, i just want to make another, different connection without touching those linked NAT Rules.