-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
124 lines (100 loc) · 2.46 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
variable "aws_region" {
description = "The AWS region to create things in."
default = "us-east-1"
}
variable "instance_type" {
description = "Desired instance type for EC2"
default = "t2.medium"
}
# CentOS-7 AMI
variable "aws_ami" {
description = "Image Id"
default = "ami-0eaf7f3ca4d177abb"
}
variable "key_name" {
description = "Desired name of AWS key pair"
default = "terraform"
}
variable "vpc_prod_id" {
description = "Production VPC ID"
default = "vpc-ce4b4eb5"
}
variable "subnet_id" {
description = "Subnet ID to use"
default = "subnet-07f4345b"
}
variable "ssh_cidr_access" {
type = "list"
description = "CIDR of originating traffic"
default = ["10.0.1.244/32", "100.4.210.205/32"]
}
variable "web_cidr_access" {
type = "list"
description = "CIDR of originating traffic"
default = ["100.4.210.205/32"]
}
variable "az_id" {
description = "Availability Zone"
default = "us-east-1b"
}
variable "public_ip" {
description = "Associate ec2 instance wth Public IP"
default = true
}
variable "tag_name" {
description = "Name tag value"
default = "TEST-SERVER"
}
variable "tag_owner" {
description = "Owner tag value"
default = "Andy Lalla"
}
variable "tag_env" {
description = "Environment tag value"
default = "DEV"
}
variable "tag_builder" {
description = "Provisioning tool tag value"
default = "Terraform"
}
variable "chef_server_url" {
description = "Chef Server URL"
default = "https://10.0.1.244/organizations/rmt"
}
variable "chef_server_user_name" {
description = "Account to login to Chef Server"
default = "terraform"
}
variable "chef_server_user_key" {
description = "Chef user account private key"
default = "/var/lib/jenkins/.chef/terraform.pem"
}
variable "server_user" {
description = "User account on server"
default = "centos"
}
variable "ssh_key_filename" {
description = "Server user account private key"
default = "/var/lib/jenkins/.ssh/terraform.pem"
}
variable "ssl_verify_mode" {
description = "Verify SSL on connection to chef server"
default = ":verify_none"
}
variable "run_list" {
type = "list"
description = "List of chef recipet to lay down on server"
default = ["apache::default"]
}
variable "chef_environment" {
description = "Chef environment"
default = "_default"
}
variable "connection_type" {
description = "protocol to connect to AWS server"
default = "ssh"
}
variable "chef_client" {
description = "chef client to install on node"
default = "13.8.5"
}