Skip to content

Commit

Permalink
Use false instead of 0 in enable_create_db_option_group flag (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbabenko authored Jun 28, 2019
2 parents 7c003c4 + f54bf68 commit ef05613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ locals {
parameter_group_name_id = "${coalesce(var.parameter_group_name, module.db_parameter_group.this_db_parameter_group_id)}"

option_group_name = "${coalesce(var.option_group_name, module.db_option_group.this_db_option_group_id)}"
enable_create_db_option_group = "${var.option_group_name == "" && var.engine != "postgres" ? var.create_db_option_group : 0}"
enable_create_db_option_group = "${var.option_group_name == "" && var.engine != "postgres" ? var.create_db_option_group : false}"
}

module "db_subnet_group" {
Expand Down

0 comments on commit ef05613

Please sign in to comment.