forked from pulumi/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
faa9422
commit a615383
Showing
13 changed files
with
169 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,46 @@ | ||
# 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: | ||
|
||
```bash | ||
$ pulumi stack init airflow | ||
``` | ||
|
||
1. Set the AWS region: | ||
|
||
``` | ||
$ pulumi config set aws:region us-east-1 | ||
``` | ||
|
||
1. Enable ECS auto clustering: | ||
|
||
``` | ||
$ pulumi config set cloud-aws:ecsAutoCluster true | ||
``` | ||
|
||
1. Set the desired RDS password with: | ||
|
||
``` | ||
$ pulumi config set airflow:dbPassword DESIREDPASSWORD | ||
``` | ||
|
||
1. Restore NPM modules via `yarn install`. | ||
1. Build the TypeScript code via `yarn run build`. | ||
1. Run `pulumi update` 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 | ||
... | ||
``` | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.