terraform-azurerm-manageddisk/variables.tf

55 строки
2.0 KiB
Terraform
Исходник Постоянная ссылка Обычный вид История

2017-11-29 23:53:20 +03:00
variable "managed_disk_name" {
description = "Name of the new managed disk."
default = "myManagedDisk01"
2017-11-29 23:53:20 +03:00
}
variable "resource_group_name" {
description = "Name of resource group that the managed disk will be created in."
default = "myapp-rg"
2017-11-29 23:53:20 +03:00
}
variable "location" {
description = "The location/region where the managed disk will be created. The full list of Azure regions can be found at https://azure.microsoft.com/regions."
default = ""
2017-11-29 23:53:20 +03:00
}
variable "source_uri" {
description = "URI of a VHD to be imported, resulting in a new managed disk. source_uri, source_resource_id, and image_reference_id are mutually exclusive. Leave them all blank to create a new empty managed disk."
default = ""
2017-11-29 23:53:20 +03:00
}
variable "source_resource_id" {
description = "ID of an existing managed disk to copy, resulting in a new managed disk. source_uri, source_resource_id, and image_reference_id are mutually exclusive. Leave them all blank to create a new empty managed disk."
default = ""
2017-11-29 23:53:20 +03:00
}
variable "image_reference_id" {
description = "ID of a platform image to copy, resulting in a new managed disk. source_uri, source_resource_id, and image_reference_id are mutually exclusive. Leave them all blank to create a new empty managed disk."
default = ""
2017-11-29 23:53:20 +03:00
}
variable "import_or_copy_os_type" {
description = "If new managed disk is imported or copied, the os type contained in the source object. May be 'Linux' or 'Windows'"
default = ""
2017-11-29 23:53:20 +03:00
}
variable "storage_account_type" {
description = "Type of storage to use for new managed disk. May be 'Standard_LRS' or 'Premium_LRS'."
default = "Premium_LRS"
2017-11-29 23:53:20 +03:00
}
variable "disk_size_gb" {
description = "For a new empty disk, size of the disk in gb. For a disk copy or a platform image, if provided must be >= the size of the source. Providing a 0 means disk size remains the same as the source."
default = 0
2017-11-29 23:53:20 +03:00
}
variable "tags" {
description = "The tags to associate with your managed disk."
type = "map"
2017-11-29 23:53:20 +03:00
default = {
tag1 = ""
tag2 = ""
}
}