Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unsupported argument #237

Open
judetrimble opened this issue Jun 13, 2024 · 1 comment
Open

Error: Unsupported argument #237

judetrimble opened this issue Jun 13, 2024 · 1 comment
Labels
bug 🐛 An issue with the system

Comments

@judetrimble
Copy link

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

@judetrimble judetrimble added the bug 🐛 An issue with the system label Jun 13, 2024
@nitrocode
Copy link
Member

Seems like you're using an old version of the aws provider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

No branches or pull requests

2 participants