Skip to content

Releases: cloudposse/terraform-aws-elasticache-redis

v0.51.1

30 May 14:08
6d2fef2
Compare
Choose a tag to compare
Sync github @max-lobur (#196)

Rebuild github dir from the template

🚀 Enhancements

feat: Add support for aws provider 5.0 @MaxymVlasov (#198)

why

That field was deprecated in 4.0 and was removed in 5.0

Note:

make init
make github/init
make readme

Already ran and committed

v0.51.0

17 May 09:14
e18c196
Compare
Choose a tag to compare
  • No changes

v0.50.0

28 Mar 10:12
e18c196
Compare
Choose a tag to compare
Groundwork new workflows @max-lobur (#193)

Fix lint/format before workflows rollout

v0.49.0

20 Dec 13:39
4d67f1a
Compare
Choose a tag to compare
Fix breaking change introduced in 0.46.0 - `user_group_ids` conflicts… @MaxymVlasov (#184)

… with auth_token

why

  • If you specify only auth_token - Terraform plan will fail because it interprets user_group_ids = [] as specified value

Before 0.46.0 I can do next:

module "redis" {
  source  = "cloudposse/elasticache-redis/aws"
  version = "0.45.0"

  auth_token         = join("", random_password.auth_token[*].result)
}

After upgrade I need to do next, which I don't like:

module "redis" {
  source  = "cloudposse/elasticache-redis/aws"
  version = "0.48.0"

  # Confilicting parameters. Could be set only one of them
  auth_token         = join("", random_password.auth_token[*].result)
  user_group_ids     = null
}

So I just return previous logic

module "redis" {
  source = "git::https://github.com/MaxymVlasov/terraform-aws-elasticache-redis?ref=83f0142d97123157482d05c62eaaeecbacfb71e1"

  auth_token         = join("", random_password.auth_token[*].result)
}

v0.48.0

19 Nov 17:48
c8abd68
Compare
Choose a tag to compare
feat: Add `data_tiering_enabled` @Cheezmeister (#175)

what

  • Introduce var.data_tiering_enabled and plumb it through to the aws provider

why

  • @teikametrics needs to set data_tiering_enabled true to provision our desired node type
    Error: error creating ElastiCache Replication Group (bidder-redis-cluster-production): InvalidParameterCombination: When     using the cache.r6gd.xlarge node type, you must enable data tiering.
    status code: 400, request id: REDACTED
    
  • This flag data_tiering_enabled doesn't currently exist in the terraform-aws-elasticache-redis module

references

v0.47.0

09 Nov 03:58
7ad8f0d
Compare
Choose a tag to compare
Add `auto_minor_version_upgrade` parameter @LieneJansone (#183)

what

why

  • To allow disabling the Auto upgrade minor versions option

references

v0.46.0

17 Oct 15:38
9288102
Compare
Choose a tag to compare
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

09 Aug 00:58
b3ffb41
Compare
Choose a tag to compare
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

14 Jun 12:22
a580353
Compare
Choose a tag to compare
Add `log_delivery_configuration` @nitrocode (#168)

what

  • Add log_delivery_configuration

why

  • New functionality

references

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

23 May 22:31
23557c5
Compare
Choose a tag to compare
Fix deprecation warnings @purplepangolin (#160)

what

  • Replaces use of deprecated attributes (cluster_mode, replication_group_description, number_cache_clusters) in aws_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