Skip to content

Commit

Permalink
fix: sg arn output
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrijn committed May 11, 2023
1 parent 6bbfaf9 commit 2dca632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ output "security_group_id" {
}

output "security_group_arn" {
value = join("", module.aws_security_group[*].arn)
value = try(module.aws_security_group[*].arn, null)
description = "The ARN of the created security group"
}

Expand Down

0 comments on commit 2dca632

Please sign in to comment.