User Story 124432 (#236)

* Replaced password with SSH key
This commit is contained in:
Tom Archer
2023-07-12 18:24:59 -07:00
committed by GitHub
parent 7c224d76a1
commit aecb7d60e3
6 changed files with 42 additions and 36 deletions

View File

@ -14,8 +14,9 @@ This template deploys a Linux VM cluster on Azure.
- [azurerm_network_interface](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/network_interface)
- [azurerm_managed_disk](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/managed_disk)
- [azurerm_availability_set](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/availability_set)
- [random_password](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/password)
- [azurerm_linux_virtual_machine](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/linux_virtual_machine)
- [azapi_resource](https://registry.terraform.io/providers/Azure/azapi/latest/docs/resources/azapi_resource)
- [azapi_resource_action](https://registry.terraform.io/providers/Azure/azapi/latest/docs/resources/azapi_resource_action)
## Variables
@ -23,8 +24,7 @@ This template deploys a Linux VM cluster on Azure.
|-|-|-|
| `resource_group_name_prefix` | Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. | rg |
| `resource_group_location` | Location of the resource group. | eastus |
| `user_name` | The username for the local account that will be created on the new VM. | |
| `password` | The password for the local account that will be created on the new VM. | |
| `username` | The username for the local account that will be created on the new VM. | azureadmin |
## Example