-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(context): added context for both ad hoc base and app constructs,…
… clean up and refactor app constructs
- Loading branch information
1 parent
1157326
commit 6c40d08
Showing
11 changed files
with
95 additions
and
954 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,35 @@ | ||
## ad hoc base cdk commands | ||
ad-hoc-base-synth: | ||
cdk synth --app='lib/examples/ad-hoc/base/index.js' -e TestAdHocBaseStack | ||
cdk synth --app='lib/examples/ad-hoc/base/index.js' -e ExampleAdHocBaseStack | ||
|
||
ad-hoc-base-diff: | ||
cdk diff --app='./lib/examples/ad-hoc/base/index.js' -e TestAdHocBaseStack | ||
cdk diff --app='./lib/examples/ad-hoc/base/index.js' -e ExampleAdHocBaseStack | ||
|
||
ad-hoc-base-deploy: | ||
cdk deploy --app='./lib/examples/ad-hoc/base/index.js' --require-approval never -e TestAdHocBaseStack | ||
cdk deploy --app='./lib/examples/ad-hoc/base/index.js' -e ExampleAdHocBaseStack | ||
|
||
ad-hoc-base-deploy-approve: | ||
cdk deploy --app='./lib/examples/ad-hoc/base/index.js' --require-approval never -e ExampleAdHocBaseStack | ||
|
||
ad-hoc-base-destroy: | ||
cdk destroy --app='./lib/examples/ad-hoc/base/index.js' --require-approval never TestAdHocBaseStack | ||
cdk destroy --app='./lib/examples/ad-hoc/base/index.js' --require-approval never -e ExampleAdHocBaseStack | ||
|
||
## ad hoc app cdk commands | ||
ad-hoc-app-synth: | ||
cdk synth --app='./lib/examples/ad-hoc/app/index.js' TestAdHocAppStack | ||
cdk synth --app='./lib/examples/ad-hoc/base/index.js' -e ExampleAdHocAppStack | ||
|
||
ad-hoc-app-diff: | ||
cdk diff --app='./lib/examples/ad-hoc/base/index.js' -e ExampleAdHocAppStack | ||
|
||
ad-hoc-app-deploy: | ||
cdk deploy --app='./lib/examples/ad-hoc/base/index.js' -e ExampleAdHocAppStack | ||
|
||
ad-hoc-app-delete-services: | ||
export AWS_PAGER='' | ||
aws ecs delete-service --cluster alpha-cluster --service alpha-web-ui --force | ||
aws ecs delete-service --cluster alpha-cluster --service alpha-default-worker --force | ||
aws ecs delete-service --cluster alpha-cluster --service alpha-redis --force | ||
aws ecs delete-service --cluster alpha-cluster --service alpha-gunicorn --force | ||
|
||
ad-hoc-app-destroy: ad-hoc-app-delete-services | ||
cdk destroy --app='./lib/examples/ad-hoc/base/index.js' -e ExampleAdHocAppStack |
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
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.