Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules/aws_ecs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ resource "aws_db_instance" "this" {
allocated_storage = 80
instance_class = var.rds_instance_class
engine = "postgres"
engine_version = "13.7"
engine_version = var.rds_engine_version
auto_minor_version_upgrade = var.rds_auto_minor_version_upgrade
db_name = "hammerhead_production"
username = aws_secretsmanager_secret_version.rds_username.secret_string
password = aws_secretsmanager_secret_version.rds_password.secret_string
Expand Down
12 changes: 12 additions & 0 deletions modules/aws_ecs/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,18 @@ variable "rds_performance_insights_retention_period" {
description = "The time in days to retain Performance Insights for RDS. Defaults to 14."
}

variable "rds_auto_minor_version_upgrade" {
type = bool
default = true
description = "Whether to enable auto minor version upgrade for RDS. Defaults to true."
}

variable "rds_engine_version" {
type = string
default = "13.7"
description = "The engine version for RDS. Defaults to 13.7."
}

variable "use_exising_temporal_cluster" {
type = bool
default = false
Expand Down