Skip to content

Commit cf5266e

Browse files
roockaknysh
authored andcommitted
Adding tags for the EIP (#39)
EIP are now correctly tagged
1 parent 3aa4b45 commit cf5266e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ resource "aws_eip" "default" {
121121
count = "${var.associate_public_ip_address == "true" && var.assign_eip_address == "true" && var.instance_enabled == "true" ? 1 : 0}"
122122
network_interface = "${aws_instance.default.primary_network_interface_id}"
123123
vpc = "true"
124+
tags = "${module.label.tags}"
124125
}
125126

126127
data "null_data_source" "eip" {

0 commit comments

Comments
 (0)