github.com/terraform-modules-krish/terratest@v0.29.0/examples/terraform-azure-example/variables.tf (about) 1 # --------------------------------------------------------------------------------------------------------------------- 2 # ENVIRONMENT VARIABLES 3 # Define these secrets as environment variables 4 # --------------------------------------------------------------------------------------------------------------------- 5 6 # ARM_CLIENT_ID 7 # ARM_CLIENT_SECRET 8 # ARM_SUBSCRIPTION_ID 9 # ARM_TENANT_ID 10 11 # --------------------------------------------------------------------------------------------------------------------- 12 # REQUIRED PARAMETERS 13 # You must provide a value for each of these parameters. 14 # --------------------------------------------------------------------------------------------------------------------- 15 16 # --------------------------------------------------------------------------------------------------------------------- 17 # OPTIONAL PARAMETERS 18 # These parameters have reasonable defaults. 19 # --------------------------------------------------------------------------------------------------------------------- 20 21 variable "hostname" { 22 description = "The hostname of the new VM to be configured" 23 type = string 24 default = "terratest-vm" 25 } 26 27 variable "password" { 28 description = "The password to configure for SSH access" 29 type = string 30 default = "HorriblePassword1234!" 31 } 32 33 variable "prefix" { 34 description = "The prefix that will be attached to all resources deployed" 35 type = string 36 default = "terratest-example" 37 } 38 39 variable "username" { 40 description = "The username to be provisioned into your VM" 41 type = string 42 default = "testadmin" 43 } 44