Skip to content

Commit

Permalink
Fix: Add BridgeCrew Suppressions (#39)
Browse files Browse the repository at this point in the history
* Add bridgecrew suppressions.
  • Loading branch information
korenyoni authored Jan 27, 2022
1 parent a20bc34 commit 8d0a211
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ data "aws_route53_zone" "default" {
}

resource "aws_route53_record" "default" {
#bridgecrew:skip=BC_AWS_NETWORKING_60:All of the aliases are configurable via var.aliases and it is the user's responsibility to ensure that all of the resources are in the same account.
#bridgecrew:skip=BC_AWS_GENERAL_95:All of the aliases are configurable via var.aliases and it is the user's responsibility to ensure that all of the aliases point to resources and not just IPv4 addresses.
count = module.this.enabled ? length(compact(var.aliases)) : 0
zone_id = try(data.aws_route53_zone.default[0].zone_id, "")
name = compact(var.aliases)[count.index]
Expand Down

0 comments on commit 8d0a211

Please sign in to comment.