Skip to content

Commit

Permalink
fixed issue on local
Browse files Browse the repository at this point in the history
  • Loading branch information
marciogoda committed Aug 15, 2024
1 parent a245219 commit 5fefb44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
security_group_ids = var.use_default_sg == true ? [aws_security_group.default.id] : var.security_group_ids
security_group_ids = var.use_default_sg == true ? [data.aws_security_group.default[0].id] : var.security_group_ids
}

data "aws_security_group" "default" {
Expand Down

0 comments on commit 5fefb44

Please sign in to comment.