Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Oct 28, 2022
1 parent 00cc938 commit 3e03d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s3-flow-logs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

locals {
account_id = var.account_id != "" ? var.account_id : data.aws_caller_identity.current.account_id
regions = [for r in data.aws_regions.current : r if startswith(r, "us-")]
regions = [for r in tolist(data.aws_regions.current) : r if startswith(r, "us-")]
region = data.aws_region.current.name
account_environment = data.aws_arn.current.partition == "aws-us-gov" ? "gov" : "ew"

Expand Down

0 comments on commit 3e03d27

Please sign in to comment.