Skip to content

Commit

Permalink
Make terraform recognize lists when uring variables (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonclausen authored and antonbabenko committed Mar 2, 2018
1 parent a907849 commit 9b686be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ resource "aws_vpc_dhcp_options" "this" {
count = "${var.create_vpc && var.enable_dhcp_options ? 1 : 0}"

domain_name = "${var.dhcp_options_domain_name}"
domain_name_servers = "${var.dhcp_options_domain_name_servers}"
ntp_servers = "${var.dhcp_options_ntp_servers}"
netbios_name_servers = "${var.dhcp_options_netbios_name_servers}"
domain_name_servers = ["${var.dhcp_options_domain_name_servers}"]
ntp_servers = ["${var.dhcp_options_ntp_servers}"]
netbios_name_servers = ["${var.dhcp_options_netbios_name_servers}"]
netbios_node_type = "${var.dhcp_options_netbios_node_type}"

tags = "${merge(var.tags, var.dhcp_options_tags, map("Name", format("%s", var.name)))}"
Expand Down

0 comments on commit 9b686be

Please sign in to comment.