forked from cloudflare/terraform-provider-cloudflare
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: initialize a terraform config
- Loading branch information
Showing
8 changed files
with
29,509 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.tfrc | ||
*.lock.hcl |
29 changes: 29 additions & 0 deletions
29
.grit/workflows/stainless-gritql-generator/__fixtures__/basic.after/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This is our baseline config | ||
# We just use this as a sanity check and base for generating schemas. | ||
|
||
# Configure the Cloudflare provider using the required_providers stanza | ||
terraform { | ||
required_providers { | ||
cloudflare = { | ||
source = "cloudflare/cloudflare" | ||
version = "~> 4.0" | ||
} | ||
} | ||
} | ||
|
||
# Sample resource with block attributes | ||
resource "cloudflare_access_application" "staging_app" { | ||
zone_id = "0da42c8d2132a9ddaf714f9e7c920711" | ||
name = "staging application" | ||
domain = "staging.example.com" | ||
type = "self_hosted" | ||
session_duration = "24h" | ||
|
||
# cors is a currently a block list | ||
cors_headers = { | ||
allowed_methods = "GET" | ||
allowed_origins = "https://example.com" | ||
allow_credentials = true | ||
max_age = 10 | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
.grit/workflows/stainless-gritql-generator/__fixtures__/basic.before/main.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This is our baseline config | ||
# We just use this as a sanity check and base for generating schemas. | ||
|
||
# Configure the Cloudflare provider using the required_providers stanza | ||
terraform { | ||
required_providers { | ||
cloudflare = { | ||
source = "cloudflare/cloudflare" | ||
version = "~> 4.0" | ||
} | ||
} | ||
} | ||
|
||
# Sample resource with block attributes | ||
resource "cloudflare_access_application" "staging_app" { | ||
zone_id = "0da42c8d2132a9ddaf714f9e7c920711" | ||
name = "staging application" | ||
domain = "staging.example.com" | ||
type = "self_hosted" | ||
session_duration = "24h" | ||
|
||
# cors is a currently a block list | ||
cors_headers { | ||
allowed_methods = ["GET", "POST", "OPTIONS"] | ||
allowed_origins = ["https://example.com"] | ||
allow_credentials = true | ||
max_age = 10 | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
.grit/workflows/stainless-gritql-generator/config/.terraform.lock.hcl
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This is our baseline config | ||
# We just use this as a sanity check and base for generating schemas. | ||
|
||
# Configure the Cloudflare provider using the required_providers stanza | ||
terraform { | ||
required_providers { | ||
cloudflare = { | ||
source = "cloudflare/cloudflare" | ||
version = "~> 4.0" | ||
} | ||
} | ||
} | ||
|
||
# Sample resource with block attributes | ||
resource "cloudflare_access_application" "staging_app" { | ||
zone_id = "0da42c8d2132a9ddaf714f9e7c920711" | ||
name = "staging application" | ||
domain = "staging.example.com" | ||
type = "self_hosted" | ||
session_duration = "24h" | ||
|
||
# cors is a currently a block list | ||
cors_headers { | ||
allowed_methods = ["GET", "POST", "OPTIONS"] | ||
allowed_origins = ["https://example.com"] | ||
allow_credentials = true | ||
max_age = 10 | ||
} | ||
} |
Oops, something went wrong.