github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/examples/azure/terraform-azure-vm-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 "disk_type" {
    22    description = "The type of the Virtual Machine disks"
    23    type        = string
    24    default     = "Standard_LRS"
    25  }
    26  
    27  variable "location" {
    28    description = "The Azure location where to deploy your resources too"
    29    type        = string
    30    default     = "East US"
    31  }
    32  
    33  variable "postfix" {
    34    description = "A postfix string to centrally mitigate resource name collisions"
    35    type        = string
    36    default     = "resource"
    37  }
    38  
    39  variable "private_ip" {
    40    description = "The Static Private IP for the Internal NIC"
    41    type        = string
    42    default     = "10.0.17.4"
    43  }
    44  
    45  variable "subnet_prefix" {
    46    description = "The subnet range of IPs for the Virtual Network"
    47    type        = string
    48    default     = "10.0.17.0/24"
    49  }
    50  
    51  variable "user_name" {
    52    description = "The username to be provisioned into the vm"
    53    type        = string
    54    default     = "testadmin"
    55  }
    56  
    57  # Small Windows Server Image, available with Azure Free Account
    58  variable "vm_image_publisher" {
    59    description = "The storage image reference Publisher from which the VM is created"
    60    type        = string
    61    default     = "MicrosoftWindowsServer"
    62  }
    63  
    64  variable "vm_image_offer" {
    65    description = "The storage image reference Offer from which the VM is created"
    66    type        = string
    67    default     = "WindowsServer"
    68  }
    69  
    70  variable "vm_image_sku" {
    71    description = "The storage image reference SKU from which the VM is created"
    72    type        = string
    73    default     = "2019-Datacenter-Core-smalldisk"
    74  }
    75  
    76  variable "vm_image_version" {
    77    description = "The storage image reference Version from which the VM is created"
    78    type        = string
    79    default     = "latest"
    80  }
    81  
    82  variable "vm_license_type" {
    83    description = "The License Type from which the VM is created"
    84    type        = string
    85    default     = "Windows_Server"
    86  }
    87  
    88  variable "vm_size" {
    89    description = "The Azure VM Size of the VM"
    90    type        = string
    91    default     = "Standard_B1s"
    92  }