feat: add snapshot_arns_to_restore for serverless ElastiCache @muhammadasgharaliqureshi (#252)
## What & Why- Adds a new variable
serverless_snapshot_arns_to_restore
that allows restoring a serverless ElastiCache Redis cluster from an existing snapshot. - References Issue #251
- This capability is essential for users migrating from a serverful Redis cluster to serverless via snapshot restore.
References
Example Usage
module "redis_serverless" {
source = "cloudposse/elasticache-redis/aws"
# existing variables ...
serverless_enabled = true
serverless_snapshot_arns_to_restore = ["arn:aws:s3:::my-snapshot-bucket/redis-snapshot.rdb"]
}
Testing
- Ran terraform validate on the module; no errors.
- Executed terraform plan using the examples/ folder with this new variable set, and verified it passed.
- Confirmed that when specifying serverless_snapshot_arns_to_restore, the argument is included in the aws_elasticache_serverless_cache.default resource.
Testing Results
tofu init
tofu plan
Checklist
- Added new variable serverless_snapshot_arns_to_restore in variables.tf
- Updated aws_elasticache_serverless_cache.default in main.tf to pass the variable
- Documented usage in the README (or relevant doc files)
- Passed terraform fmt and terraform validate
- Awaiting maintainer feedback
🤖 Automatic Updates
chore(deps): update terraform cloudposse/dynamic-subnets/aws to v2.4.2 @[renovate[bot]](https://github.com/apps/renovate) (#221)
This PR contains the following updates:Package | Type | Update | Change |
---|---|---|---|
cloudposse/dynamic-subnets/aws (source) | module | patch | 2.4.1 -> 2.4.2 |
Release Notes
cloudposse/terraform-aws-dynamic-subnets (cloudposse/dynamic-subnets/aws)
v2.4.2
🚀 Enhancements
chore(deps): update terraform cloudposse/utils/aws to v1.4.0 (main) @renovate (#191)
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
cloudposse/utils/aws (source) | module | minor | 1.3.0 -> 1.4.0 |
Release Notes
cloudposse/terraform-aws-utils (cloudposse/utils/aws)
v1.4.0
Add il-central-1 region @​jasonmk (#​31)
what
Add new Tel Aviv (il-central-1) region
why
Provide full coverage
references
Sync github @​max-lobur (#​27)
Rebuild github dir from the template
🤖 Automatic Updates
chore(deps): update terraform cloudposse/utils/aws to v1.4.0 (main) @renovate (#191)
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
cloudposse/utils/aws (source) | module | minor | 1.3.0 -> 1.4.0 |
Release Notes
cloudposse/terraform-aws-utils (cloudposse/utils/aws)
v1.4.0
Add il-central-1 region @​jasonmk (#​31)
what
Add new Tel Aviv (il-central-1) region
why
Provide full coverage
references
Sync github @​max-lobur (#​27)
Rebuild github dir from the template
Update README.md and docs @cloudpossebot (#189)
what
This is an auto-generated PR that updates the README.md and docs
why
To have most recent changes of README.md and doc from origin templates
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.