Skip to content

Commit

Permalink
Merge branch 'next' into fixes-for-custom-moves
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz authored Dec 4, 2024
2 parents 7a0c6cb + 3b41499 commit f5e8b09
Show file tree
Hide file tree
Showing 615 changed files with 3,568 additions and 2,769 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1448
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-35321a10f9aec92aee5cd1982968d65ac8bddae6f8cdc422b8168d0d08b19c29.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5d9269029aa80ea06158ff1156ec30914cbeca10b8893ba9ef2df46511e10aae.yml
5 changes: 5 additions & 0 deletions examples/data-sources/cloudflare_access_rule/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
data "cloudflare_access_rule" "example_access_rule" {
rule_id = "023e105f4ecef8ad9ca31a8372d0c353"
account_id = "account_id"
zone_id = "zone_id"
}
12 changes: 12 additions & 0 deletions examples/data-sources/cloudflare_access_rules/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
data "cloudflare_access_rules" "example_access_rules" {
account_id = "account_id"
zone_id = "zone_id"
configuration = {
target = "ip"
value = "198.51.100.4"
}
direction = "asc"
mode = "block"
notes = "my note"
order = "configuration.target"
}
3 changes: 3 additions & 0 deletions examples/data-sources/cloudflare_account/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_account" "example_account" {
account_id = "eb78d65290b24279ba6f44721b3ea3c4"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_account_member" "example_account_member" {
account_id = "eb78d65290b24279ba6f44721b3ea3c4"
member_id = "4536bcfad5faccb111b47003c79917fa"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
data "cloudflare_account_members" "example_account_members" {
account_id = "eb78d65290b24279ba6f44721b3ea3c4"
direction = "asc"
order = "user.first_name"
status = "accepted"
}
4 changes: 4 additions & 0 deletions examples/data-sources/cloudflare_account_role/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_account_role" "example_account_role" {
account_id = "eb78d65290b24279ba6f44721b3ea3c4"
role_id = "3536bcfad5faccb999b47003c79917fb"
}
19 changes: 2 additions & 17 deletions examples/data-sources/cloudflare_account_roles/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
data "cloudflare_account_roles" "account_roles" {
account_id = "f037e56e89293a057740de681ac9abbe"
}

locals {
roles_by_name = {
for role in data.cloudflare_account_roles.account_roles.roles :
role.name => role
}
}

resource "cloudflare_account_member" "member" {
account_id = "f037e56e89293a057740de681ac9abbe"
email_address = "user@example.com"
role_ids = [
local.roles_by_name["Administrator"].id
]
data "cloudflare_account_roles" "example_account_roles" {
account_id = "eb78d65290b24279ba6f44721b3ea3c4"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_account_subscription" "example_account_subscription" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
4 changes: 4 additions & 0 deletions examples/data-sources/cloudflare_account_token/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_account_token" "example_account_token" {
account_id = "eb78d65290b24279ba6f44721b3ea3c4"
token_id = "ed17574386854bf78a67040be0a770b0"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_account_tokens" "example_account_tokens" {
account_id = "eb78d65290b24279ba6f44721b3ea3c4"
direction = "asc"
}
5 changes: 3 additions & 2 deletions examples/data-sources/cloudflare_accounts/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
data "cloudflare_accounts" "example" {
name = "example account"
data "cloudflare_accounts" "example_accounts" {
direction = "asc"
name = "example.com"
}
4 changes: 4 additions & 0 deletions examples/data-sources/cloudflare_address_map/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_address_map" "example_address_map" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
address_map_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
3 changes: 3 additions & 0 deletions examples/data-sources/cloudflare_address_maps/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_address_maps" "example_address_maps" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
4 changes: 4 additions & 0 deletions examples/data-sources/cloudflare_api_shield/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_api_shield" "example_api_shield" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
properties = ["auth_id_characteristics"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
data "cloudflare_api_shield_operation" "example_api_shield_operation" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
diff = true
direction = "asc"
endpoint = "/api/v1"
host = ["api.cloudflare.com"]
method = ["GET"]
order = "host"
origin = "ML"
page = 1
per_page = 5
state = "review"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_api_shield_operation_schema_validation_settings" "example_api_shield_operation_schema_validation_settings" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
operation_id = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
data "cloudflare_api_shield_operations" "example_api_shield_operations" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
diff = true
direction = "asc"
endpoint = "/api/v1"
host = ["api.cloudflare.com"]
method = ["GET"]
order = "host"
origin = "ML"
state = "review"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
data "cloudflare_api_shield_schema" "example_api_shield_schema" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
schema_id = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
omit_source = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_api_shield_schema_validation_settings" "example_api_shield_schema_validation_settings" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_api_shield_schemas" "example_api_shield_schemas" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
validation_enabled = true
}
3 changes: 3 additions & 0 deletions examples/data-sources/cloudflare_api_token/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_api_token" "example_api_token" {
token_id = "ed17574386854bf78a67040be0a770b0"
}

This file was deleted.

3 changes: 3 additions & 0 deletions examples/data-sources/cloudflare_api_tokens/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_api_tokens" "example_api_tokens" {
direction = "asc"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_argo_smart_routing" "example_argo_smart_routing" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_argo_tiered_caching" "example_argo_tiered_caching" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_authenticated_origin_pulls" "example_authenticated_origin_pulls" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
hostname = "app.example.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_authenticated_origin_pulls_certificate" "example_authenticated_origin_pulls_certificate" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
certificate_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_authenticated_origin_pulls_certificates" "example_authenticated_origin_pulls_certificates" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_bot_management" "example_bot_management" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
4 changes: 4 additions & 0 deletions examples/data-sources/cloudflare_byo_ip_prefix/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_byo_ip_prefix" "example_byo_ip_prefix" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
prefix_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_byo_ip_prefixes" "example_byo_ip_prefixes" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
4 changes: 4 additions & 0 deletions examples/data-sources/cloudflare_calls_sfu_app/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_calls_sfu_app" "example_calls_sfu_app" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
app_id = "2a95132c15732412d22c1476fa83f27a"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_calls_sfu_apps" "example_calls_sfu_apps" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_calls_turn_app" "example_calls_turn_app" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
key_id = "2a95132c15732412d22c1476fa83f27a"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_calls_turn_apps" "example_calls_turn_apps" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_certificate_pack" "example_certificate_pack" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
certificate_pack_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_certificate_packs" "example_certificate_packs" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
status = "all"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_cloudforce_one_request" "example_cloudforce_one_request" {
account_identifier = "023e105f4ecef8ad9ca31a8372d0c353"
request_identifier = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
data "cloudflare_cloudforce_one_request_asset" "example_cloudforce_one_request_asset" {
account_identifier = "023e105f4ecef8ad9ca31a8372d0c353"
request_identifier = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
asset_identifer = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
data "cloudflare_cloudforce_one_request_message" "example_cloudforce_one_request_message" {
account_identifier = "023e105f4ecef8ad9ca31a8372d0c353"
request_identifier = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
page = 0
per_page = 10
after = "2022-01-01T00:00:00Z"
before = "2024-01-01T00:00:00Z"
sort_by = "created"
sort_order = "asc"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_cloudforce_one_request_priority" "example_cloudforce_one_request_priority" {
account_identifier = "023e105f4ecef8ad9ca31a8372d0c353"
priority_identifer = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_cloudforce_one_requests" "example_cloudforce_one_requests" {
account_identifier = "023e105f4ecef8ad9ca31a8372d0c353"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_custom_hostname" "example_custom_hostname" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
custom_hostname_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_custom_hostname_fallback_origin" "example_custom_hostname_fallback_origin" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
data "cloudflare_custom_hostnames" "example_custom_hostnames" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
id = "0d89c70d-ad9f-4843-b99f-6cc0252067e9"
direction = "asc"
hostname = "app.example.com"
ssl = 0
}
4 changes: 4 additions & 0 deletions examples/data-sources/cloudflare_custom_ssl/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_custom_ssl" "example_custom_ssl" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
custom_certificate_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
4 changes: 4 additions & 0 deletions examples/data-sources/cloudflare_custom_ssls/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_custom_ssls" "example_custom_ssls" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
status = "active"
}
4 changes: 4 additions & 0 deletions examples/data-sources/cloudflare_d1_database/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_d1_database" "example_d1_database" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
database_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
4 changes: 4 additions & 0 deletions examples/data-sources/cloudflare_d1_databases/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_d1_databases" "example_d1_databases" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
name = "name"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_dcv_delegation" "example_dcv_delegation" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
}

This file was deleted.

3 changes: 0 additions & 3 deletions examples/data-sources/cloudflare_devices/data-source.tf

This file was deleted.

3 changes: 0 additions & 3 deletions examples/data-sources/cloudflare_dlp_datasets/data-source.tf

This file was deleted.

4 changes: 4 additions & 0 deletions examples/data-sources/cloudflare_dns_firewall/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_dns_firewall" "example_dns_firewall" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
dns_firewall_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
3 changes: 3 additions & 0 deletions examples/data-sources/cloudflare_dns_firewalls/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_dns_firewalls" "example_dns_firewalls" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
6 changes: 3 additions & 3 deletions examples/data-sources/cloudflare_dns_record/data-source.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
data "cloudflare_dns_record" "example" {
zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
hostname = "example.com"
data "cloudflare_dns_record" "example_dns_record" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
dns_record_id = "023e105f4ecef8ad9ca31a8372d0c353"
}
33 changes: 33 additions & 0 deletions examples/data-sources/cloudflare_dns_records/data-source.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
data "cloudflare_dns_records" "example_dns_records" {
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
comment = {
absent = "absent"
contains = "ello, worl"
endswith = "o, world"
exact = "Hello, world"
present = "present"
startswith = "Hello, w"
}
content = {
contains = "7.0.0."
endswith = ".0.1"
exact = "127.0.0.1"
startswith = "127.0."
}
name = {
contains = "w.example."
endswith = ".example.com"
exact = "www.example.com"
startswith = "www.example"
}
search = "www.cloudflare.com"
tag = {
absent = "important"
contains = "greeting:ello, worl"
endswith = "greeting:o, world"
exact = "greeting:Hello, world"
present = "important"
startswith = "greeting:Hello, w"
}
type = "A"
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_dns_zone_transfers_acl" "example_dns_zone_transfers_acl" {
account_id = "01a7362d577a6c3019a474fd6f485823"
acl_id = "23ff594956f20c2a721606e94745a8aa"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_dns_zone_transfers_acls" "example_dns_zone_transfers_acls" {
account_id = "01a7362d577a6c3019a474fd6f485823"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_dns_zone_transfers_incoming" "example_dns_zone_transfers_incoming" {
zone_id = "269d8f4853475ca241c4e730be286b20"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
data "cloudflare_dns_zone_transfers_outgoing" "example_dns_zone_transfers_outgoing" {
zone_id = "269d8f4853475ca241c4e730be286b20"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
data "cloudflare_dns_zone_transfers_peer" "example_dns_zone_transfers_peer" {
account_id = "01a7362d577a6c3019a474fd6f485823"
peer_id = "23ff594956f20c2a721606e94745a8aa"
}
Loading

0 comments on commit f5e8b09

Please sign in to comment.