Commit 52290d2c authored by Sebastian Melchior's avatar Sebastian Melchior Committed by Anton Babenko

Add support for ca_cert_identifier option (#174)

parent cfade373
...@@ -85,6 +85,8 @@ module "db_instance" { ...@@ -85,6 +85,8 @@ module "db_instance" {
iops = var.iops iops = var.iops
publicly_accessible = var.publicly_accessible publicly_accessible = var.publicly_accessible
ca_cert_identifier = var.ca_cert_identifier
allow_major_version_upgrade = var.allow_major_version_upgrade allow_major_version_upgrade = var.allow_major_version_upgrade
auto_minor_version_upgrade = var.auto_minor_version_upgrade auto_minor_version_upgrade = var.auto_minor_version_upgrade
apply_immediately = var.apply_immediately apply_immediately = var.apply_immediately
......
...@@ -89,6 +89,8 @@ resource "aws_db_instance" "this" { ...@@ -89,6 +89,8 @@ resource "aws_db_instance" "this" {
character_set_name = var.character_set_name character_set_name = var.character_set_name
ca_cert_identifier = var.ca_cert_identifier
enabled_cloudwatch_logs_exports = var.enabled_cloudwatch_logs_exports enabled_cloudwatch_logs_exports = var.enabled_cloudwatch_logs_exports
deletion_protection = var.deletion_protection deletion_protection = var.deletion_protection
......
...@@ -273,3 +273,9 @@ variable "max_allocated_storage" { ...@@ -273,3 +273,9 @@ variable "max_allocated_storage" {
type = number type = number
default = 0 default = 0
} }
variable "ca_cert_identifier" {
description = "Specifies the identifier of the CA certificate for the DB instance"
type = string
default = "rds-ca-2015"
}
...@@ -342,3 +342,9 @@ variable "max_allocated_storage" { ...@@ -342,3 +342,9 @@ variable "max_allocated_storage" {
type = number type = number
default = 0 default = 0
} }
variable "ca_cert_identifier" {
description = "Specifies the identifier of the CA certificate for the DB instance"
type = string
default = "rds-ca-2015"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment