-
Notifications
You must be signed in to change notification settings - Fork 4
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
Access for data-catalogue github actions #4413
Conversation
a7d272a
to
b768e5f
Compare
Terraform Component 🧱:
|
2067a5e
to
2bd782d
Compare
Terraform Component 🧱:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We want to schedule Datahub DBT ingestions using github actions. (ministryofjustice/data-catalogue#123) To do this, Github actions needs to be able to assume a role via OIDC, and use it to access the s3 bucket containing the outputs from DBT. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_oidc.html We already had IRSAs (IAM roles for service accounts) which can be assumed by Datahub itself, but these assume you are running an application in a kubernetes pod on AWS, whereas in this case we are going to run the ingestion from github actions.
2bd782d
to
2e7dc47
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Pull Request Objective
We want to schedule Datahub DBT ingestions using github actions. (ministryofjustice/data-catalogue#123)
To do this, Github actions needs to be able to assume a role via OIDC and use it to read the bucket containing CaDeT outputs. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_oidc.html
We already had defined IRSAs (IAM roles for service accounts) for this, that can be assumed by Datahub itself, but these assume you are running an application in a kubernetes pod on AWS, whereas in this case we are going to run the ingestion from github actions.
Checklist
Note
Each items should be checked. Skipping below checks could delay your PR review!
override-static-analysis
label, I've explained why)