// Authentication related variables variable "client_cert_path" { type = string default = "${env("ARM_CLIENT_CERT_PATH")}" } variable "client_id" { type = string default = "${env("ARM_CLIENT_ID")}" } variable "client_secret" { type = string default = "${env("ARM_CLIENT_SECRET")}" sensitive = true } variable "object_id" { type = string default = "${env("ARM_OBJECT_ID")}" } variable "oidc_request_token" { type = string default = "" } variable "oidc_request_url" { type = string default = "" } variable "subscription_id" { type = string default = "${env("ARM_SUBSCRIPTION_ID")}" } variable "tenant_id" { type = string default = "${env("ARM_TENANT_ID")}" } variable "use_azure_cli_auth" { type = bool default = false } // Azure environment related variables variable "allowed_inbound_ip_addresses" { type = list(string) default = [] } variable "azure_tags" { type = map(string) default = {} } variable "build_key_vault_name" { type = string default = "${env("BUILD_KEY_VAULT_NAME")}" } variable "build_key_vault_secret_name" { type = string default = "${env("BUILD_KEY_VAULT_SECRET_NAME")}" } variable "build_resource_group_name" { type = string default = "${env("BUILD_RG_NAME")}" } variable "gallery_image_name" { type = string default = "${env("GALLERY_IMAGE_NAME")}" } variable "gallery_image_version" { type = string default = "${env("GALLERY_IMAGE_VERSION")}" } variable "gallery_name" { type = string default = "${env("GALLERY_NAME")}" } variable "gallery_resource_group_name" { type = string default = "${env("GALLERY_RG_NAME")}" } variable "gallery_storage_account_type" { type = string default = "${env("GALLERY_STORAGE_ACCOUNT_TYPE")}" } variable "image_os_type" { type = string default = "Windows" } variable "location" { type = string default = "" } variable "managed_image_name" { type = string default = "" } variable "managed_image_resource_group_name" { type = string default = "${env("ARM_RESOURCE_GROUP")}" } variable "managed_image_storage_account_type" { type = string default = "Premium_LRS" } variable "private_virtual_network_with_public_ip" { type = bool default = false } variable "os_disk_size_gb" { type = number default = null } variable "source_image_version" { type = string default = "latest" } variable "temp_resource_group_name" { type = string default = "${env("TEMP_RESOURCE_GROUP_NAME")}" } variable "virtual_network_name" { type = string default = "${env("VNET_NAME")}" } variable "virtual_network_resource_group_name" { type = string default = "${env("VNET_RESOURCE_GROUP")}" } variable "virtual_network_subnet_name" { type = string default = "${env("VNET_SUBNET")}" } variable "vm_size" { type = string default = "Standard_F8s_v2" } variable "winrm_expiration_time" { // A time duration with which to set the WinRM certificate to expire type = string // Also applies to key vault secret expiration time default = "1440h" } variable "winrm_username" { // The username used to connect to the VM via WinRM type = string // Also applies to the username used to create the VM default = "packer" } // Image related variables variable "agent_tools_directory" { type = string default = "C:\\hostedtoolcache\\windows" } variable "helper_script_folder" { type = string default = "C:\\Program Files\\WindowsPowerShell\\Modules\\" } variable "image_folder" { type = string default = "C:\\image" } variable "image_os" { type = string default = "" } variable "image_version" { type = string default = "dev" } variable "imagedata_file" { type = string default = "C:\\imagedata.json" } variable "install_password" { type = string default = "" sensitive = true } variable "install_user" { type = string default = "installer" } variable "temp_dir" { type = string default = "D:\\temp" }