petedannemann
airflow-terraform
HCL

Easily deploy airflow infrastructure on an AWS VPC using terraform.

Last updated Mar 26, 2025
11
Stars
11
Forks
0
Issues
0
Stars/day
Attention Score
9
Language breakdown
HCL 53.1%
Python 20.2%
Dockerfile 15.5%
Shell 11.1%
Files click to expand
README

Airflow Terraform

Goal

Easily provision resources on AWS for a highly scalable and secure airflow environment.

Overview

  • Terraform is used to provision resources in a VPC.
  • Airflow's services are deployed on an EC2 instance.
  • The Airflow metadata database is deployed on RDS (Postgres).
  • The Airflow message broker is deployed on Elastic Cache (Redis).
  • AWS Secrets Manager is used to securely feed environment variables such as airflow's fernet key into the EC2 instance.

Requirements

  • AWS Account
  • Terraform

Setup

aws ec2 create-key-pair --key-name MyKeyPair

Terraform Commands

First enter the Terraform directory cd terraform

  • See a plan of resources terraform plan
  • Provision resources terraform apply
  • Destroy resources terraform destroy
🔗 More in this category

© 2026 GitRepoTrend · petedannemann/airflow-terraform · Updated daily from GitHub