From 4098b8acd5cd73b4bf97083a7740284dde361281 Mon Sep 17 00:00:00 2001 From: Peter Rifel Date: Thu, 16 Nov 2017 02:06:58 -0800 Subject: [PATCH] Add tags to the aws_vpc_dhcp_options resource (#30) --- main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.tf b/main.tf index 3967433b9..6a8a9c942 100644 --- a/main.tf +++ b/main.tf @@ -21,6 +21,8 @@ resource "aws_vpc_dhcp_options" "this" { 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, map("Name", format("%s", var.name)))}" } ###############################