Commit 71993d8d authored by Danny's avatar Danny

add kms key

parent d7595ae4
Pipeline #6528 passed with stage
in 18 seconds
......@@ -2,6 +2,7 @@
# Variables
#############################################################################################################
variable "vpc_id" {}
variable "security_groups" {
type = "list"
}
......@@ -68,6 +69,8 @@ variable "parameter_group" {
default = "default.mysql5.6"
}
variable "kms_key_id" {}
variable "route53_zone" {}
#############################################################################################################
......@@ -122,7 +125,7 @@ resource "aws_db_instance" "default" {
backup_retention_period = "${var.backup_retention_period}"
backup_window = "${var.backup_window}"
maintenance_window = "${var.maintenance_window}"
kms_key_id = "${var.kms_key_id}"
}
resource "aws_db_instance" "read_replica" {
......
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