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

Upgrading from 0.39.0 to 0.44.0 fails with lots of errors #171

Open
mission-lblaney opened this issue Jul 7, 2022 · 4 comments
Open

Upgrading from 0.39.0 to 0.44.0 fails with lots of errors #171

mission-lblaney opened this issue Jul 7, 2022 · 4 comments
Labels
bug 🐛 An issue with the system

Comments

@mission-lblaney
Copy link

Describe the Bug

When upgrading from one minor version to another the terraform plan fails with about 50+ errors.

Expected Behavior

When upgrading minor versions I expect that planning will not fail because the changes should be backwards compatible.

Steps to Reproduce

I have 3 elastic cache clusters deployed with 0.39.0, upgrading them to 0.44.0 caused about 53 errors each. I did not change the values to the modules arguments and I did not change terraform version or aws provider version.

Screenshots

image

Environment (please complete the following information):

This is Terraform enterprise running terraform version 1.0.9. I'm not sure about the AWS provider version. I dont see one specified, so I'm assuming it's the latest, but I will ask a co-worker (I'm new to Terraform Enterprise).

@mission-lblaney mission-lblaney added the bug 🐛 An issue with the system label Jul 7, 2022
@mission-lblaney
Copy link
Author

I also ran this on the latest terraform version, 1.2.4 and it still failed to plan for the same errors.

@mission-lblaney
Copy link
Author

I finally found this https://github.com/cloudposse/terraform-aws-elasticache-redis/blob/master/docs/migration-notes-0.41.0.md while going through every single release notes.

I'm guessing I will need to upgrade to 0.41.0 before I can upgrade to later versions. Will try that and report back.

@mission-lblaney
Copy link
Author

0.41.0 also fails, same errors

@mission-lblaney
Copy link
Author

I have narrowed this down to us still using allowed_cidr_blocks. I'm not sure when it became unusable but it seems like if we use the newer additional_security_group_rules our troubles will go away?

I'm not sure what you will do with this issue but I think its still valid. 44 straight minor releases but backwards compatibility has been broken since at least 0.41.0

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

1 participant