Skip to content

Commit

Permalink
fix: Reorder parameters in P2S VPN Gateway tests for consistency and …
Browse files Browse the repository at this point in the history
…clarity
  • Loading branch information
erschef committed Nov 18, 2024
1 parent a95c663 commit d6f2b3d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ module testDeployment '../../../main.bicep' = [
scope: resourceGroup
name: '${uniqueString(deployment().name, resourceLocation)}-test-${serviceShort}-${iteration}'
params: {
location: resourceLocation
name: '${namePrefix}${serviceShort}p2sVpnGw'
virtualHubId: nestedDependencies.outputs.virtualHubResourceId
vpnServerConfigurationId: nestedDependencies.outputs.vpnServerConfigurationResourceId
location: resourceLocation
p2SConnectionConfigurationsName: 'p2sConnectionConfig1'
associatedRouteTableName: 'defaultRouteTable'
vpnClientAddressPoolAddressPrefixes: [
'10.0.2.0/24'
]
associatedRouteTableName: 'defaultRouteTable'
virtualHubId: nestedDependencies.outputs.virtualHubResourceId
vpnServerConfigurationId: nestedDependencies.outputs.vpnServerConfigurationResourceId
}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ module testDeployment '../../../main.bicep' = [
scope: resourceGroup
name: '${uniqueString(deployment().name, resourceLocation)}-test-${serviceShort}-${iteration}'
params: {
location: resourceLocation
name: '${namePrefix}${serviceShort}p2sVpnGw'
location: resourceLocation
lock: {
kind: 'CanNotDelete'
name: 'myCustomLockName'
Expand All @@ -62,20 +62,15 @@ module testDeployment '../../../main.bicep' = [
Environment: 'Non-Prod'
Role: 'DeploymentValidation'
}
customDnsServers: [
'10.50.10.50'
'10.50.50.50'
]
p2SConnectionConfigurationsName: 'p2sConnectionConfig1'
isRoutingPreferenceInternet: false
enableInternetSecurity: true
associatedRouteTableName: 'defaultRouteTable'
vpnClientAddressPoolAddressPrefixes: [
'10.0.2.0/24'
]
virtualHubId: nestedDependencies.outputs.virtualHubResourceId
vpnGatewayScaleUnit: 1
vpnServerConfigurationId: nestedDependencies.outputs.vpnServerConfigurationResourceId
p2SConnectionConfigurationsName: 'p2sConnectionConfig1'
}
}
]

0 comments on commit d6f2b3d

Please sign in to comment.