Skip to content

Commit f5eeae7

Browse files
committed
v5.2.0 (#716)
* fix(s3): add missing FileMaxBytes value to test file * v5.2.0 fix(rate_limiter): lookup new ID before actioning a deletion (#715) This is because when we clone a service, it creates a new ratelimit ID associated with the clone. The fix is try to find the new ratelimit id from the clone and remove it.
1 parent f180aa9 commit f5eeae7

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

CHANGELOG.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1-
## 5.2.0 (Unreleased)
1+
## 5.3.0 (Unreleased)
2+
3+
## 5.2.0 (June 22, 2023)
4+
5+
ENHANCEMENTS:
6+
7+
* feat: add file_max_bytes attribute to logging_s3 resource [#711](https://github.com/fastly/terraform-provider-fastly/pull/711)
8+
9+
BUG FIXES:
10+
11+
* fix(rate_limiter): add rate limter ID to delete call [#714](https://github.com/fastly/terraform-provider-fastly/pull/714)
12+
* fix(rate_limiter): lookup new ID before actioning a deletion [#715](https://github.com/fastly/terraform-provider-fastly/pull/715)
13+
14+
DEPENDENCIES:
15+
16+
* build(deps): bump golang.org/x/net from 0.10.0 to 0.11.0 [#712](https://github.com/fastly/terraform-provider-fastly/pull/712)
217

318
## 5.1.0 (June 13, 2023)
419

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ terraform {
2525
required_providers {
2626
fastly = {
2727
source = "fastly/fastly"
28-
version = ">= 5.1.0"
28+
version = ">= 5.2.0"
2929
}
3030
}
3131
}

fastly/block_fastly_service_logging_s3_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ func TestAccFastlyServiceVCL_s3logging_basic_compute(t *testing.T) {
263263
MessageType: "classic",
264264
TimestampFormat: "%Y-%m-%dT%H:%M:%S.000",
265265
CompressionCodec: "zstd",
266+
FileMaxBytes: 1048576,
266267
}
267268

268269
resource.ParallelTest(t, resource.TestCase{
@@ -277,10 +278,8 @@ func TestAccFastlyServiceVCL_s3logging_basic_compute(t *testing.T) {
277278
Check: resource.ComposeTestCheckFunc(
278279
testAccCheckServiceExists("fastly_service_compute.foo", &service),
279280
testAccCheckFastlyServiceVCLS3LoggingAttributes(&service, []*gofastly.S3{&log1}, ServiceTypeCompute),
280-
resource.TestCheckResourceAttr(
281-
"fastly_service_compute.foo", "name", name),
282-
resource.TestCheckResourceAttr(
283-
"fastly_service_compute.foo", "logging_s3.#", "1"),
281+
resource.TestCheckResourceAttr("fastly_service_compute.foo", "name", name),
282+
resource.TestCheckResourceAttr("fastly_service_compute.foo", "logging_s3.#", "1"),
284283
),
285284
},
286285
},
@@ -306,6 +305,7 @@ func TestAccFastlyServiceVCL_s3logging_domain_default(t *testing.T) {
306305
TimestampFormat: "%Y-%m-%dT%H:%M:%S.000",
307306
MessageType: "classic",
308307
ResponseCondition: "response_condition_test",
308+
FileMaxBytes: 1048576,
309309
}
310310

311311
resource.ParallelTest(t, resource.TestCase{

0 commit comments

Comments
 (0)