aboutsummaryrefslogblamecommitdiff
blob: 9145176f4fea90445a3a3054188cd11034135782 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                      



                                
































                                








                           
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_initial_db_name" {
  default = "wordpress"
}

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 "site_domain" {
  type        = string
  default     = "jinwei.me"
}

variable "s3_cdn_name" {
  type = string
  default = "static"
}
Powered by cgit v1.2.3 (git 2.41.0)