Releases: cloudposse/terraform-aws-elasticache-redis
Releases · cloudposse/terraform-aws-elasticache-redis
v0.46.0
Allow User groups ID to be passed to replication group @nicholas-marchini (#177)
what
- Provides the ability to add a user group to the replication group
why
- To enable RBAC to be used instead of AUTH Token
references
v0.45.0
description configurable @pen-pal (#170)
This PR is to make sure description of replication group is configurable.
what
- The deployment fails if
module "this"
as per example in README.md is not defined in local
why
- Should be able to configure description on my own without specifying any new modules.
references
- Resolves bug
- Use
closes #169
, if this PR closes a GitHub issue#169
v0.44.0
Add `log_delivery_configuration` @nitrocode (#168)
what
- Add
log_delivery_configuration
why
- New functionality
references
- Closes #162
- Closes #167
- Upstream log_delivery_configuration argument for
aws_elasticache_replication_group
- Double checked and inspired by umotif-public's module
Test
Test this out in your infrastructure
module "cloudwatch_logs" {
source = "cloudposse/cloudwatch-logs/aws"
# Cloud Posse recommends pinning every module to a specific version
# version = "x.x.x"
context = module.this.context
}
module "redis" {
# source = "cloudposse/elasticache-redis/aws"
# Cloud Posse recommends pinning every module to a specific version
# version = "x.x.x"
source = "git::https://github.com/cloudposse/terraform-aws-elasticache-redis.git?ref=log_delivery"
log_delivery_configuration = [
{
destination = module.cloudwatch_logs.log_group_name
destination_type = "cloudwatch-logs"
log_format = "json"
log_type = "engine-log"
}
]
context = module.this.context
}
v0.43.0
Fix deprecation warnings @purplepangolin (#160)
what
- Replaces use of deprecated attributes (
cluster_mode
,replication_group_description
,number_cache_clusters
) inaws_elasticache_replication_group
resurce when using provider registry.terraform.io/hashicorp/aws v4.12.0
why
Eliminate warnings when running terraform plan
by moving to latest supported attributes instead.
references
Terraform aws provider docs
v0.42.1
git.io->cloudposse.tools update @dylanbannon (#161)
what and why
Change all references to git.io/build-harness
into cloudposse.tools/build-harness
, since git.io
redirects will stop working on April 29th, 2022.
References
- DEV-143
🤖 Automatic Updates
chore(deps): update terraform cloudposse/security-group/aws to v1 @renovate (#163)
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
cloudposse/security-group/aws (source) | module | major | 0.4.3 -> 1.0.1 |
v0.42.0
Add tags to aws_elasticache_subnet_group @jddcarreira (#150)
what
- Adds tags to the AWS resource aws_elasticache_subnet_group
why
- good practices
v0.41.6
🚀 Enhancements
Re-adding tag propagation for cloudwatch alarms @brucehajdu (#147)
what
In #7, the tag propagation was removed for CloudWatch metric alarms because the tags property did not exist at that time. This PR adds them back.
why
- Terraform has had the capability to manage tags for aws_cloudwatch_metric_alarm resources for a while now, so I think we should add it back, as I think it makes sense for tags to propagate to all possible resources managed by the module.
- This also helps me to comply with my organization's tagging policies without the hassle of manual intervention.
references
- PR where the tags were removed: #7
- Terraform docs showing tags as a valid option for metric alarms: aws_cloudwatch_metric_alarm
- Closes #148
v0.41.5
🤖 Automatic Updates
chore(deps): update terraform cloudposse/security-group/aws to v0.4.3 @renovate (#146)
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
cloudposse/security-group/aws (source) | module | patch | 0.4.2 -> 0.4.3 |
Release Notes
cloudposse/terraform-aws-security-group
v0.4.3
Update recommended inputs and outputs @Nuru (#26)
#### what - Update recommended inputs and outputs #### why - Changes based on experience implementing several modulesRename the exported `security_group_inputs.tf` file to `security-group-inputs.tf` @aknysh (#30)
#### what * Rename the exported `security_group_inputs.tf` file to `security-group-inputs.tf` * Update GitHub workflows and LICENSE #### why * Our naming convention is to use `kebab-case` for all files. Having a file in `snake_case` (after adding it to a repo) together with all the other files in `kebab-case` in the same repo does not look correct * Keep up to datev0.41.4
🚀 Enhancements
fix: make parameter group description configurable @syphernl (#143)
what
- This allows to set the
description
of a Parameter Group to prevent recreation.
why
- Before
v0.41.3
no description was set, so this defaulted toManaged by Terraform
.
As the description cannot be changed without recreating the Parameter Group this caused issues with existing resources.
references
v0.41.3
🚀 Enhancements
Small fixes - convert param values to string, set auto failover to true if cluster enabled @nitrocode (#141)
what
- Small fixes
- Convert param values to string
- Set auto failover to true if cluster enabled
- Add descriptions to subnet and param groups
why
-
Param values will fail if they are not strings
InvalidParameterValue: invalid parameter value, allowed values are:yes,no
-
Auto failover needs to be set to true if cluster mode is enabled or it will fail with an error
InvalidParameterValue: Redis with cluster mode enabled cannot be created with auto failover turned off.
references
- Thanks to @simoferr98 this closes #140