We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5629c88 commit 467a260Copy full SHA for 467a260
.github/testing/main.tf
@@ -42,14 +42,22 @@ resource "cloudflare_r2_bucket" "test2" {
42
name = random_string.bucket2_name.result
43
}
44
45
-module "r2-api-token" {
+module "r2-api-token-read" {
46
source = "../.."
47
account_id = var.account_id
48
buckets = [cloudflare_r2_bucket.test1.name, cloudflare_r2_bucket.test2.name]
49
bucket_write = false
50
expires_on = timeadd(timestamp(), "10m")
51
52
53
+module "r2-api-token-write" {
54
+ source = "../.."
55
+ account_id = var.account_id
56
+ buckets = [cloudflare_r2_bucket.test2.name]
57
+ bucket_write = true
58
+ expires_on = timeadd(timestamp(), "10m")
59
+}
60
+
61
module "r2-api-token_custom_name" {
62
63
0 commit comments