-
Notifications
You must be signed in to change notification settings - Fork 82
/
terraform.tfvars
83 lines (79 loc) · 4.41 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
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
# Generic variables
region = "us-east-1"
# VPC variables
vpc_name = "dev-vpc"
vpc_cidr = "10.0.0.0/16"
vpc_azs = ["us-east-1a", "us-east-1b", "us-east-1c"]
vpc_public_subnets = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
vpc_private_subnets = ["10.0.11.0/24", "10.0.12.0/24", "10.0.13.0/24"]
vpc_database_subnets = ["10.0.21.0/24", "10.0.22.0/24", "10.0.23.0/24"]
vpc_tags = { "created-by" = "terraform" }
# ASG variables
asg_sg_name = "dev-asg-sg"
asg_sg_description = "dev-asg-sg"
asg_sg_tags = { "Name" = "dev-asg-sg", "created-by" = "terraform" }
asg_name = "dev-asg"
asg_min_size = 0
asg_max_size = 2
asg_desired_capacity = 2
asg_wait_for_capacity_timeout = 0
asg_health_check_type = "EC2"
asg_launch_template_name = "dev-lt"
asg_launch_template_description = "dev-lt"
asg_update_default_version = true
asg_image_id = "ami-026b57f3c383c2eec"
asg_instance_type = "t3.micro"
asg_ebs_optimized = true
asg_enable_monitoring = true
asg_create_iam_instance_profile = true
asg_iam_role_name = "dev-asg-iam-role"
asg_iam_role_path = "/ec2/"
asg_iam_role_description = "dev-asg-iam-role"
asg_iam_role_tags = { "Name" = "dev-asg-iam-role", "created-by" = "terraform" }
asg_block_device_mappings_volume_size_0 = 20
asg_block_device_mappings_volume_size_1 = 30
asg_instance_tags = { "Name" = "dev-asg-instance", "created-by" = "terraform" }
asg_volume_tags = { "Name" = "dev-asg-volume", "created-by" = "terraform" }
asg_tags = { "Name" = "dev-asg", "created-by" = "terraform" }
# ALB variables
alb_sg_name = "dev-alb-sg"
alb_sg_ingress_cidr_blocks = ["0.0.0.0/0"]
alb_sg_description = "dev-alb-sg"
alb_sg_tags = { "Name" = "dev-alb-sg", "created-by" = "terraform" }
alb_name = "dev-alb"
alb_http_tcp_listeners_port = 80
alb_target_group_name = "dev-alb-tg"
alb_target_groups_backend_port = 80
alb_tags = { "Name" = "dev-alb", "created-by" = "terraform" }
# RDS variables
rds_sg_name = "dev-rds-sg"
rds_sg_description = "dev-rds-sg"
rds_sg_tags = { "Name" = "dev-rds-sg", "created-by" = "terraform" }
rds_identifier = "dev-rds"
rds_mysql_engine = "mysql"
rds_engine_version = "8.0.27"
rds_family = "mysql8.0" # DB parameter group
rds_major_engine_version = "8.0" # DB option group
rds_instance_class = "db.t2.small"
rds_allocated_storage = 20
rds_max_allocated_storage = 100
rds_db_name = "dev_mysql"
rds_username = "dev_user"
rds_port = 3306
rds_multi_az = false
rds_maintenance_window = "Mon:00:00-Mon:03:00"
rds_backup_window = "03:00-06:00"
rds_enabled_cloudwatch_logs_exports = ["general"]
rds_create_cloudwatch_log_group = true
rds_backup_retention_period = 0
rds_skip_final_snapshot = true
rds_deletion_protection = false
rds_performance_insights_enabled = false
rds_performance_insights_retention_period = 7
rds_create_monitoring_role = true
rds_monitoring_interval = 60
rds_tags = { "Name" = "dev-rds", "created-by" = "terraform" }
rds_db_instance_tags = { "Name" = "dev-rds-instance", "created-by" = "terraform" }
rds_db_option_group_tags = { "Name" = "dev-rds-option-group", "created-by" = "terraform" }
rds_db_parameter_group_tags = { "Name" = "dev-rds-db-parameter-group", "created-by" = "terraform" }
rds_db_subnet_group_tags = { "Name" = "dev-rds-db-subnet-group", "created-by" = "terraform" }