diff --git a/main.tf b/main.tf index 8c529dd..e44d5bf 100644 --- a/main.tf +++ b/main.tf @@ -43,7 +43,7 @@ resource "aws_security_group" "main" { resource "aws_network_interface" "main" { description = "${var.name} static private ENI" subnet_id = var.subnet_id - security_groups = local.security_groups + security_groups = [aws_security_group.main.id] source_dest_check = false tags = merge(var.tags, {