Skip to content

Commit d00272f

Browse files
committed
docs: various docs changes, bumping go.mod, adding new action to gh actions
1 parent b7b728d commit d00272f

File tree

6 files changed

+37
-7
lines changed

6 files changed

+37
-7
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: 'Run Acceptance Tests'
2+
description: 'Run acceptance tests with validation that tests actually ran'
3+
inputs:
4+
test_pattern:
5+
description: 'Test pattern to pass to -run flag'
6+
required: true
7+
runs:
8+
using: 'composite'
9+
steps:
10+
- name: Run tests
11+
shell: bash
12+
env:
13+
TEST_PATTERN: ${{ inputs.test_pattern }}
14+
run: |
15+
set -o pipefail
16+
EXECUTE_TESTS=true make testacc TESTARGS="-run=\"$TEST_PATTERN\"" 2>&1 | tee test_output.txt
17+
if ! grep -q "=== RUN" test_output.txt; then
18+
echo "ERROR: No tests matched the pattern. Please check the -run argument."
19+
exit 1
20+
fi

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
All notable changes to this project will be documented in this file.
44
See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/)
55

6+
7+
# Unreleased
8+
9+
## Fixed
10+
- `rediscloud_active_active_subscription_database`: Fixed drift detection for `enable_default_user` in region overrides. Regions now correctly inherit from `global_enable_default_user` when not explicitly set, eliminating spurious diffs.
11+
- `rediscloud_active_active_subscription_database`: Fixed drift detection for `global_data_persistence`. This field now correctly tracks API-returned values without causing unexpected diffs.
12+
613
# 2.8.0 (10th November 2025)
714

815
## Added

docs/data-sources/rediscloud_subscription.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ output "rediscloud_subscription" {
3232

3333
`id` is set to the ID of the found subscription.
3434

35-
* `aws_account_id` - AWS account ID that the subscription is deployed in (AWS subscriptions only).
3635
* `payment_method_id` - A valid payment method pre-defined in the current account
3736
* `memory_storage` - Memory storage preference: either 'ram' or a combination of 'ram-and-flash'
3837
* `cloud_provider` - A cloud provider object, documented below
@@ -45,6 +44,7 @@ The `cloud_provider` block supports:
4544

4645
* `provider` - The cloud provider to use with the subscription, (either `AWS` or `GCP`)
4746
* `cloud_account_id` - Cloud account identifier, (A Cloud Account Id = 1 implies using Redis Labs internal cloud account)
47+
* `aws_account_id` - AWS account ID that the subscription is deployed in (AWS subscriptions only).
4848
* `region` - Cloud networking details, per region (single region or multiple regions for Active-Active cluster only), documented below
4949

5050
The cloud_provider `region` block supports:

docs/resources/rediscloud_subscription.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,12 @@ The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/d
151151

152152
## Attribute reference
153153

154-
* `aws_account_id` - AWS account ID that the subscription is deployed in (AWS subscriptions only).
155154
* `customer_managed_key_redis_service_account` - Outputs the id of the service account associated with the subscription. Useful as part of the CMK flow.
156155

156+
The `cloud_provider` block has these attributes:
157+
158+
* `aws_account_id` - AWS account ID that the subscription is deployed in (AWS subscriptions only).
159+
157160
The `region` block has these attributes:
158161

159162
* `networks` - List of generated network configuration

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ go 1.24.0
55
toolchain go1.24.1
66

77
require (
8-
github.com/RedisLabs/rediscloud-go-api v0.42.0
8+
github.com/RedisLabs/rediscloud-go-api v0.43.0
99
github.com/bflad/tfproviderlint v0.31.0
1010
github.com/hashicorp/go-cty v1.5.0
11+
github.com/hashicorp/terraform-plugin-log v0.9.0
1112
github.com/hashicorp/terraform-plugin-sdk/v2 v2.38.1
1213
github.com/stretchr/testify v1.11.1
1314
)
@@ -38,7 +39,6 @@ require (
3839
github.com/hashicorp/terraform-exec v0.23.1 // indirect
3940
github.com/hashicorp/terraform-json v0.27.1 // indirect
4041
github.com/hashicorp/terraform-plugin-go v0.29.0 // indirect
41-
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
4242
github.com/hashicorp/terraform-registry-address v0.4.0 // indirect
4343
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
4444
github.com/hashicorp/yamux v0.1.2 // indirect
@@ -71,4 +71,4 @@ require (
7171
)
7272

7373
// for local development, uncomment this
74-
//replace github.com/RedisLabs/rediscloud-go-api => ../rediscloud-go-api
74+
// replace github.com/RedisLabs/rediscloud-go-api => ../rediscloud-go-api

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERo
44
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
55
github.com/ProtonMail/go-crypto v1.1.6 h1:ZcV+Ropw6Qn0AX9brlQLAUXfqLBc7Bl+f/DmNxpLfdw=
66
github.com/ProtonMail/go-crypto v1.1.6/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE=
7-
github.com/RedisLabs/rediscloud-go-api v0.42.0 h1:nsEgDF9IlPSGVTpMtDMAKR3mzk1oqATAxpO/hAqrp80=
8-
github.com/RedisLabs/rediscloud-go-api v0.42.0/go.mod h1:ZsOzeXCzczue7vOiAF0be0sl1FTEgltAGmh+4s0BFq0=
7+
github.com/RedisLabs/rediscloud-go-api v0.43.0 h1:fMODeDNQoD/o2afeSkMl8zezxQ/scOW17Z54p3GrhyI=
8+
github.com/RedisLabs/rediscloud-go-api v0.43.0/go.mod h1:ZsOzeXCzczue7vOiAF0be0sl1FTEgltAGmh+4s0BFq0=
99
github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE=
1010
github.com/agext/levenshtein v1.2.2/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
1111
github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec=

0 commit comments

Comments
 (0)