Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ecs-patterns): allow customizing logdriver #3550

Merged
merged 5 commits into from
Aug 6, 2019

Conversation

piradeepk
Copy link
Contributor

Provide the ability to pass logdriver as a property of all ecs-patterns constructs and update all constructs to accept either a vpc or cluster.


Please read the contribution guidelines and follow the pull-request checklist.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@piradeepk
Copy link
Contributor Author

@kohidave please review

@piradeepk piradeepk requested a review from eladb August 6, 2019 01:55
@piradeepk piradeepk force-pushed the normalizeEcsPatterns branch 2 times, most recently from 4a81267 to 3a34983 Compare August 6, 2019 01:59
@piradeepk piradeepk added the @aws-cdk/aws-ecs Related to Amazon Elastic Container label Aug 6, 2019
@@ -136,6 +160,11 @@ export abstract class QueueProcessingServiceBase extends Construct {
constructor(scope: Construct, id: string, props: QueueProcessingServiceBaseProps) {
super(scope, id);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels like we can probably reuse this logic across patterns (via common utility function)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potentially, I'll leave this PR as is, and create an issue to discuss this, there's a lot of common functionality that's separated today.

@eladb eladb changed the title feat(aws-ecs-patterns): Add logdriver as a property for ecs-patterns constructs feat(ecs-patterns): allow customizing logdriver Aug 6, 2019
@eladb
Copy link
Contributor

eladb commented Aug 6, 2019

See my title update

@piradeepk
Copy link
Contributor Author

Rebased with master

@mergify mergify bot merged commit 8ffba4b into aws:master Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-ecs Related to Amazon Elastic Container
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants