-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
65 lines (55 loc) · 1.26 KB
/
variables.tf
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
variable "region" {
description = "AWS region"
type = string
default = "us-west-1"
}
variable "vpc" {
description = "VPC ID"
type = string
default = "vpc-12345678909876543"
}
variable "ami" {
description = "AMI ID"
type = string
default = "ami-12345678909876543"
}
variable "itype" {
description = "Instance type"
type = string
default = "t2.micro"
}
variable "subnet" {
description = "Subnet ID"
type = string
default = "subnet-12345678909876543"
}
variable "publicip" {
description = "Whether to assign public IP address"
type = bool
default = true
}
variable "keyname" {
description = "SSH key name"
type = string
default = "keyname"
}
variable "secgroupname" {
description = "Security group name"
type = string
default = "SecurityGroupName"
}
variable "private_key_path" {
description = "Path to the private key file"
type = string
default = "/your/aws/key_pair/location/keyname.pem"
}
variable "zone_id" {
description = "Route53 Zone ID"
type = string
default = "ASDFGHJKLZXCVBNMQWERT"
}
variable "domain_name" {
description = "Domain name"
type = string
default = "yourdomainname.xyz"
}