-
Notifications
You must be signed in to change notification settings - Fork 107
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
[SPIKE] Research upgrade for Terraform. #2825
Comments
For this spike I research and implemented to possible update strategies. Minor upgradeChanges can be viewed in the following draft pull: #2851 This upgrades the Terraform components as follows:
This pull would resolve the following issues: #2706, #1570 #1569 This pull would not solve #2774 long-term as we would still have the issue that we cant upgrade past 2.29 Azure-cli and the new authentication mechanism. Main benefit of this approach would be that the Terraform stays competible with Epicli 1.x. Main down side would be that the version updated to here are already really old and might give issues long-term as Epiphany 2.0 would be an LTS version. Major upgradeChanges can be viewed in the following draft pull: #2852 This upgrades the Terraform components as follows:
This pull would resolve the following issues: #2706, #1570, #1569, #2774 Main benefit of this approach would be that the Terraform would be at the latest of the latest and should be stable for long-term LTS use. Main downside is that this would break compatibility with Epiphany 1.x clusters. However a manual update of the Terraform is possible. Final thoughIMO we should go for the major upgrade to save us the trouble moving forward with 2.0 LTS. Also as this LTS marks a major version change I don't think a breaking change would be weird. In the end a manual upgrade path is available as documented inside the major draft pull. As for the upgrade of the AWS terraform, it would be nice to remove the 'autoscaling_group' approach in favor of something similar like we do for Azure with creating the VMs ourselves. In the end this will make it easier later when doing proper scalable components. Also as AWS is not used for production anywhere I don't think we need to worry about backwards compatibility anyway. The issue has already been created: #2853 |
Agree with the 'final though' part. In addition it can be mentioned somewhere with the pointing to |
Tested with: |
More tests:
|
Is your spike related to a problem or idea? Please describe.
Currently the Terraform in Epicli was not updated/maintained for a long time. This already caus-es/-ed a bunch of issues:
Besides that support for data disks will need to be added for the upcoming support for Cloud Native Storage (#13)
Describe the outcome you'd like
This spike should research what is needed to get our current Terraform up to date. Few points of interest:
2/ Check the work needed to upgrade the Azure provider to the latest version and check what is needed to upgrade our current templates.
Expected that this spike would result in a list of issues we can pull in one by one but if it turns out to be easy this spike might also results in (partial) implementation.
Additional context
DoD checklist
The text was updated successfully, but these errors were encountered: