Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
a7c40d7
feat: adding redis_version to schema and create database call
burythehammer Aug 5, 2025
1dd4bdc
refactor: cleaning up how fields are fetched
burythehammer Aug 5, 2025
d1b16de
refactor: also changing how fields are set into the createdatabase ob…
burythehammer Aug 5, 2025
c661485
chore: updating go api sdk version
burythehammer Aug 6, 2025
e193e4d
chore: update go.sum
burythehammer Aug 6, 2025
8261d23
Merge pull request #640 from RedisLabs/feat/OPCR-17-implement-databas…
burythehammer Aug 7, 2025
25eb110
chore: deprecate redis_version in pro subscription schema
burythehammer Aug 6, 2025
a13427c
docs: update subscription documention to note it is deprecated
burythehammer Aug 6, 2025
ce4955b
Merge pull request #644 from RedisLabs/feat/OPCR-16-deprecate-subscri…
burythehammer Aug 11, 2025
6718893
feat: upgrade path foe redis version
burythehammer Aug 11, 2025
629258f
fix: correctly detect upgrade only if the original is not blank
burythehammer Aug 12, 2025
99a9266
chore: updating go api to v0.33
burythehammer Aug 13, 2025
aa32808
fix: fixing go.sum
burythehammer Aug 13, 2025
7306616
chore: making the essentials tests not run in parallel
burythehammer Aug 13, 2025
2658804
fix: database pending upgrade status now included
burythehammer Aug 13, 2025
02e898d
test: making new pro db test for upgrade specifically
burythehammer Aug 13, 2025
d4b717a
fix: incorrect bracket
burythehammer Aug 13, 2025
d560d6b
fix: was not reading back the redis version and setting it into the s…
burythehammer Aug 13, 2025
0bda6fb
test: fixing issues with parallel essentials tests
burythehammer Aug 13, 2025
3795e0d
test: fixing issues with parallel essential db tests
burythehammer Aug 13, 2025
2291d5c
test: refactoring upgrade test
burythehammer Aug 14, 2025
a889b9a
fix: only upgrading if either version is not blank
burythehammer Aug 14, 2025
60eb42e
test: doesn't change redis_version on update, as that's in another test
burythehammer Aug 14, 2025
4ae69df
test: remove panic as tfproviderlint doesn't like it
burythehammer Aug 14, 2025
68cab39
fix: using t.fatal instead of errs
burythehammer Aug 14, 2025
6f99531
fix: logic on changing versions
burythehammer Aug 14, 2025
a50b791
feat: make version upgrade explicit
burythehammer Aug 14, 2025
24f1e8c
fix: reversing optional upgrade flag. Changing redis_version to compu…
burythehammer Aug 14, 2025
5f49c2b
fix: removing upgrade flag
burythehammer Aug 14, 2025
ad22c3d
Merge pull request #646 from RedisLabs/feat/OPCR-18-upgrade-path-pro-…
burythehammer Aug 15, 2025
a284067
chore: bumping go crypto version from dependabot
burythehammer Aug 13, 2025
49932e6
chore: bump actions/checkout to v5.0.0
burythehammer Aug 13, 2025
7619c8a
chore: bump actions/cache to v4.2.4
burythehammer Aug 13, 2025
ff1717d
chore: bump cloudflare/circl to v1.6.1
burythehammer Aug 13, 2025
a019f6a
chore: updating terraform-plugin-sdk/v2 to v2.37.0
burythehammer Aug 13, 2025
2a4485a
chore: Bump actions/setup-go from 5.4.0 to 5.5.0
burythehammer Aug 13, 2025
f59e560
chore: bump goreleaser/goreleaser-action from 6.3.0 to 6.4.0
burythehammer Aug 15, 2025
092fbfa
Merge pull request #649 from RedisLabs/chore/dependabot-version-bumps
burythehammer Aug 15, 2025
73b02af
docs: adding documentation for release and db schema
burythehammer Aug 15, 2025
6efd604
docs: put the wrong indentation on removed header
burythehammer Aug 15, 2025
f215730
fix: workflow file incorrectly formatted
burythehammer Aug 15, 2025
117ecc8
fix: fix provider main yml as well
burythehammer Aug 15, 2025
6293c64
Merge pull request #651 from RedisLabs/fix/pr-yml
burythehammer Aug 15, 2025
04a08b4
fix: re-add subscription_version functionality
burythehammer Aug 15, 2025
c32e56f
Merge pull request #652 from RedisLabs/fix/revert-removal-subscriptio…
burythehammer Aug 15, 2025
a597d14
feat: adding redis_version support to the pro database datasource
burythehammer Aug 15, 2025
7fa9670
docs: adding redis version to datasource info
burythehammer Aug 18, 2025
a155f92
feat: adding redis_version to AA datasources
burythehammer Aug 18, 2025
0080bff
docs: fixing incorrect resource labels on data source docs
burythehammer Aug 18, 2025
8dfd047
docs: adding redis_version to AA db datasource docs
burythehammer Aug 18, 2025
263cdc4
Merge pull request #653 from RedisLabs/feat/OPCR-34-datasource-redis-…
burythehammer Aug 18, 2025
8aaff3f
feat: aa database version
burythehammer Aug 18, 2025
f5d2e12
chore: bumping deps
burythehammer Aug 19, 2025
5004630
test: adding db version to aa db test
burythehammer Aug 19, 2025
89d2f52
chore: forgot to remove local deps
burythehammer Aug 19, 2025
75bd0c8
chore: and updating go.sum too
burythehammer Aug 19, 2025
7a099fd
Merge pull request #654 from RedisLabs/feat/OPCR-33-AA-database-versi…
burythehammer Aug 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

# Initializes the CodeQL tools for scanning.

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
-
name: Unshallow
run: git fetch --prune --unshallow
-
name: Set up Go
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
go-version-file: go.mod
-
Expand All @@ -38,7 +38,7 @@ jobs:
PASSPHRASE: ${{ secrets.PASSPHRASE }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6.3.0
uses: goreleaser/goreleaser-action@v6.4.0
with:
version: latest
args: release --clean
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/terraform_provider_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ jobs:
name: go build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
continue-on-error: true
id: cache-terraform-plugin-dir
timeout-minutes: 2
with:
path: terraform-plugin-dir
key: ${{ runner.os }}-terraform-plugin-dir-${{ hashFiles('go.sum') }}-${{ hashFiles('provider/**') }}
- if: steps.cache-terraform-plugin-dir.outputs.cache-hit != 'true' || steps.cache-terraform-plugin-dir.outcome == 'failure'
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- if: steps.cache-terraform-plugin-dir.outputs.cache-hit != 'true' || steps.cache-terraform-plugin-dir.outcome == 'failure'
Expand All @@ -61,16 +61,16 @@ jobs:
needs: [go_build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
continue-on-error: true
id: cache-terraform-providers-schema
timeout-minutes: 2
with:
path: terraform-providers-schema
key: ${{ runner.os }}-terraform-providers-schema-${{ hashFiles('go.sum') }}-${{ hashFiles('provider/**') }}
- if: steps.cache-terraform-providers-schema.outputs.cache-hit != 'true' || steps.cache-terraform-providers-schema.outcome == 'failure'
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
timeout-minutes: 2
with:
path: terraform-plugin-dir
Expand Down Expand Up @@ -107,8 +107,8 @@ jobs:
needs: [go_build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAcc(DataSource|Resource)RedisCloud(Essentials|Pro|ActiveActive)Database_.*"'
Expand All @@ -118,8 +118,8 @@ jobs:
needs: [go_test_databases]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAcc(DataSource|Resource)RedisCloud(Essentials|Pro|ActiveActive)Subscription_.*"'
Expand All @@ -129,8 +129,8 @@ jobs:
needs: [go_test_subscriptions]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAcc(DataSource|Resource)RedisCloudSubscriptionTls_.*"'
Expand All @@ -140,8 +140,8 @@ jobs:
needs: [go_test_subscriptions_tls]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAcc(DataSource|Resource)RedisCloudEssentialsPlan_.*"'
Expand All @@ -151,8 +151,8 @@ jobs:
needs: [go_test_essentials_plan]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAcc(DataSource|Resource)RedisCloud(DataPersistence|DatabaseModules|Regions|Acl).*"'
Expand All @@ -162,8 +162,8 @@ jobs:
needs: [go_test_persistence_modules_regions_acl]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-test.short -run="TestAcc(DataSource|Resource)RedisCloud(CloudAccount).*"'
Expand All @@ -173,8 +173,8 @@ jobs:
needs: [go_test_cloud_account]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAcc(DataSource|Resource)RedisCloud(TransitGatewayAttachment|PaymentMethod).*"'
Expand All @@ -184,8 +184,8 @@ jobs:
needs: [go_build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: make tfproviderlint
63 changes: 37 additions & 26 deletions .github/workflows/terraform_provider_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ jobs:
name: go build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
continue-on-error: true
id: cache-terraform-plugin-dir
timeout-minutes: 2
with:
path: terraform-plugin-dir
key: ${{ runner.os }}-terraform-plugin-dir-${{ hashFiles('go.sum') }}-${{ hashFiles('provider/**') }}
- if: steps.cache-terraform-plugin-dir.outputs.cache-hit != 'true' || steps.cache-terraform-plugin-dir.outcome == 'failure'
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- if: steps.cache-terraform-plugin-dir.outputs.cache-hit != 'true' || steps.cache-terraform-plugin-dir.outcome == 'failure'
Expand All @@ -61,16 +61,16 @@ jobs:
needs: [go_build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
continue-on-error: true
id: cache-terraform-providers-schema
timeout-minutes: 2
with:
path: terraform-providers-schema
key: ${{ runner.os }}-terraform-providers-schema-${{ hashFiles('go.sum') }}-${{ hashFiles('provider/**') }}
- if: steps.cache-terraform-providers-schema.outputs.cache-hit != 'true' || steps.cache-terraform-providers-schema.outcome == 'failure'
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
timeout-minutes: 2
with:
path: terraform-plugin-dir
Expand Down Expand Up @@ -107,44 +107,43 @@ jobs:
needs: [go_build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAccResourceRedisCloudActiveActiveDatabase_CRUDI"'


go_test_smoke_essentials_db:
name: go test smoke essentials db
go_test_smoke_essentials_sub:
name: go test smoke essentials sub
needs: [go_build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAccResourceRedisCloudEssentialsDatabase_CRUDI"'
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAccResourceRedisCloudEssentialsSubscription"'


go_test_smoke_essentials_sub:
name: go test smoke essentials sub
needs: [go_build]
go_test_smoke_essentials_db:
name: go test smoke essentials db
needs: go_test_smoke_essentials_sub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAccResourceRedisCloudEssentialsSubscription"'

- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAccResourceRedisCloudEssentialsDatabase_CRUDI"'

go_test_smoke_pro_db:
name: go test smoke pro db
needs: [go_build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAccResourceRedisCloudProDatabase_CRUDI"'
Expand All @@ -155,19 +154,31 @@ jobs:
needs: [ go_build ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAccResourceRedisCloud(PrivateServiceConnect_CRUDI|AclRule_CRUDI)"'

go_test_pro_db_upgrade:
name: go test smoke pro db upgrade
needs: [ go_build ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: EXECUTE_TESTS=true make testacc TESTARGS='-run="TestAccResourceRedisCloudProDatabase_Upgrade"'


tfproviderlint:
name: tfproviderlint
needs: [go_build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- run: make tfproviderlint
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
All notable changes to this project will be documented in this file.
See updating [Changelog example here](https://keepachangelog.com/en/1.0.0/)


# 2.3.0 (15th August 2025)

### Added

- Redis Database version support on create. Specify a version on create to create a DB of that version.
- Database upgrade path. If you specify a different version to something already specified, the provider will upgrade your database to the new version. Will fail on downgrade.

### Changed
- Updating multiple dependencies.

### Removed
- Deprecate subscription version support. If you use `redis_version` on your pro subscription a warning will come up. This will be removed entirely on a major update.

# 2.2.0 (1st August 2025)

### Added
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/rediscloud_active_active_subscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: |-
Active Active Subscription data source in the Redis Cloud Terraform provider.
---

# Resource: rediscloud_active_active_subscription
# Data Source: rediscloud_active_active_subscription

This data source allows access to the details of an existing subscription within your Redis Enterprise Cloud account.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: |-
Database data source for Active-Active Subscriptions in the Redis Cloud Terraform provider.
---

# Resource: rediscloud_active_active_subscription_database
# Data Source: rediscloud_active_active_subscription_database

This data source allows access to the details of an existing database within your Redis Enterprise Cloud account.

Expand Down Expand Up @@ -45,6 +45,7 @@ data "rediscloud_active_active_subscription_database" "example" {
* `memory_limit_in_gb` - The maximum memory usage for the database.
* `dataset_size_in_gb` - Maximum amount of data in the dataset for this specific database in GB.
* `support_oss_cluster_api` - Supports the Redis open-source (OSS) Cluster API.
* `redis_version` - The Redis version of the database.
* `external_endpoint_for_oss_cluster_api` - Use the external endpoint for open-source (OSS) Cluster API.
* `enable_tls` - Enable TLS for database.
* `tls_certificate` - TLS certificate used for authentication.
Expand Down
1 change: 1 addition & 0 deletions docs/data-sources/rediscloud_database.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ data "rediscloud_database" "example" {
* `memory_limit_in_gb` - The maximum memory usage for the database.
* `dataset_size_in_gb` - Maximum amount of data in the dataset for this specific database in GB.
* `support_oss_cluster_api` - Supports the Redis open-source (OSS) Cluster API.
* `redis_version` - The Redis version of the database.
* `resp_version` - Either `resp2` or `resp3`. Database's RESP version.
* `replica_of` - The set of Redis database URIs, in the format `redis://user:password@host:port`, that this
database will be a replica of.
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/rediscloud_essentials_database.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: |-
Database data source for Essentials Subscriptions in the Redis Cloud Terraform provider.
---

# Resource: rediscloud_essentials_database
# Data Source: rediscloud_essentials_database

This data source allows access to the details of an existing database within your Redis Enterprise Cloud account.

Expand Down
3 changes: 1 addition & 2 deletions docs/resources/rediscloud_subscription.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ resource "rediscloud_subscription" "subscription-resource" {
payment_method = "credit-card"
payment_method_id = data.rediscloud_payment_method.card.id
memory_storage = "ram"
redis_version = "7.2"

cloud_provider {
provider = data.rediscloud_cloud_account.account.provider_type
Expand Down Expand Up @@ -76,7 +75,7 @@ The following arguments are supported:
* `payment_method` (Optional) The payment method for the requested subscription, (either `credit-card` or `marketplace`). If `credit-card` is specified, `payment_method_id` must be defined. Default: 'credit-card'. **(Changes to) this attribute are ignored after creation.**
* `payment_method_id` - (Optional) A valid payment method pre-defined in the current account. Only __Required__ when `payment_method` is `credit-card`.
* `memory_storage` - (Optional) Memory storage preference: either ‘ram’ or a combination of ‘ram-and-flash’. Default: ‘ram’. **Modifying this attribute will force creation of a new resource.**
* `redis_version` - (Optional) The Redis version of the databases in the subscription. If omitted, the Redis version will be the default. **Modifying this attribute will force creation of a new resource.**
* `redis_version` - (Optional) The Redis version of the databases in the subscription. If omitted, the Redis version will be the default. **Deprecated: This attribute is deprecated on pro subscriptions. Please specify `redis_version` on databases directly instead.**
* `allowlist` - (Optional) An allowlist object, documented below
* `cloud_provider` - (Required) A cloud provider object, documented below. **Modifying this attribute will force creation of a new resource.**
* `creation_plan` - (Required) A creation plan object, documented below.
Expand Down
Loading
Loading