Skip to content

Commit 453fcb9

Browse files
authored
fix: Use the specified region to retrieve the current AWS region (#348)
1 parent d208c41 commit 453fcb9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
data "aws_region" "current" {}
1+
data "aws_region" "current" {
2+
region = var.region
3+
}
24

35
data "aws_canonical_user_id" "this" {
46
count = local.create_bucket && local.create_bucket_acl && try(var.owner["id"], null) == null ? 1 : 0

0 commit comments

Comments
 (0)