Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.06 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.06 KB

AWS RDS and Airflow example

A 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://pulumi.io/reference and https://pulumi.io/quickstart/

  1. Create a new stack:

    $ pulumi stack init airflow
  2. Set the AWS region:

    $ pulumi config set aws:region us-east-1
    
  3. Enable ECS auto clustering:

    $ pulumi config set cloud-aws:ecsAutoCluster true
    
  4. Set the desired RDS password with:

    $ pulumi config set airflow:dbPassword DESIREDPASSWORD
    
  5. Restore NPM modules via yarn install.

  6. Run pulumi up to 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
...