Skip to content

Commit

Permalink
Add tags to the aws_vpc_dhcp_options resource (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
rifelpet authored and antonbabenko committed Nov 16, 2017
1 parent 85a47cb commit 4098b8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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)))}"
}

###############################
Expand Down

0 comments on commit 4098b8a

Please sign in to comment.