aws-samples / amazon-mwaa-examples

Amazon Managed Workflows for Apache Airflow (MWAA) Examples repository contains example DAGs, requirements.txt, plugins, and CloudFormation templates focused on Amazon MWAA.
MIT No Attribution
106 stars 58 forks source link

Stop Start MWAA - Support for Reloading Plugins After Restore #72

Closed crupakheti closed 5 months ago

crupakheti commented 5 months ago

When plugins for MWAA depend on variables and connections, they will fail to load after restore as the variables and connections would not be restored in time before the plugins get loaded by the MWAA environment. The feature flag contributed in this PR, MWAA_UPDATE_AFTER_RESTORE, when set to yes, forces updating the MWAA environment after restore, thus reloading the plugins after the variables and connections are restored in the meta database.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

New-Resume-Workflow