Skip to content

Commit

Permalink
feat: allow to set CA certificate to use
Browse files Browse the repository at this point in the history
  • Loading branch information
argoyle committed Oct 14, 2023
1 parent 5abfa80 commit f7f41c3
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 @@ -64,6 +64,7 @@ resource "aws_rds_cluster_instance" "writer" {
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
}

resource "aws_rds_cluster_parameter_group" "cluster_parameters" {
Expand Down
6 changes: 6 additions & 0 deletions vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,9 @@ variable "allow_major_version_upgrade" {
default = false
description = "Allow upgrades of major as well as minor version"
}

variable "ca_cert_identifier" {
type = string
default = null
description = "The CA cert identifier to use"
}

0 comments on commit f7f41c3

Please sign in to comment.