-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Provider fails to upgrade MWAA Environments from Airflow version 1.10.12 to 2.0.2 #21640
Comments
Any updates on this? Given how AWS just announced a new Airflow MWAA version (2.4.3) Im sure many Devops will see this error in the following weeks. Im getting the error
|
Is there any update on this issue ? |
we are also facing same issue upgrading from v2.2.2 to v2.4.3 !! |
@sumanbk92 @Ravindrakumar383 There is no issue in terraform. AWS doesnt allow upgrading :(. |
According to the note at the top of this doc, you cannot perform an in-place upgrade: https://docs.aws.amazon.com/mwaa/latest/migrationguide/migrating-to-new-mwaa.html "You cannot perform an in-place upgrade of your existing Amazon MWAA environment to another Apache Airflow version. You must create a new environment to use the newest supported Apache Airflow version on Amazon MWAA." That page also provides python code for creating a clone of the env, which makes things slightly easier than manually creating a new one. |
As of June 5, 2023 in place upgrades are now possible in 2.x+ environments: https://aws.amazon.com/about-aws/whats-new/2023/06/amazon-mwaa-in-place-version-upgrades/ |
This is indeed a great news. Thanks for posting the update |
Submitted enhancement request. #31825 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v1.0.2
AWS Provider Version:
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
It should replace the existing MWAA Environment using version 1.10.12 with a new environment using the requested version 2.0.2.
Actual Behavior
Terraform fails to try to apply the requested upgrade.
Steps to Reproduce
airflow_version = "1.10.12"
terraform plan && terraform apply
Related
#19816
The text was updated successfully, but these errors were encountered: