Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
chore(deps): update azure bicep to 2024-01-01 (major) (#1950)
Browse files Browse the repository at this point in the history
* chore(deps): update azure bicep to 2024-01-01

* fix: generate bicep template

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Catarina Paralta <[email protected]>
  • Loading branch information
renovate[bot] and paralta authored Jul 31, 2024
1 parent 85c6284 commit abd0cf9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
18 changes: 9 additions & 9 deletions installation/azure/vmclarity.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "3994536931161644383"
"templateHash": "13927729476504818038"
}
},
"parameters": {
Expand Down Expand Up @@ -577,7 +577,7 @@
"_generator": {
"name": "bicep",
"version": "0.29.47.4906",
"templateHash": "12282980518322422643"
"templateHash": "11450816723859992713"
}
},
"parameters": {
Expand Down Expand Up @@ -878,7 +878,7 @@
"resources": [
{
"type": "Microsoft.Network/networkInterfaces",
"apiVersion": "2023-11-01",
"apiVersion": "2024-01-01",
"name": "[variables('networkInterfaceName')]",
"location": "[parameters('location')]",
"properties": {
Expand Down Expand Up @@ -908,7 +908,7 @@
},
{
"type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2023-11-01",
"apiVersion": "2024-01-01",
"name": "[variables('vmClarityServerSecurityGroupName')]",
"location": "[parameters('location')]",
"properties": {
Expand All @@ -931,7 +931,7 @@
},
{
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2023-11-01",
"apiVersion": "2024-01-01",
"name": "[variables('vmClarityNetName')]",
"location": "[parameters('location')]",
"properties": {
Expand Down Expand Up @@ -967,7 +967,7 @@
},
{
"type": "Microsoft.Network/publicIPAddresses",
"apiVersion": "2023-11-01",
"apiVersion": "2024-01-01",
"name": "[variables('publicIPAddressName')]",
"location": "[parameters('location')]",
"sku": {
Expand Down Expand Up @@ -1072,7 +1072,7 @@
},
{
"type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2023-11-01",
"apiVersion": "2024-01-01",
"name": "[variables('vmClarityScannerSecurityGroupName')]",
"location": "[parameters('location')]",
"properties": {
Expand Down Expand Up @@ -1157,11 +1157,11 @@
},
"hostname": {
"type": "string",
"value": "[reference(resourceId('Microsoft.Network/publicIPAddresses', variables('publicIPAddressName')), '2023-11-01').dnsSettings.fqdn]"
"value": "[reference(resourceId('Microsoft.Network/publicIPAddresses', variables('publicIPAddressName')), '2024-01-01').dnsSettings.fqdn]"
},
"sshCommand": {
"type": "string",
"value": "[format('ssh {0}@{1}', parameters('adminUsername'), reference(resourceId('Microsoft.Network/publicIPAddresses', variables('publicIPAddressName')), '2023-11-01').dnsSettings.fqdn)]"
"value": "[format('ssh {0}@{1}', parameters('adminUsername'), reference(resourceId('Microsoft.Network/publicIPAddresses', variables('publicIPAddressName')), '2024-01-01').dnsSettings.fqdn)]"
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions installation/azure/vmclarityDeployModule.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ var maaEndpoint = substring('emptystring', 0, 0)

var vmClarityServerCustomScriptName = 'VmClarityServerCustomScript'

resource networkInterface 'Microsoft.Network/networkInterfaces@2023-11-01' = {
resource networkInterface 'Microsoft.Network/networkInterfaces@2024-01-01' = {
name: networkInterfaceName
location: location
properties: {
Expand All @@ -220,7 +220,7 @@ resource networkInterface 'Microsoft.Network/networkInterfaces@2023-11-01' = {
}
}

resource vmClarityServerSecurityGroup 'Microsoft.Network/networkSecurityGroups@2023-11-01' = {
resource vmClarityServerSecurityGroup 'Microsoft.Network/networkSecurityGroups@2024-01-01' = {
name: vmClarityServerSecurityGroupName
location: location
properties: {
Expand All @@ -245,7 +245,7 @@ resource vmClarityServerSecurityGroup 'Microsoft.Network/networkSecurityGroups@2
// Declare subnets inside of virtualNet so that they don't get deleted when
// re-applying the template
// https://github.com/Azure/bicep/issues/4653
resource vmClarityNet 'Microsoft.Network/virtualNetworks@2023-11-01' = {
resource vmClarityNet 'Microsoft.Network/virtualNetworks@2024-01-01' = {
name: vmClarityNetName
location: location
properties: {
Expand Down Expand Up @@ -288,7 +288,7 @@ resource vmClarityNet 'Microsoft.Network/virtualNetworks@2023-11-01' = {
}
}

resource publicIPAddress 'Microsoft.Network/publicIPAddresses@2023-11-01' = {
resource publicIPAddress 'Microsoft.Network/publicIPAddresses@2024-01-01' = {
name: publicIPAddressName
location: location
sku: {
Expand Down Expand Up @@ -381,7 +381,7 @@ resource vmclarityServerCustomScript 'Microsoft.Compute/virtualMachines/extensio
}
}

resource vmClarityScannerSecurityGroup 'Microsoft.Network/networkSecurityGroups@2023-11-01' = {
resource vmClarityScannerSecurityGroup 'Microsoft.Network/networkSecurityGroups@2024-01-01' = {
name: vmClarityScannerSecurityGroupName
location: location
properties: {
Expand Down

0 comments on commit abd0cf9

Please sign in to comment.