aboutsummaryrefslogblamecommitdiff
blob: 66c6e5c82f269f8064c20fefc67ab4f3319e0167 (plain) (tree)

























































                                                                                      
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)