Open moj-supratikc opened 1 month ago
To be presented at Request forum 14th October
To be presented in request forum 21st October
Request Forum: Related PR https://github.com/moj-analytical-services/airflow/pull/4509/files Take to refinement, may require a spike to determine how this may be done and the development cost.
We should follow the pattern laid down by MP for access. Relevant code links: https://github.com/ministryofjustice/modernisation-platform/blob/58c7fc263920cfbae45150546488815e8c57869e/terraform/environments/bootstrap/member-bootstrap/iam.tf#L413 https://github.com/ministryofjustice/modernisation-platform/blob/58c7fc263920cfbae45150546488815e8c57869e/terraform/environments/bootstrap/member-bootstrap/iam.tf#L462
Apply the above to the airflow role and that should enable the functionality.
Describe the feature request.
See Slack thread here for details: https://mojdt.slack.com/archives/C06TFT94JTC/p1728513340561769
Describe the context.
Have added functionality to airflow to automatically keep images updated on pipelines without manual intervention, but airflow needs permission to read ECR from a different AWS account.
Value / Purpose
This will allow pipelines to keep image versions updated automatically without the need to manually change them.
This will be particularly useful in dev pipelines built from shared generic repos (e.g. airflow-create-a-pipeline) as our dev pipelines will always run on the latest image and flag any errors to be fixed before updating images in prod.
User Types
Data Engineers