Page MenuHomePhabricator

D13428.diff
No OneTemporary

D13428.diff

diff --git a/services/terraform/self-host/aws_db.tf b/services/terraform/self-host/aws_db.tf
--- a/services/terraform/self-host/aws_db.tf
+++ b/services/terraform/self-host/aws_db.tf
@@ -37,23 +37,26 @@
# MariaDB RDS Instance
resource "aws_db_instance" "mariadb" {
- allocated_storage = 100
- max_allocated_storage = 3000
- storage_type = "gp3"
- db_name = "mariadb"
- identifier = "mariadb-instance"
- engine = "mariadb"
- engine_version = "10.11"
- instance_class = var.db_instance_class
- db_subnet_group_name = aws_db_subnet_group.public_db_subnet_group.name
- vpc_security_group_ids = [aws_security_group.keyserver_mariadb_security_group.id]
- username = local.mariadb_username
- password = local.mariadb_password
- parameter_group_name = aws_db_parameter_group.mariadb_parameter_group.name
- storage_encrypted = true
- publicly_accessible = true
- port = local.mariadb_port
- skip_final_snapshot = true
+ allocated_storage = 100
+ max_allocated_storage = 3000
+ storage_type = "gp3"
+ db_name = "mariadb"
+ identifier = "mariadb-instance"
+ engine = "mariadb"
+ engine_version = "10.11"
+ instance_class = var.db_instance_class
+ backup_retention_period = 7
+ backup_window = "08:00-09:00"
+ maintenance_window = "Mon:09:30-Mon:10:00"
+ db_subnet_group_name = aws_db_subnet_group.public_db_subnet_group.name
+ vpc_security_group_ids = [aws_security_group.keyserver_mariadb_security_group.id]
+ username = local.mariadb_username
+ password = local.mariadb_password
+ parameter_group_name = aws_db_parameter_group.mariadb_parameter_group.name
+ storage_encrypted = true
+ publicly_accessible = true
+ port = local.mariadb_port
+ skip_final_snapshot = true
}
# MariaDB Parameter Group

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 22, 10:52 AM (12 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2690794
Default Alt Text
D13428.diff (1 KB)

Event Timeline