Skip to content

[Bug Report]: IPSec connections aren't deployed #1402

@luisarnauth

Description

@luisarnauth

Describe the bug

When trying to deploy a connection of type IPsec, it fails stating that a connection must have exactly two endpoints:

New-AzResourceGroupDeployment: 15:57:51 - The deployment 'deploy' failed with error(s). Showing 1 out of 1 error(s).
Status Message: Virtual Network Gateway connection /subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.Network/connections/<connectionName> must have exactly two endpoints. The first endpoint must be a VirtualNetworkGateway, the second endpoint can be a VirtualNetworkGateway or a LocalNetworkGateway or a ExpressRouteCircuit. (Code: GatewayConnectionMustHaveExactlyTwoEndpoints)
CorrelationId: 5fa19b24-8e0a-4067-979c-0240e28d477e

image

To reproduce

Deploy a connection of type IPsec

Code snippet

No response

Relevant log output

No response

Solution

Update the casing to "IPsec" as done in here

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions