Skip to content

Commit 510ff71

Browse files
committed
Account id needed for api permissions
1 parent da5e7bf commit 510ff71

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
@@ -8,7 +8,9 @@ terraform {
88
}
99
}
1010

11-
data "cloudflare_account_api_token_permission_groups" "this" {}
11+
data "cloudflare_account_api_token_permission_groups" "this" {
12+
account_id = var.account_id
13+
}
1214

1315
locals {
1416
resources = length(var.buckets) > 0 ? { for bucket in var.buckets : "com.cloudflare.edge.r2.bucket.${var.account_id}_${var.jurisdiction}_${bucket}" => "*" } : { "com.cloudflare.edge.r2.bucket.*" = "*" }

0 commit comments

Comments
 (0)