From fdb92936354cec6a6fd977e01dfa7303869f36f9 Mon Sep 17 00:00:00 2001 From: stack72 Date: Sun, 8 May 2016 23:07:04 +0100 Subject: [PATCH] provider:azurerm: Add documentation for `azurerm_virtual_machine` adminPassword Reports from issues showed the following errors: ``` { "error": { "code": "InvalidParameter", "target": "adminPassword", "message": "The supplied password must be between 6-72 characters long and must satisfy at least 3 of password complexity requirements from the following: \r\n1) Contains an uppercase character\r\n2) Contains a lowercase character\r\n3) Contains a numeric digit\r\n4) Contains a special character." } } ``` This commit adds some documentation for the adminPassword complexity requirements --- .../docs/providers/azurerm/r/virtual_machine.html.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/source/docs/providers/azurerm/r/virtual_machine.html.markdown b/website/source/docs/providers/azurerm/r/virtual_machine.html.markdown index d2b6233bf..3191127ea 100644 --- a/website/source/docs/providers/azurerm/r/virtual_machine.html.markdown +++ b/website/source/docs/providers/azurerm/r/virtual_machine.html.markdown @@ -153,6 +153,12 @@ For more information on the different example configurations, please check out t * `admin_password` - (Required) Specifies the password of the administrator account. * `custom_data` - (Optional) Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. +~> **NOTE:** `admin_password` must be between 6-72 characters long and must satisfy at least 3 of password complexity requirements from the following: +1. Contains an uppercase character +2. Contains a lowercase character +3. Contains a numeric digit +4. Contains a special character + `os_profile_windows_config` supports the following: * `provision_vm_agent` - (Optional)