Skip to content

Argument is deprecated [elasticache_replication_group] #155

@adamwshero

Description

@adamwshero

Found a bug? Maybe our Slack Community can help.

Slack Community

Describe the Bug

When planning an elasticache redis instance with a cluster_size = 2 and cluster_mode_enabled = false, using v0.42.0, a deprecation warning is issued.

Expected Behavior

No deprecation warnings are issued and a you have a clean plan.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a redis instance with a cluster size of 2 and cluster mode disabled.
  2. Run 'terraform plan'
  3. See error
│ Warning: Argument is deprecated
│ 
│   with aws_elasticache_replication_group.default,
│   on main.tf line 116, in resource "aws_elasticache_replication_group" "default":
│  116: resource "aws_elasticache_replication_group" "default" {
│ 
│ Use num_node_groups and replicas_per_node_group instead
│ 
│ (and 4 more similar warnings elsewhere)

Screenshots

N/A

Environment (please complete the following information):

Anything that will help us triage the bug will help. Here are some ideas:

  • OS: OSx
  • Version 12.1

Additional Context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🐛 An issue with the system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions