blob: f44cf78d9c90d0aef38bae63bebe81c5efe087ae (
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 = "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
}
|