aboutsummaryrefslogtreecommitdiff
blob: 66c6e5c82f269f8064c20fefc67ab4f3319e0167 (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
54
55
56
57
58
provider "aws" {
  region = var.region
}

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

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

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

variable "rds_storage_size" {
  default = 20
}

variable "rds_username" {
  default = "mastodon"
}

variable "rds_engine" {
  default = "postgres"
}

variable "rds_engine_version" {
  default = "13.7"
}

variable "rds_parameter_group" {
  default = "default.postgres13"
}

variable "rds_port" {
  default = 33060
}

# EC 2
variable "ec2_instance_type" {
  default = "t3a.medium"
}

variable "site_domain" {
  type    = string
  default = "m.jinwei.me"
}

variable "cloudflare_account_id" {
  description = "The Cloudflare UUID for the Account the Zone lives in."
  type        = string
  sensitive   = true
}
Powered by cgit v1.2.3 (git 2.41.0)