Files
digitalocean_droplet/variable.image_name.tf
T

10 lines
262 B
Terraform

variable "image_name" {
description = "The image ID or slug to use for the droplet"
type = string
validation {
condition = can(regex("^[a-zA-Z0-9-]+$", var.image_name))
error_message = "The image name must be a valid slug or ID."
}
}