Skip to content

Commit

Permalink
refactor: changes to allow terraform to apply cleanly
Browse files Browse the repository at this point in the history
  • Loading branch information
DecFox committed Dec 18, 2024
1 parent 6c541be commit 01302a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tf/modules/ec2/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@ resource "aws_alb_target_group" "ooni_ec2" {
}

resource "aws_lb_target_group_attachment" "oonibackend_proxy" {
target_id = aws_instance.ooni_ec2
target_id = aws_instance.ooni_ec2.id
target_group_arn = aws_alb_target_group.ooni_ec2.arn
}
2 changes: 1 addition & 1 deletion tf/modules/ec2/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
output "aws_instance_id" {
value = aws_instance.oonibackend_proxy.id
value = aws_instance.ooni_ec2.id
}

output "aws_instance_public_dns" {
Expand Down

0 comments on commit 01302a4

Please sign in to comment.