Skip to content

Instantly share code, notes, and snippets.

@cromyhector
Created June 4, 2022 03:42
Show Gist options
  • Save cromyhector/886598a72aa3c8b55970e5a483188437 to your computer and use it in GitHub Desktop.
Save cromyhector/886598a72aa3c8b55970e5a483188437 to your computer and use it in GitHub Desktop.
### --- ec2/variables.tf ---
variable "region" {
description = "The region where the instance will be deployed to"
type = string
default = "us-east-1"
}
variable "ami" {
description = "AMI ID"
type = string
default = "ami-0022f774911c1d690"
}
variable "instance_type" {
description = "Type of instance"
type = string
default = "t2.micro"
}
variable "tag_name" {
description = "Name of instance"
type = string
default = "ExampleAppServerInstance"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment