Skip to content

Commit

Permalink
use rds-ca-2019 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
drpebcak committed Jan 15, 2020
1 parent 3c1ba72 commit c6f510c
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 @@ -24,6 +24,7 @@ resource "aws_docdb_cluster_instance" "cluster_instances" {
identifier = "${var.name}-${count.index}"
cluster_identifier = aws_docdb_cluster.api_docdb.id
instance_class = var.cluster_instance_class
ca_cert_identifier = var.ca_cert_identifier
}

resource "aws_docdb_cluster_parameter_group" "api_docdb" {
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@ variable "apply_immediately" {
description = "Specifies whether any cluster modifications are applied immediately, or during the next maintenance window."
type = bool
}

variable "ca_cert_identifier" {
default = "rds-ca-2019"
description = "Optional, identifier of the CA certificate to use for DB instance"
type = string
}

0 comments on commit c6f510c

Please sign in to comment.