-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
An argument named "availability_zones" is not expected here. #199
Comments
+1 |
2 similar comments
+1 |
+1 |
This is because AWS has released provider version 5.x and it has some breaking changes (major change)
and then run |
Upgrading the provider won't help
I have tried to replace
|
If you happen to use Terragrunt, you can overwrite this module's version-contraint, so the terraform {
source = "git::https://github.com/cloudposse/terraform-aws-elasticache-redis//.?ref=0.51.0"
}
generate "versions" {
path = "versions.tf"
if_exists = "overwrite"
contents = <<-EOF
terraform {
required_version = ">= 0.14.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.18"
}
}
}
EOF
}
locals {...}
inputs = {...}
|
#198 should have resolved breaking changes from AWS provider v5. Please update to the latest and retry |
Thanks @milldr yes looks good now, closing this issue now. |
Describe the Bug
In module code at line 25 we have
for terraform resource
aws_elasticache_replication_group
but this argument is no more available for terraform resource aws_elasticcache_replication_group hereExpected Behavior
Terraform validate and terraform apply should work on module example
Steps to Reproduce
Just try running following module example
https://github.com/cloudposse/terraform-aws-elasticache-redis/tree/main/examples/complete
Screenshots
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: