From 384281ba6a1d632a6404091a6a5f20b45bb2f1ac Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Sat, 14 Oct 2023 14:28:49 +0200 Subject: [PATCH] feat: allow to set CA certificate to use --- main.tf | 1 + vars.tf | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/main.tf b/main.tf index 290299a..83d3c68 100644 --- a/main.tf +++ b/main.tf @@ -71,6 +71,7 @@ resource "aws_db_instance" "default" { performance_insights_kms_key_id = var.kms_key_arn == "" ? null : var.kms_key_arn performance_insights_enabled = true performance_insights_retention_period = var.performance_insights_retention_period + ca_cert_identifier = var.ca_cert_identifier } locals { diff --git a/vars.tf b/vars.tf index 4dd44dd..6a21ded 100644 --- a/vars.tf +++ b/vars.tf @@ -92,3 +92,9 @@ variable "performance_insights_retention_period" { default = 7 description = "Performance insights retention period in days, 7 days is free of charge. Read more here: https://aws.amazon.com/rds/performance-insights/pricing" } + +variable "ca_cert_identifier" { + type = string + default = null + description = "The CA cert identifier to use" +}