Skip to content

Instantly share code, notes, and snippets.

@hemanth22
Forked from ernesen/variables.tf
Created October 9, 2020 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hemanth22/f7d2ab251833627e10cbd53391b3176d to your computer and use it in GitHub Desktop.
Save hemanth22/f7d2ab251833627e10cbd53391b3176d to your computer and use it in GitHub Desktop.
variable "profile" {
default = "terraform_iam_user"
}
variable "region" {
default = "ap-southeast-1"
}
variable "instance" {
default = "t2.nano"
}
variable "instance_count" {
default = "1"
}
variable "public_key" {
default = "~/.ssh/MyKeyPair.pub"
}
variable "private_key" {
default = "~/.ssh/MyKeyPair.pem"
}
variable "ansible_user" {
default = "ubuntu"
}
variable "amis" {
type = "map"
default = {
ap-northeast-1 = "ami-b25d44b3" # Asia Pacific (Tokyo)
ap-southeast-1 = "ami-aeb49ffc" # Asia Pacific (Singapore)
ap-southeast-2 = "ami-6b770351" # Asia Pacific (Sydney)
}
}
variable "ami" {
default = "ami-0c5199d385b432989"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment