RDS Postgres and Containerized Airflow
AWS RDS and Airflow example
This example lives in the pulumi/examples repository. Check out just this directory to use it:
git clone --filter=blob:none --sparse https://github.com/pulumi/examples pulumi-examplesgit -C pulumi-examples sparse-checkout set aws-ts-airflowcd pulumi-examples/aws-ts-airflowA Pulumi program to deploy an RDS Postgres instance and containerized Airflow.
Deploying and running the program#
For more information on how to run this example, see: https://www.pulumi.com/docs/ and https://www.pulumi.com/docs/get-started/
-
Create a new stack:
Terminal window pulumi stack init airflow -
Set the AWS region:
$ pulumi config set aws:region us-east-1 -
Set the desired RDS password with:
$ pulumi config set --secret airflow:dbPassword DESIREDPASSWORD -
Restore NPM modules via
yarn install. -
Run
pulumi upto preview and deploy changes. After the preview is shown you will be prompted if you want to continue or not.
Previewing update of stack 'airflow'Previewing changes:
Type Name Plan Info + pulumi:pulumi:Stack airflow create...