Skip to content

Commit

Permalink
Fix security group reference
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Mar 7, 2024
1 parent b9083d2 commit 2f0b1ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tf/environments/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,13 @@ resource "aws_launch_template" "ooni_nginx" {
create_before_destroy = true
}

network_interfaces {
delete_on_termination = true
security_groups = [
aws_security_group.lb_sg.id,
]
}

tag_specifications {
resource_type = "instance"
tags = {
Expand Down

0 comments on commit 2f0b1ce

Please sign in to comment.