Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 9872aed

Browse files
committed
[skip ci] yolo
1 parent 4098463 commit 9872aed

File tree

1 file changed

+13
-12
lines changed
  • .grit/workflows/stainless-gritql-generator/config

1 file changed

+13
-12
lines changed

.grit/workflows/stainless-gritql-generator/config/main.tf

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,19 @@ terraform {
1111
}
1212
}
1313

14-
resource "cloudflare_record" "_sip_tls" {
15-
zone_id = "my-epic-zone"
16-
name = "_sip._tls"
17-
type = "SRV"
14+
# Sample resource with block attributes
15+
resource "cloudflare_access_application" "staging_app" {
16+
zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
17+
name = "staging application"
18+
domain = "staging.example.com"
19+
type = "self_hosted"
20+
session_duration = "24h"
1821

19-
data {
20-
service = "_sip"
21-
proto = "_tls"
22-
name = "terraform-srv"
23-
priority = 0
24-
weight = 0
25-
port = 443
26-
target = "example.com"
22+
# cors is a currently a block list
23+
cors_headers {
24+
allowed_methods = ["GET", "POST", "OPTIONS"]
25+
allowed_origins = ["https://example.com"]
26+
allow_credentials = true
27+
max_age = 10
2728
}
2829
}

0 commit comments

Comments
 (0)