Spaces:
Runtime error
Runtime error
File size: 804 Bytes
8202fe8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
variable "region" {
default = "us-east-2"
}
variable "zone" {
default = "us-east-2a"
}
# instance type
variable "instance_type" {
default = "t3.medium"
}
variable "bid_price" {
default = "0.013"
}
variable "target_capacity_type" {
default = "on-demand"
}
# Update "project_tag" to match the tagging requirement of the ongoing project
variable "project_tag" {
default = "single-instance"
}
# Update "ami_id"
variable "ami_id" {
default = "ami-05fb0b8c1424f266b"
}
# Update "key_name" with the key pair name for SSH connection
# Note: it is NOT the path of the pem file
# you can find it in https://console.aws.amazon.com/ec2/v2/home?region=us-east-1#KeyPairs:sort=keyName
variable "key_name" {
default = "aws-key1"
}
variable "eip_id" {
default = "eipalloc-02216567b103be40a"
}
|