Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mwaa-env-var-plugin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mwaa-env-var-plugin

Environment variable plugin for MWAA

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

MWAA Environment Variable Plugin

Overview

The MwaaEnvVarPlugin is a custom Apache Airflow plugin designed for Amazon Managed Workflows for Apache Airflow (MWAA). This plugin automatically converts MWAA configuration options in the env section (e.g., env.foo_bar) into user-friendly environment variables (e.g., FOO_BAR), as opposed to the default AIRFLOW__ENV__FOO_BAR provided by vanilla MWAA.

Features

  • Automatically detects environment variables set by MWAA through configuration variables (env section).
  • Converts these variables to user-friendly names without the AIRFLOW__ENV prefix and double underscores.
  • Sets the new environment variables in the system.
  • The new variables are available in all processes (Scheduler, Worker, Webserver) and override environment variables that might have been set in startup.sh script.

Installation

  1. Simply add mwaa-env-var-plugin into your MWAA requirements.txt:
mwaa-env-var-plugin==1.0.0
  1. By default, in Apache Airflow v2, plugins are configured to be "lazily" loaded using the core.lazy_load_plugins : True setting. Make sure you add core.lazy_load_plugins : False as an Apache Airflow configuration option to load plugins at the start of each Airflow process to override the default setting.

PyPI

https://pypi.org/project/mwaa-env-var-plugin/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc