-
Notifications
You must be signed in to change notification settings - Fork 0
/
terraform.tfvars
40 lines (36 loc) · 1.33 KB
/
terraform.tfvars
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
# Project Options
project_name = "starter"
region = "eu-central-1"
environment_name = "dev"
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
project_azs = ["eu-central-1a", "eu-central-1b"]
# Network Configuration
# For more information see here: https://github.com/terraform-aws-modules/terraform-aws-vpc
vpc_cidr = "10.0.0.0/16"
public_subnets = ["10.0.1.0/24", "10.0.2.0/24"]
private_subnets = ["10.0.3.0/24", "10.0.4.0/24"]
database_subnets = ["10.0.5.0/24", "10.0.6.0/24"]
dhcp_options_domain_name = "lan"
# For more information on these see here: https://github.com/terraform-aws-modules/terraform-aws-security-group
# full list of rules here: https://github.com/terraform-aws-modules/terraform-aws-security-group/blob/master/rules.tf
ingress_rules = ["http-80-tcp",
"https-443-tcp",
"http-8080-tcp",
"all-icmp",
"ssh-tcp",
"grafana-tcp",
"loki-grafana",
"loki-grafana-grpc",
"prometheus-http-tcp",
"prometheus-node-exporter-http-tcp",
"prometheus-pushgateway-http-tcp",
"promtail-http"
]
# EC2 Options
ec2_instance_type = "g5.8xlarge"
max_spot_price = 0.70
spot_type = "one-time"
username = "friend"
hostname = "ec2spot"
github_username = "cloudymax"
cloud-init-template = "user-data.yaml"