kitchen-azurerm 1.10.0 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kitchen/driver/azurerm.rb +0 -5
- data/templates/internal.erb +0 -19
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 912cd5c92bf91fc8e98345469d3178dd755aa5f113a15fd17386ce8faec1ecea
|
|
4
|
+
data.tar.gz: 25dc06a668ff3d79ad02876db6dfc56a03d932a86504346dfc8be082dcaabfd5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7e45cf2791799f1df896aac9e13d121b287e801d43e0215b0eb5a77904a8db8ba20d188ae97325c89acfb7816eeaf867c6a168e476e16fc60f61fdaa22e05ec
|
|
7
|
+
data.tar.gz: 644c0b4e652d8cbf9c58c2382a0bde20cafce65f389d0de21840e0bf6c3a7f3449706b90aca72014c87cc8557441e6ffa1e859abe8536dd0ddaf403483fc8039
|
|
@@ -220,15 +220,10 @@ module Kitchen
|
|
|
220
220
|
false
|
|
221
221
|
end
|
|
222
222
|
|
|
223
|
-
default_config(:zone) do |_config|
|
|
224
|
-
"1"
|
|
225
|
-
end
|
|
226
|
-
|
|
227
223
|
def create(state)
|
|
228
224
|
state = validate_state(state)
|
|
229
225
|
deployment_parameters = {
|
|
230
226
|
location: config[:location],
|
|
231
|
-
zone: config[:zone],
|
|
232
227
|
vmSize: config[:machine_size],
|
|
233
228
|
storageAccountType: config[:storage_account_type],
|
|
234
229
|
bootDiagnosticsEnabled: config[:boot_diagnostics_enabled],
|
data/templates/internal.erb
CHANGED
|
@@ -8,18 +8,6 @@
|
|
|
8
8
|
"description": "The location where the resources will be created."
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
|
-
"zone": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"defaultValue": "1",
|
|
14
|
-
"allowedValues": [
|
|
15
|
-
"1",
|
|
16
|
-
"2",
|
|
17
|
-
"3"
|
|
18
|
-
],
|
|
19
|
-
"metadata": {
|
|
20
|
-
"description": "Zone number for the virtual machine"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
11
|
"vmSize": {
|
|
24
12
|
"type": "string",
|
|
25
13
|
"metadata": {
|
|
@@ -220,7 +208,6 @@
|
|
|
220
208
|
},
|
|
221
209
|
"variables": {
|
|
222
210
|
"location": "[parameters('location')]",
|
|
223
|
-
"zone": "[parameters('zone')]",
|
|
224
211
|
"OSDiskName": "osdisk",
|
|
225
212
|
"nicName": "[parameters('nicName')]",
|
|
226
213
|
"addressPrefix": "10.0.0.0/16",
|
|
@@ -272,9 +259,6 @@
|
|
|
272
259
|
"type": "Microsoft.Network/publicIPAddresses",
|
|
273
260
|
"name": "[variables('publicIPAddressName')]",
|
|
274
261
|
"location": "[variables('location')]",
|
|
275
|
-
"zones": [
|
|
276
|
-
"[variables('zone')]"
|
|
277
|
-
],
|
|
278
262
|
"sku": {
|
|
279
263
|
"name": "[parameters('publicIPSKU')]"
|
|
280
264
|
},
|
|
@@ -326,9 +310,6 @@
|
|
|
326
310
|
"type": "Microsoft.Compute/virtualMachines",
|
|
327
311
|
"name": "[variables('vmName')]",
|
|
328
312
|
"location": "[variables('location')]",
|
|
329
|
-
"zones": [
|
|
330
|
-
"[variables('zone')]"
|
|
331
|
-
],
|
|
332
313
|
"dependsOn": [
|
|
333
314
|
<%- unless use_managed_disks -%>
|
|
334
315
|
<%- if existing_storage_account_blob_url.empty? -%>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen-azurerm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.10.
|
|
4
|
+
version: 1.10.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stuart Preston
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-03-
|
|
11
|
+
date: 2022-03-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: azure_mgmt_network
|