Commit 9b686be9 authored by Simon Clausen's avatar Simon Clausen Committed by Anton Babenko

Make terraform recognize lists when uring variables (#92)

parent a907849c
......@@ -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)))}"
......
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