User Tools

Site Tools


terraform:inputvariables

Defining Input Variables

Input variables are defined using the variable block. Each variable can have a default value, a type, a description, and other optional parameters.

variable "instance_type" {
  description = "Type of EC2 instance"
  type        = string
  default     = "t2.micro"
}
terraform/inputvariables.txt · Last modified: 2024/07/01 09:57 by kamaradski