Skip to content

Commit 6f187f6

Browse files
Merge pull request #6873 from cloudflare/release-please--branches--main--changes--next
release: 5.19.0-beta.2
2 parents 87cfca2 + ed759ce commit 6f187f6

File tree

871 files changed

+38380
-7579
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

871 files changed

+38380
-7579
lines changed

.github/workflows/acceptance-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ env:
3030
CLOUDFLARE_HYPERDRIVE_DATABASE_PASSWORD: ${{ secrets.CLOUDFLARE_HYPERDRIVE_DATABASE_PASSWORD }}
3131
CLOUDFLARE_HYPERDRIVE_DATABASE_HOSTNAME: ${{ secrets.CLOUDFLARE_HYPERDRIVE_DATABASE_HOSTNAME }}
3232
TF_ACC: 1
33-
# CLOUDFLARE_BYO_IP_CIDR: 2606:54c2:3::/48
34-
# CLOUDFLARE_BYO_IP_ASN: 13335
35-
# CLOUDFLARE_BYO_IP_LOA_DOCUMENT_ID: c8af01b0dd8f4779980824d9a8c84136
33+
CLOUDFLARE_BYO_IP_CIDR: 2606:54c2:3::/48
34+
CLOUDFLARE_BYO_IP_ASN: 13335
35+
CLOUDFLARE_BYO_IP_LOA_DOCUMENT_ID: 5ea1802a15394e649c157d0a25051d41
36+
CLOUDFLARE_BYO_IP_PREFIX_ID: a64cba4d4b764793ad6208410a652e74
3637

3738
jobs:
3839
acceptance-tests:

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup go
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version-file: ./go.mod
25+
go-version: '1.24'
2626

2727
- name: Bootstrap
2828
run: ./scripts/bootstrap
@@ -31,18 +31,29 @@ jobs:
3131
run: ./scripts/lint
3232

3333
test:
34+
name: Unit Tests (shard ${{ matrix.shard }})
3435
runs-on: ${{ github.repository == 'stainless-sdks/cloudflare-terraform' && 'depot-ubuntu-24.04' || 'lx64' }}
3536
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
37+
strategy:
38+
fail-fast: false
39+
matrix:
40+
shard: [1, 2, 3, 4]
3641
steps:
3742
- uses: actions/checkout@v6
3843

3944
- name: Setup go
4045
uses: actions/setup-go@v5
4146
with:
42-
go-version-file: ./go.mod
47+
go-version: '1.24'
48+
cache-dependency-path: go.sum
4349

4450
- name: Bootstrap
4551
run: ./scripts/bootstrap
4652

4753
- name: Run tests
48-
run: ./scripts/test
54+
run: |
55+
# Get all packages and select this shard (1-indexed)
56+
packages=$(go list ./... | awk "NR % 4 == (${{ matrix.shard }} - 1)")
57+
if [ -n "$packages" ]; then
58+
echo "$packages" | xargs go test -v
59+
fi

.github/workflows/migration-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ env:
2020
TF_MIGRATE_BINARY_PATH: ${{ github.workspace }}/tf-migrate
2121
TF_ACC: 1
2222
LAST_V4_VERSION: "4.52.5"
23+
CLOUDFLARE_BYO_IP_CIDR: 2606:54c2:3::/48
24+
CLOUDFLARE_BYO_IP_ASN: 13335
25+
CLOUDFLARE_BYO_IP_LOA_DOCUMENT_ID: 5ea1802a15394e649c157d0a25051d41
26+
CLOUDFLARE_BYO_IP_PREFIX_ID: a64cba4d4b764793ad6208410a652e74
2327
jobs:
2428
migration-tests:
2529
name: ${{ matrix.test.display_name }} Tests
@@ -210,7 +214,7 @@ jobs:
210214

211215
- name: Download tf-migrate
212216
run: |
213-
gh release download v1.0.0-beta.2 --repo cloudflare/tf-migrate --pattern 'tf-migrate_*_linux_amd64.tar.gz' --output tf-migrate.tar.gz
217+
gh release download v1.0.0-beta.5 --repo cloudflare/tf-migrate --pattern 'tf-migrate_*_linux_amd64.tar.gz' --output tf-migrate.tar.gz
214218
tar -xzf tf-migrate.tar.gz tf-migrate
215219
chmod +x tf-migrate
216220
env:

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "5.19.0-beta.1"
2+
".": "5.19.0-beta.2"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 1986
1+
configured_endpoints: 1995
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9ba099b7936091cc984d2a24fc4d32c3ffcb1d71d86412c8c9084d201e16b3ac.yml
33
openapi_spec_hash: 45edc9a107cf5a5e3b204b230b0d336d
4-
config_hash: be3f6e9410db673744447f9dbe92d922
4+
config_hash: ebde54bdd7ec58f9abf7de1c45a2c076

CHANGELOG.md

Lines changed: 192 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ terraform {
2020
required_providers {
2121
cloudflare = {
2222
source = "cloudflare/cloudflare"
23-
version = "~> 5.19.0-beta.1"
23+
version = "~> 5.19.0-beta.2"
2424
}
2525
}
2626
}

cmd/migrate/cloudflare_ruleset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func transformCloudflareRulesetStateJSON(json string, instancePath string) strin
8888
// Note: disable_railgun was removed in v5, so we exclude it
8989
simpleFields := []string{
9090
"additional_cacheable_ports", "automatic_https_rewrites", "bic", "cache",
91-
"content", "content_type", "disable_apps", "disable_zaraz",
91+
"content", "content_converter", "content_type", "disable_apps", "disable_zaraz",
9292
"disable_rum", "fonts", "email_obfuscation", "host_header", "hotlink_protection",
9393
"id", "increment", "mirage", "opportunistic_encryption", "origin_cache_control",
9494
"polish", "products", "read_timeout", "respect_strong_etags",
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
page_title: "cloudflare_certificate_authorities_hostname_associations Data Source - Cloudflare"
3+
subcategory: ""
4+
description: |-
5+
6+
---
7+
8+
# cloudflare_certificate_authorities_hostname_associations (Data Source)
9+
10+
11+
12+
## Example Usage
13+
14+
```terraform
15+
data "cloudflare_certificate_authorities_hostname_associations" "example_certificate_authorities_hostname_associations" {
16+
zone_id = "023e105f4ecef8ad9ca31a8372d0c353"
17+
mtls_certificate_id = "b2134436-2555-4acf-be5b-26c48136575e"
18+
}
19+
```
20+
21+
<!-- schema generated by tfplugindocs -->
22+
## Schema
23+
24+
### Required
25+
26+
- `zone_id` (String) Identifier.
27+
28+
### Optional
29+
30+
- `mtls_certificate_id` (String) The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtls_certificate_id is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
31+
32+
### Read-Only
33+
34+
- `hostnames` (List of String)
35+
- `id` (String) Identifier.
36+
37+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
page_title: "cloudflare_mtls_certificate_associations Data Source - Cloudflare"
3+
subcategory: ""
4+
description: |-
5+
6+
---
7+
8+
# cloudflare_mtls_certificate_associations (Data Source)
9+
10+
11+
12+
## Example Usage
13+
14+
```terraform
15+
data "cloudflare_mtls_certificate_associations" "example_mtls_certificate_associations" {
16+
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
17+
mtls_certificate_id = "023e105f4ecef8ad9ca31a8372d0c353"
18+
}
19+
```
20+
21+
<!-- schema generated by tfplugindocs -->
22+
## Schema
23+
24+
### Required
25+
26+
- `account_id` (String) Identifier.
27+
- `mtls_certificate_id` (String) Identifier.
28+
29+
### Read-Only
30+
31+
- `service` (String) The service using the certificate.
32+
- `status` (String) Certificate deployment status for the given service.
33+
34+

0 commit comments

Comments
 (0)