Skip to content

Commit 2010abd

Browse files
authored
terraform/aws-ec2-autoscaling: remove commented code (#45)
1 parent 2b0af5b commit 2010abd

File tree

1 file changed

+0
-12
lines changed
  • terraform/aws/internal-modules/aws-ec2-autoscaling

1 file changed

+0
-12
lines changed

terraform/aws/internal-modules/aws-ec2-autoscaling/main.tf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ resource "aws_launch_template" "tailscale" {
3636
key_name = var.instance_key_name
3737

3838
network_interfaces {
39-
# associate_public_ip_address = true # TODO(clstokes): remove
4039
subnet_id = var.subnet_id
4140
security_groups = var.security_group_ids
4241
}
@@ -53,17 +52,6 @@ resource "aws_launch_template" "tailscale" {
5352
http_tokens = var.instance_metadata_options["http_tokens"]
5453
}
5554

56-
# TODO(clstokes): remove
57-
# dynamic "network_interfaces" {
58-
# # https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/scenarios-enis.html#creating-dual-homed-instances-with-workloads-roles-on-distinct-subnets
59-
# for_each = var.network_interfaces
60-
# content {
61-
# delete_on_termination = false
62-
# device_index = network_interfaces.key
63-
# network_interface_id = network_interfaces.value
64-
# }
65-
# }
66-
6755
tag_specifications {
6856
resource_type = "instance"
6957
tags = var.instance_tags

0 commit comments

Comments
 (0)