aboutsummaryrefslogtreecommitdiff
blob: 67459152ca216c72f48e4ab0bcaf8e71f6727622 (plain) (blame)
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
provider "aws" {
  region = var.region
}

variable "name" {
  description = "Name of the service. It will be used to name EC2, and RDS instances."
  default     = "jinwei-me"
}

variable "region" {
  default     = "us-west-2"
  description = "AWS region"
}


# RDS
variable "rds_instance_class" {
  default = "db.t3.micro"
}

variable "rds_storage" {
  default = 20
}

variable "rds_username" {
  default = "jinweime"
}

variable "rds_engine" {
  default = "mariadb"
}

variable "rds_engine_version" {
  default = "10.6"
}

variable "rds_parameter_group" {
  default = "mariadb10.6"
}

variable "rds_port" {
  default = 33060
}

# EC 2
variable "ec2_instance_type" {
  default = "t2.micro"
}

#variable "ec2_key_name" {
#  description = "Name of key pair to log into the EC2 instance. The key pair must already exist."
#  type        = string
#}
Powered by cgit v1.2.3 (git 2.41.0)