From 290186cd56c2ea20c4c92d6bfc8129db39237fad Mon Sep 17 00:00:00 2001 From: erschef_microsoft Date: Mon, 25 Nov 2024 11:45:48 -0500 Subject: [PATCH] fix: Remove lock configuration and add tags for environment and role in P2S VPN Gateway module --- avm/res/network/p2s-vpn-gateway/README.md | 28 +++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/avm/res/network/p2s-vpn-gateway/README.md b/avm/res/network/p2s-vpn-gateway/README.md index e8c6bd6543..91331a5eb1 100644 --- a/avm/res/network/p2s-vpn-gateway/README.md +++ b/avm/res/network/p2s-vpn-gateway/README.md @@ -343,11 +343,11 @@ module p2sVpnGateway 'br/public:avm/res/network/p2s-vpn-gateway:' = { enableInternetSecurity: true isRoutingPreferenceInternet: false location: '' - lock: { - kind: 'CanNotDelete' - name: 'myCustomLockName' - } p2SConnectionConfigurationsName: 'p2sConnectionConfig1' + tags: { + Environment: 'Non-Prod' + Role: 'DeploymentValidation' + } vpnClientAddressPoolAddressPrefixes: [ '10.0.2.0/24' ] @@ -390,15 +390,15 @@ module p2sVpnGateway 'br/public:avm/res/network/p2s-vpn-gateway:' = { "location": { "value": "" }, - "lock": { - "value": { - "kind": "CanNotDelete", - "name": "myCustomLockName" - } - }, "p2SConnectionConfigurationsName": { "value": "p2sConnectionConfig1" }, + "tags": { + "value": { + "Environment": "Non-Prod", + "Role": "DeploymentValidation" + } + }, "vpnClientAddressPoolAddressPrefixes": { "value": [ "10.0.2.0/24" @@ -427,11 +427,11 @@ param associatedRouteTableName = 'defaultRouteTable' param enableInternetSecurity = true param isRoutingPreferenceInternet = false param location = '' -param lock = { - kind: 'CanNotDelete' - name: 'myCustomLockName' -} p2SConnectionConfigurationsName: 'p2sConnectionConfig1' +param tags = { + Environment: 'Non-Prod' + Role: 'DeploymentValidation' +} param vpnClientAddressPoolAddressPrefixes = [ '10.0.2.0/24' ]