Skip to content

Commit

Permalink
Merge pull request #18 from opzkit/ca-certificate
Browse files Browse the repository at this point in the history
feat: allow to set CA certificate to use
  • Loading branch information
argoyle authored Oct 16, 2023
2 parents 3ad39e8 + 384281b commit de0969d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 6 additions & 0 deletions vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit de0969d

Please sign in to comment.