Skip to content
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

allow access to airflow env stg or prod in all containers #1997

Conversation

Tian-2017
Copy link
Collaborator

@Tian-2017 Tian-2017 commented Nov 25, 2024

These keywords "stg" and "prod" are stored in the Secrets Manager under airflow/variables/env to allow access by containers.

The ARN of airflow/variables/env in 'prod' and 'stg' differs because AWS attaches a unique string to each. If there is a better way to manage access to airflow/variables/env, please let me know. Thanks

I know we can pass it from the Airflow DAG to the container, but reading it from Secrets Manager seems more straightforward

Copy link
Collaborator

@LBH-wgreeff LBH-wgreeff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Tian-2017 Tian-2017 merged commit 579918a into main Nov 26, 2024
12 checks passed
@Tian-2017 Tian-2017 deleted the allow-access-to-airflow-env-(stg-or-prod)-in-secret-manager-in-all-ecs-containers branch November 26, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants