Skip to content

Commit

Permalink
Merge pull request #3 from Young-ook/mysql_apply_immediately
Browse files Browse the repository at this point in the history
add apply_immediately option to db instance
  • Loading branch information
Young-ook authored Aug 20, 2019
2 parents 664eb52 + 07d80a6 commit b605010
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ resource "aws_rds_cluster_instance" "db" {
engine_version = "${var.mysql_version}"
db_parameter_group_name = "${aws_db_parameter_group.db.name}"
db_subnet_group_name = "${aws_db_subnet_group.db.name}"
apply_immediately = "${var.apply_immediately}"
}

### dns records
Expand Down
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,8 @@ variable "dns_zone" {
variable "dns_zone_id" {
description = "The hosted zone id for internal dns, e.g., ZFD3TFKDJ1L"
}

variable "apply_immediately" {
description = "pecifies whether any database modifications are applied immediately, or during the next maintenance window"
default = false
}

0 comments on commit b605010

Please sign in to comment.