Skip to content

Commit 906d01e

Browse files
committed
updating the documentation #4
1 parent 74b2d12 commit 906d01e

File tree

1 file changed

+61
-27
lines changed

1 file changed

+61
-27
lines changed

README.md

Lines changed: 61 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -415,60 +415,93 @@ azurerm | >= 2.59.0
415415
Name | Description | Type | Default
416416
---- | ----------- | ---- | -------
417417
`resource_group_name` | The name of the resource group in which resources are created | string | `""`
418-
`location`|The location of the resource group in which resources are created|string | `""`
419418
`virtual_network_name`|The name of the virtual network|string |`""`
420419
`subnet_name`|The name of the subnet to use in VM scale set|string |`""`
421-
`vmscaleset_name`|Specifies the name of the virtual machine scale set resource|string | `""`
422-
`log_analytics_workspace_name`|The name of log analytics workspace name|string | `""`
423420
`storage_account_name`|The name of the hub storage account to store logs|string | `""`
424-
`enable_load_balancer`|Controls if public load balancer should be created|sting|`true`
425-
`load_balancer_sku`|The SKU of the Azure Load Balancer. Accepted values are `Basic` and `Standard`|string | `"Standard"`
426-
`load_balancer_type`|Controls the type of load balancer should be created. Possible values are `public` and `private`|string | `"private"`
421+
`random_password_length`|The desired length of random password created by this module|number|`24`
427422
`public_ip_allocation_method`|Defines the allocation method for this IP address. Possible values are `Static` or `Dynamic`|string|`Static`
428423
`public_ip_sku`|The SKU of the Public IP. Accepted values are `Basic` and `Standard`|string|`Standard`
424+
`domain_name_label`|Label for the Domain Name. Will be used to make up the FQDN. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system|string|`null`
425+
`public_ip_sku_tier`|The SKU Tier that should be used for the Public IP. Possible values are `Regional` and `Global`|string|`"Regional"`
426+
`enable_load_balancer`|Controls if public load balancer should be created|sting|`true`
427+
`load_balancer_type`|Controls the type of load balancer should be created. Possible values are `public` and `private`|string | `"private"`
428+
`load_balancer_sku`|The SKU of the Azure Load Balancer. Accepted values are `Basic` and `Standard`|string | `"Standard"`
429+
`private_ip_address_allocation_type`|The allocation method used for the Private IP Address. Possible values are `Dynamic` and `Static`.|string|`Dynamic`
430+
`lb_private_ip_address`|The Static Private IP Address to assign to the Load Balancer. This is valid only when `private_ip_address_allocation_type` is set to `Static` only|string|`null`
431+
`lb_probe_protocol`|Specifies the protocol of the end point. Possible values are `Http`, `Https` or `Tcp`. If `Tcp` is specified, a received ACK is required for the probe to be successful. If `Http` is specified, a `200 OK` response from the specified `URI` is required for the probe to be successful|string|`null`
432+
`lb_probe_request_path`|The URI used for requesting health status from the backend endpoint. Required if protocol is set to `Http` or `Https`. Otherwise, it is not allowed|string|`null`
433+
`number_of_probes`|The number of failed probe attempts after which the backend endpoint is removed from rotation. The default value is `2`. `NumberOfProbes` multiplied by `intervalInSeconds` value must be greater or equal to 10.Endpoints are returned to rotation when at least one probe is successful|number|`null`
429434
`enable_lb_nat_pool`|If enabled load balancer NAT pool will be created for SSH if flavor is Linux and for RDP if flavor is windows|string|`false`
430435
`nat_pool_frontend_ports`|Optional override for default NAT ports|list(number)|`[50000, 50119]`
436+
`load_balancer_health_probe_port`|Port on which the Probe queries the backend endpoint. Default `80`|number|`80`
437+
`load_balanced_port_list`|List of ports to be forwarded through the load balancer to the VMs|list|`[]`
438+
`enable_proximity_placement_group`|Manages a proximity placement group for virtual machines, virtual machine scale sets and availability sets|string|`false`
439+
`existing_network_security_group_id`|The resource id of existing network security group|string|`null`
440+
`nsg_inbound_rules`|List of network rules to apply to network interface|object|`{}`
431441
`os_flavor`|Specify the flavor of the operating system image to deploy Virtual Machine. Possible values are `windows` and `linux`|string |`"windows"`
442+
`vmscaleset_name`|Specifies the name of the virtual machine scale set resource|string | `""`
443+
`computer_name_prefix`|Specifies the name of the virtual machine inside the VM scale set|string|`null`
432444
`virtual_machine_size`|The Virtual Machine SKU for the Virtual Machine|string|`"Standard_A2_v2"`
433-
`instances_count`|The number of Virtual Machines required|number|`1`
434-
`availability_zones`|A list of Availability Zones in which the Virtual Machines in this Scale Set should be created in|list(number)|`[1, 2, 3]`
435-
`availability_zone_balance`|Should the Virtual Machines in this Scale Set be strictly evenly distributed across Availability Zones?|string|`true`
436-
`single_placement_group`|Allow to have cluster of 100 VMs only per VM scale set|string|`true`
445+
`instances_count`|The number of Virtual Machines required|number|`2`
446+
`admin_username`|The username of the local administrator used for the Virtual Machine|string|`"azureadmin"`
447+
`admin_password`|The Password which should be used for the local-administrator on the Virtual Machines|string|`null`
448+
`custom_data`|Base64 encoded file of a bash script that gets run once by cloud-init upon VM scale set creation|string|`null`
449+
`disable_password_authentication`|Should Password Authentication be disabled on this Virtual Machine scale sets?|string|`true`
450+
`overprovision`|Should Azure over-provision Virtual Machines in this Scale Set? This means that multiple Virtual Machines will be provisioned and Azure will keep the instances which become available first - which improves provisioning success rates and improves deployment time. You're not billed for these over-provisioned VM's and they don't count towards the Subscription Quota. Defaults to true|string|`false`
451+
`do_not_run_extensions_on_overprovisioned_machines`|Should Virtual Machine Extensions be run on Overprovisioned Virtual Machines in the Scale Set?|string|`false`
452+
`enable_windows_vm_automatic_updates`|Are automatic updates enabled for Windows Virtual Machine in this scale set? Module keep this as `false` if `os_upgrade_mode = "Automatic"` specified.|string|`true`
453+
`enable_encryption_at_host`|Should all of the disks (including the temp disk) attached to this Virtual Machine be encrypted by enabling Encryption at Host?|string|`false`
437454
`license_type`|Specifies the type of on-premise license which should be used for this Virtual Machine. Possible values are `None`, `Windows_Client` and `Windows_Server`.|string|`"None"`
438-
`os_upgrade_mode`|Specifies how Upgrades (e.g. changing the Image/SKU) should be performed to Virtual Machine Instances. Possible values are `Automatic`, `Manual` and `Rolling`.|string|`Automatic`
439-
`enable_automatic_instance_repair`|Should the automatic instance repair be enabled on this Virtual Machine Scale Set?|string|`false`
440-
`grace_period`|Amount of time (in minutes, between 30 and 90, defaults to 30 minutes) for which automatic repairs will be delayed.|string|`"PT30M"`
455+
`platform_fault_domain_count`|Specifies the number of fault domains that are used by this Linux Virtual Machine Scale Set|number|`null`
456+
`scale_in_policy`|The scale-in policy rule that decides which virtual machines are chosen for removal when a Virtual Machine Scale Set is scaled in. Possible values for the scale-in policy rules are `Default`, `NewestVM` and `OldestVM`|string|`"Default"`
457+
`single_placement_group`|Allow to have cluster of 100 VMs only per VM scale set|string|`true`
441458
`source_image_id`|The ID of an Image which each Virtual Machine should be based on|string|`null`
459+
`os_upgrade_mode`|Specifies how Upgrades (e.g. changing the Image/SKU) should be performed to Virtual Machine Instances. Possible values are `Automatic`, `Manual` and `Rolling`.|string|`Automatic`
460+
`vm_time_zone`|Specifies the Time Zone which should be used by the Virtual Machine. Ex. `"UTC"` or `"W. Europe Standard Time"` [The possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/) |string|`null`
461+
`availability_zones`|A list of Availability Zones in which the Virtual Machines in this Scale Set should be created in|list(number)|`null`
462+
`availability_zone_balance`|Should the Virtual Machines in this Scale Set be strictly evenly distributed across Availability Zones?|string|`false`
463+
`generate_admin_ssh_key`|Generates a secure private key and encodes it as PEM|string|`false`
464+
`admin_ssh_key_data`|specify the path to the existing SSH key to authenticate Linux virtual machine|string|`null`
442465
`custom_image`|Provide the custom image to this module if the default variants are not sufficient|map(object)|`null`
443466
`linux_distribution_list`|Pre-defined Azure Linux VM images list|map(object)|`ubuntu1804`
444467
`linux_distribution_name`|Variable to pick an OS flavor for Linux based Virtual Machine. Possible values are `centos75`, `ubuntu1804`, `ubuntu1604`, `coreos`|string|`ubuntu1804`
445468
`windows_distribution_list`|Pre-defined Azure Windows VM images list|map(object)|`"windows2019dc"`
446469
`windows_distribution_name`|Variable to pick an OS flavor for Windows based VM. Possible values are `windows2012r2dc`, `windows2016dc`, `windows2019dc`, `windows2016dccore`|string|`"windows2019dc"`
447470
`os_disk_storage_account_type`|The Type of Storage Account for Internal OS Disk. Possible values include Standard_LRS, StandardSSD_LRS and Premium_LRS.|string|`"StandardSSD_LRS"`
471+
`os_disk_caching`|The Type of Caching which should be used for the Internal OS Disk. Possible values are `None`, `ReadOnly` and `ReadWrite`|string|`"ReadWrite"`
472+
`disk_encryption_set_id`|The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk. The Disk Encryption Set must have the `Reader` Role Assignment scoped on the Key Vault - in addition to an Access Policy to the Key Vault|string|`null`
473+
`disk_size_gb`|The Size of the Internal OS Disk in GB, if you wish to vary from the size used in the image this Virtual Machine is sourced from|number|`null`
474+
`enable_os_disk_write_accelerator`|Should Write Accelerator be Enabled for this OS Disk? This requires that the `storage_account_type` is set to `Premium_LRS` and that `caching` is set to `None`|string|`false`
475+
`enable_ultra_ssd_data_disk_storage_support`|Should the capacity to enable Data Disks of the UltraSSD_LRS storage account type be supported on this Virtual Machine|string|`false`
448476
`additional_data_disks`|Adding additional disks capacity to add each instance (GB)|list(number)|`[]`
449477
`additional_data_disks_storage_account_type`|The Type of Storage Account which should back this Data Disk. Possible values include Standard_LRS, StandardSSD_LRS, Premium_LRS and UltraSSD_LRS.|string|`"Standard_LRS"`
450-
`generate_admin_ssh_key`|Generates a secure private key and encodes it as PEM|string|`true`
451-
`admin_ssh_key_data`|specify the path to the existing SSH key to authenticate Linux virtual machine|string|`""`
452-
`disable_password_authentication`|Should Password Authentication be disabled on this Virtual Machine. Applicable to Linux Virtual machine|string|`true`
453-
`admin_username`|The username of the local administrator used for the Virtual Machine|string|`"azureadmin"`
454-
`admin_password`|The Password which should be used for the local-administrator on the Virtual Machines|string|`null`
455-
`random_password_length`|The desired length of random password created by this module|number|`24`
456-
`private_ip_address_allocation_type`|The allocation method used for the Private IP Address. Possible values are Dynamic and Static.|string|`false`
457-
`lb_private_ip_address`|The Static Private IP Address to assign to the Load Balancer. This is valid only when `private_ip_address_allocation` is set to `Static`.|string|`null`
478+
`dns_servers`|List of dns servers to use for network interface|string|`[]`
458479
`enable_ip_forwarding`|Should IP Forwarding be enabled?|string|`false`
459480
`enable_accelerated_networking`|Should Accelerated Networking be enabled?|string|`false`
460-
`dns_servers`|List of dns servers to use for network interface|string|`[]`
461-
`nsg_inbound_rules`|List of network rules to apply to network interface|object|`{}`
462481
`assign_public_ip_to_each_vm_in_vmss`|Create a virtual machine scale set that assigns a public IP address to each VM|string|`false`
482+
`public_ip_prefix_id`|The ID of the Public IP Address Prefix from where Public IP Addresses should be allocated|string|`null`
483+
`rolling_upgrade_policy`|Enabling automatic OS image upgrades on your scale set helps ease update management by safely and automatically upgrading the OS disk for all instances in the scale set|object|`{}`
484+
`enable_automatic_instance_repair`|Should the automatic instance repair be enabled on this Virtual Machine Scale Set?|string|`false`
485+
`grace_period`|Amount of time (in minutes, between 30 and 90, defaults to 30 minutes) for which automatic repairs will be delayed.|string|`"PT30M"`
486+
`managed_identity_type`|The type of Managed Identity which should be assigned to the Linux Virtual Machine Scale Set. Possible values are `SystemAssigned`, `UserAssigned` and `SystemAssigned, UserAssigned`|string|`null`
487+
`managed_identity_ids`|A list of User Managed Identity ID's which should be assigned to the Linux Virtual Machine Scale Set.|string|`null`
488+
`winrm_protocol`|Specifies the protocol of winrm listener. Possible values are `Http` or `Https`|string|`null`
489+
`key_vault_certificate_secret_url`|The Secret URL of a Key Vault Certificate, which must be specified when `protocol` is set to `Https`|string|`null`
490+
`additional_unattend_content`|The XML formatted content that is added to the unattend.xml file for the specified path and component|string|`null`
491+
`additional_unattend_content_setting`|The name of the setting to which the content applies. Possible values are `AutoLogon` and `FirstLogonCommands`|string|`null`
492+
`enable_boot_diagnostics`|Should the boot diagnostics enabled?|string|`false`
493+
`storage_account_uri`|The Primary/Secondary Endpoint for the Azure Storage Account which should be used to store Boot Diagnostics, including Console Output and Screenshots from the Hypervisor. Passing a `null` value will utilize a Managed Storage Account to store Boot Diagnostics|string|`null`
463494
`enable_autoscale_for_vmss`|Manages a AutoScale Setting which can be applied to Virtual Machine Scale Sets|string|`false`
464495
`minimum_instances_count`|The minimum number of instances for this resource. Valid values are between 0 and 1000|string|`null`
465496
`maximum_instances_count`|The maximum number of instances for this resource. Valid values are between 0 and 1000|string|`""`
466-
`scale_out_cpu_percentage_threshold`|Specifies the threshold % of the metric that triggers the scale out action.|number|80
467-
`scale_in_cpu_percentage_threshold`|Specifies the threshold % of the metric that triggers the scale in action.|number|20
497+
`scale_out_cpu_percentage_threshold`|Specifies the threshold % of the metric that triggers the scale out action.|number|`80`
498+
`scale_in_cpu_percentage_threshold`|Specifies the threshold % of the metric that triggers the scale in action.|number|`20`
468499
`scaling_action_instances_number`|The number of instances involved in the scaling action|number|`1`
469-
`intall_iis_server_on_instances`|Install ISS server on every Instance in the VM scale set|string|`false`
470-
`vm_time_zone`|Specifies the Time Zone which should be used by the Virtual Machine. Ex. `"UTC"` or `"W. Europe Standard Time"` [The possible values are defined here](https://jackstromberg.com/2017/01/list-of-time-zones-consumed-by-azure/) |string|`null`
471500
`deploy_log_analytics_agent`|Install log analytics agent to windows or linux VM scaleset instances|string|`false`
501+
`log_analytics_workspace_id`|The name of log analytics workspace resource id|string|`null`
502+
`log_analytics_customer_id`|The Workspace (or Customer) ID for the Log Analytics Workspace|string|`null`
503+
`log_analytics_workspace_primary_shared_key`|The Primary shared key for the Log Analytics Workspace|string|`null`
504+
`intall_iis_server_on_instances`|Install ISS server on every Instance in the VM scale set|string|`false`
472505
`Tags`|A map of tags to add to all resources|map|`{}`
473506

474507
## Outputs
@@ -478,6 +511,7 @@ Name | Description | Type | Default
478511
`admin_ssh_key_public`|The generated public key data in PEM format
479512
`admin_ssh_key_private`|The generated private key data in PEM format
480513
`windows_vm_password`|Password for the windows Virtual Machine
514+
`linux_vm_password`|Password for the Linux Virtual Machine
481515
`load_balancer_public_ip`|The Public IP address allocated for load balancer
482516
`load_balancer_private_ip`|The Private IP address allocated for load balancer
483517
`load_balancer_nat_pool_id`|The resource ID of the Load Balancer NAT pool

0 commit comments

Comments
 (0)