-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
66 lines (50 loc) · 967 Bytes
/
variables.tf
File metadata and controls
66 lines (50 loc) · 967 Bytes
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
#Global
variable "project" {
default = "surepay"
}
variable "region" {
default = "eu-west-1"
}
variable "default_tags" {
default = {
Environment = "Dev"
Owner = "surepay"
Project = "surepay"
}
description = "Default Tags for Project"
type = map(string)
}
#VPC
variable "vpc_cidr" {
default = "10.0.0.0/16"
type = string
}
variable "private_subnets" {
default = ["10.0.1.0/24", "10.0.2.0/24"]
type = list(string)
}
variable "public_subnets" {
default = ["10.0.101.0/24", "10.0.102.0/24"]
type = list(string)
}
variable "azs" {
default = ["eu-west-1a", "eu-west-1b"]
type = list(string)
}
#Runner
variable "ami_id" {
default = "ami-0e9085e60087ce171" #Ubuntu
type = string
}
variable "instance_type" {
default = "t2.medium"
}
variable "app_name" {
default = "go-app"
}
variable "aws_secret_key" {
default = "aws_secret_key"
}
variable "aws_access_key" {
default = ""
}