Skip to content

Error: Unsupported argument #237

Open
@judetrimble

Description

@judetrimble

Describe the Bug

[terragrunt] 2024/06/13 08:53:58 Running command: terraform plan
Releasing state lock. This may take a few moments...

Error: Unsupported argument

on main.tf line 55, in resource "aws_elasticache_replication_group" "default":
55: replication_group_description = module.this.id

An argument named "replication_group_description" is not expected here.

Error: Unsupported argument

on main.tf line 57, in resource "aws_elasticache_replication_group" "default":
57: number_cache_clusters = var.cluster_mode_enabled ? null : var.cluster_size

An argument named "number_cache_clusters" is not expected here.

Error: Unsupported argument

on main.tf line 60, in resource "aws_elasticache_replication_group" "default":
60: availability_zones = length(var.availability_zones) == 0 ? null : [for n in range(0, var.cluster_size) : element(var.availability_zones, n)]

An argument named "availability_zones" is not expected here.

Error: Unsupported block type

on main.tf line 80, in resource "aws_elasticache_replication_group" "default":
80: dynamic "cluster_mode" {

Blocks of type "cluster_mode" are not expected here.

[terragrunt] 2024/06/13 08:54:12 Hit multiple errors:
exit status 1

Expected Behavior

the above should no occur

Steps to Reproduce

Using this module : https://github.com/cloudposse/terraform-aws-elasticache-redis.git//?ref=0.40.3

Terraform v0.13.7

Screenshots

No response

Environment

No response

Additional Context

No response

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