Skip to content

Commit 7e704fb

Browse files
authored
Merge pull request #5 from truemark/t4nano
changed network attachment
2 parents c47b324 + c3e5a96 commit 7e704fb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

main.tf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ resource "aws_launch_template" "this" {
7979
}
8080

8181
network_interfaces {
82-
associate_public_ip_address = true
83-
security_groups = [aws_security_group.this.id]
84-
delete_on_termination = true
82+
device_index = 0
83+
network_interface_id = aws_network_interface.this.id
8584
}
8685

8786
tag_specifications {

0 commit comments

Comments
 (0)