kitchen-azurerm 1.5.0 → 1.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d0eb72851f696b3ddaeb4a90b959d4a4319fa8711cafbae1c46c0abc5506fc5
4
- data.tar.gz: 83d0b2a2604bd3cfedba07081f96ef39ac7bcc9d5170a4cc35f97656df4c02bc
3
+ metadata.gz: 83ff621acb68f00027da706be0a8cbcc9d1913ea0972a57596180d9d2cadc399
4
+ data.tar.gz: e32b5481b1ca6bec77dbe2f1da1f2be2d4c7236c8d35d6dd676e06979cdd69db
5
5
  SHA512:
6
- metadata.gz: 9fc4b53f648b73a6e628c942ba01e56c9a7fa5f766d11a1ea6e2de4f553fa1f89a0b1058fca4d50e3ae8b8a48ec230141c3d2f116dd086585e8f4845945f0d5a
7
- data.tar.gz: eb5db25247d145375fcd69050eaa9fdf9cf29262a06cb54443f21e85d2836c14e0e8d424279abde2375517d6b83c5c633480d864caff92d1d87224969b15decf
6
+ metadata.gz: 6dd5a780356dc995c62ebc6f8cd91038b8c02a670af1de28e43090011df9e48d2a96c59702353802b4f9719c3722dba9f83a30af0545305b966df4c7bc7f76c8
7
+ data.tar.gz: 5e69a4e0b62d614c4aab4d86e46a4ab18e4aba6366bdc0f92d6afa8e0e466c1ac57911b4cf1787b4f68294ab674916dbc6b5621a8603f3ab5a00a286f6d131d3
@@ -740,7 +740,7 @@ module Kitchen
740
740
  virtual_machine_deployment_template_file("public.erb", vm_tags: vm_tag_string(config[:vm_tags]), use_managed_disks: config[:use_managed_disks], image_url: config[:image_url], existing_storage_account_blob_url: config[:existing_storage_account_blob_url], image_id: config[:image_id], existing_storage_account_container: config[:existing_storage_account_container], custom_data: config[:custom_data], os_disk_size_gb: config[:os_disk_size_gb], data_disks_for_vm_json: data_disks_for_vm_json, use_ephemeral_osdisk: config[:use_ephemeral_osdisk], ssh_key: instance.transport[:ssh_key], plan_json: plan_json)
741
741
  else
742
742
  info "Using custom vnet: #{config[:vnet_id]}"
743
- virtual_machine_deployment_template_file("internal.erb", vnet_id: config[:vnet_id], subnet_id: config[:subnet_id], public_ip: config[:public_ip], vm_tags: vm_tag_string(config[:vm_tags]), use_managed_disks: config[:use_managed_disks], image_url: config[:image_url], existing_storage_account_blob_url: config[:existing_storage_account_blob_url], image_id: config[:image_id], existing_storage_account_container: config[:existing_storage_account_container], custom_data: config[:custom_data], os_disk_size_gb: config[:os_disk_size_gb], data_disks_for_vm_json: data_disks_for_vm_json, use_ephemeral_osdisk: config[:use_ephemeral_osdisk], ssh_key: instance.transport[:ssh_key], plan_json: plan_json)
743
+ virtual_machine_deployment_template_file("internal.erb", vnet_id: config[:vnet_id], subnet_id: config[:subnet_id], public_ip: config[:public_ip], vm_tags: vm_tag_string(config[:vm_tags]), use_managed_disks: config[:use_managed_disks], image_url: config[:image_url], existing_storage_account_blob_url: config[:existing_storage_account_blob_url], image_id: config[:image_id], existing_storage_account_container: config[:existing_storage_account_container], custom_data: config[:custom_data], os_disk_size_gb: config[:os_disk_size_gb], data_disks_for_vm_json: data_disks_for_vm_json, use_ephemeral_osdisk: config[:use_ephemeral_osdisk], ssh_key: instance.transport[:ssh_key], public_ip_sku: config[:public_ip_sku], plan_json: plan_json)
744
744
  end
745
745
  end
746
746
 
@@ -40,20 +40,22 @@
40
40
  "description": "Unique DNS Name for the Public IP used to access the Virtual Machine."
41
41
  }
42
42
  },
43
- "publicIPSKU": {
44
- "type": "string",
45
- "defaultValue": "Standard",
46
- "metadata": {
47
- "description": "SKU name for the Public IP used to access the Virtual Machine."
48
- }
49
- },
50
- "publicIPAddressType": {
51
- "type": "string",
52
- "defaultValue": "Dynamic",
53
- "metadata": {
54
- "description": "SKU name for the Public IP used to access the Virtual Machine."
55
- }
56
- },
43
+ <%- if public_ip_sku %>
44
+ "publicIPSKU": {
45
+ "type": "string",
46
+ "defaultValue": "Standard",
47
+ "metadata": {
48
+ "description": "SKU name for the Public IP used to access the Virtual Machine."
49
+ }
50
+ },
51
+ "publicIPAddressType": {
52
+ "type": "string",
53
+ "defaultValue": "Dynamic",
54
+ "metadata": {
55
+ "description": "SKU name for the Public IP used to access the Virtual Machine."
56
+ }
57
+ },
58
+ <%- end %>
57
59
  <%- unless os_disk_size_gb.to_s.empty? -%>
58
60
  "osDiskSizeGb": {
59
61
  "type": "int",
@@ -359,12 +361,12 @@
359
361
  },
360
362
  <%- end -%>
361
363
  <%- if use_ephemeral_osdisk -%>
362
- "osDisk": {
363
- "diffDiskSettings": {
364
- "option": "Local"
365
- },
366
- "caching": "ReadOnly",
367
- "createOption": "FromImage"
364
+ "osDisk": {
365
+ "diffDiskSettings": {
366
+ "option": "Local"
367
+ },
368
+ "caching": "ReadOnly",
369
+ "createOption": "FromImage"
368
370
  }
369
371
  <%- elsif use_managed_disks -%>
370
372
  "osDisk": {
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.5.0
4
+ version: 1.5.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: 2021-02-11 00:00:00.000000000 Z
11
+ date: 2021-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: azure_mgmt_network