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

Commit 89621eb

Browse files
committed
add fixtures
1 parent 9872aed commit 89621eb

File tree

2 files changed

+58
-0
lines changed
  • .grit/workflows/stainless-gritql-generator/__fixtures__

2 files changed

+58
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This is our baseline config
2+
# We just use this as a sanity check and base for generating schemas.
3+
4+
# Configure the Cloudflare provider using the required_providers stanza
5+
terraform {
6+
required_providers {
7+
cloudflare = {
8+
source = "cloudflare/cloudflare"
9+
version = "~> 4.0"
10+
}
11+
}
12+
}
13+
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"
21+
22+
# cors is a currently a block list
23+
cors_headers = {
24+
allowed_methods = "GET"
25+
allowed_origins = "https://example.com"
26+
allow_credentials = true
27+
max_age = 10
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This is our baseline config
2+
# We just use this as a sanity check and base for generating schemas.
3+
4+
# Configure the Cloudflare provider using the required_providers stanza
5+
terraform {
6+
required_providers {
7+
cloudflare = {
8+
source = "cloudflare/cloudflare"
9+
version = "~> 4.0"
10+
}
11+
}
12+
}
13+
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"
21+
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
28+
}
29+
}

0 commit comments

Comments
 (0)