Terraform Aws Elasticache Redis Versions Save

Terraform module to provision an ElastiCache Redis Cluster

0.52.0

1 year ago
Support AWS Provider V5 @max-lobur (#203)

what

Support AWS Provider V5 Linter fixes

why

Maintenance

references

https://github.com/hashicorp/terraform-provider-aws/releases/tag/v5.0.0

0.51.1

1 year ago
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

0.51.0

1 year ago
  • No changes

0.50.0

1 year ago
Groundwork new workflows @max-lobur (#193)

Fix lint/format before workflows rollout

0.49.0

1 year ago
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)
}

0.48.0

1 year ago
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

0.47.0

1 year ago
Add `auto_minor_version_upgrade` parameter @LieneJansone (#183)

what

why

  • To allow disabling the Auto upgrade minor versions option

references

  • closes #182

0.46.0

1 year ago
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

0.45.0

1 year ago
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

0.44.0

2 years ago
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
}