This repository was archived by the owner on May 19, 2025. It is now read-only.
File tree 2 files changed +58
-0
lines changed
.grit/workflows/stainless-gritql-generator/__fixtures__
2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments