简体   繁体   中英

How would you upgrade the terraform eks module?

I've created a few EKS clusters using terraform AWS-EKS module when it was using version 12.0.0.

Now when I want to create new clusters, the module has upgraded to version 18.0.0+ (it has many breaking changes) and it's a bit harder to create, but I'll manage.

Question is - how would you upgrade the existing clusters created using the old module to the newer version?

Keep in mind Im not looking to upgrade k8s, but the module version.

I usually proceed reading the documentation too find some big changes, updating the version constraint in module block and after that running terraform plan for see if everything is like expected or there are some errors.

Of course if you can do all in a test environment (if you already have it or creating it using a Terraform Workspace) is better.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM