diff --git a/Makefile b/Makefile index c57ad97..e1f66b6 100644 --- a/Makefile +++ b/Makefile @@ -29,8 +29,8 @@ 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 + aws ecs delete-service --cluster alpha-cluster --service alpha-ecs-exec --force ad-hoc-app-destroy: ad-hoc-app-delete-services - cdk destroy --app='./lib/examples/ad-hoc/index.js' -e ExampleAdHocAppStack + cdk destroy --verbose --app='./lib/examples/ad-hoc/index.js' -e ExampleAdHocAppStack diff --git a/packages/ecs-app-update/action.yml b/packages/ecs-app-update/action.yml index fde285c..42a2727 100644 --- a/packages/ecs-app-update/action.yml +++ b/packages/ecs-app-update/action.yml @@ -57,4 +57,4 @@ runs: cluster: ${{ inputs.APP_ENV }}-cluster service: ${{ inputs.APP_ENV }}-${{ inputs.CONTAINER_NAME }} task-definition: ${{ steps.render-new-task-definition.outputs.task-definition }} - + wait-for-service-stability: true diff --git a/src/examples/ad-hoc/index.ts b/src/examples/ad-hoc/index.ts index 56a5fcc..02a187d 100644 --- a/src/examples/ad-hoc/index.ts +++ b/src/examples/ad-hoc/index.ts @@ -29,7 +29,7 @@ const domainName = process.env.DOMAIN_NAME || 'example.com'; const adHocBase = new AdHocBase(baseStack, 'AdHocBase', { certificateArn, domainName }); -const addHocApp = new AdHocApp(appStack, 'AdHocApp', { +const adHocApp = new AdHocApp(appStack, 'AdHocApp', { baseStackName: adHocBaseEnvName, vpc: adHocBase.vpc, alb: adHocBase.alb, @@ -46,4 +46,4 @@ const addHocApp = new AdHocApp(appStack, 'AdHocApp', { */ Tags.of(adHocBase).add('base-env', adHocBaseEnvName); Tags.of(adHocBase).add('ad-hoc', 'true'); -Tags.of(addHocApp).add('app-env', adHocAppEnvName); \ No newline at end of file +Tags.of(adHocApp).add('app-env', adHocAppEnvName); \ No newline at end of file