84 lines
1021 B
HCL
84 lines
1021 B
HCL
variable "project_name" {
|
|
type = string
|
|
}
|
|
|
|
variable "environment" {
|
|
type = string
|
|
}
|
|
|
|
variable "aws_region" {
|
|
type = string
|
|
}
|
|
|
|
variable "vpc_cidr" {
|
|
type = string
|
|
}
|
|
|
|
variable "public_subnet_cidrs" {
|
|
type = list(string)
|
|
}
|
|
|
|
variable "private_subnet_cidrs" {
|
|
type = list(string)
|
|
}
|
|
|
|
variable "domain_name" {
|
|
type = string
|
|
}
|
|
|
|
|
|
|
|
variable "db_name" {
|
|
type = string
|
|
}
|
|
|
|
variable "db_username" {
|
|
type = string
|
|
}
|
|
|
|
variable "db_instance_class" {
|
|
type = string
|
|
}
|
|
|
|
variable "db_allocated_storage" {
|
|
type = number
|
|
}
|
|
|
|
variable "db_engine_version" {
|
|
type = string
|
|
}
|
|
|
|
variable "nginx_instance_type" {
|
|
type = string
|
|
}
|
|
|
|
variable "app_instance_type" {
|
|
type = string
|
|
}
|
|
|
|
variable "app_port" {
|
|
type = number
|
|
}
|
|
|
|
|
|
variable "allowed_ssh_cidr" {
|
|
type = string
|
|
}
|
|
|
|
variable "log_retention_days" {
|
|
type = number
|
|
}
|
|
|
|
variable "terraform_aws_access_key" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "terraform_aws_secret_key" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
variable "admin_email" {
|
|
type = string
|
|
}
|