Skip to content

Commit

Permalink
Added availability_zone to root module (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbabenko authored Feb 15, 2018
1 parent f681318 commit f3dfb61
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 @@ -64,6 +64,7 @@ module "db_instance" {
db_subnet_group_name = "${local.db_subnet_group_name}"
parameter_group_name = "${module.db_parameter_group.this_db_parameter_group_id}"

availability_zone = "${var.availability_zone}"
multi_az = "${var.multi_az}"
iops = "${var.iops}"
publicly_accessible = "${var.publicly_accessible}"
Expand Down
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ variable "db_subnet_group_name" {
// default = ""
//}

variable "availability_zone" {
description = "The Availability Zone of the RDS instance"
default = ""
}

variable "multi_az" {
description = "Specifies if the RDS instance is multi-AZ"
default = false
Expand Down

0 comments on commit f3dfb61

Please sign in to comment.