Skip to content

feat(ecs-patterns): refactor fargate interfaces and add support for runtimePlatform#21529

Merged
mergify[bot] merged 3 commits intoaws:mainfrom
michaeldrey:base_fargate_interface
Aug 10, 2022
Merged

feat(ecs-patterns): refactor fargate interfaces and add support for runtimePlatform#21529
mergify[bot] merged 3 commits intoaws:mainfrom
michaeldrey:base_fargate_interface

Conversation

@michaeldrey
Copy link
Copy Markdown
Contributor

Stemming from #20756, currently there are a lot of duplicated Fargate props throughout the library ie cpu, memory. This can make adding Fargate properties tedious as you have to add them into every Fargate type.

This PR introduces FargateServiceBaseProps which will hold all of the common Fargate properties and allows all Fargate variations to inherit from.

As an example, I have added in runtimePlatform to all Fargate services.

I still need to make a small README update, but want to get this pushed up for thoughts/suggestions/feedback.

closes #20756 #18462

All Submissions:

Adding new Unconventional Dependencies:

  • This PR adds new unconventional dependencies following the process described here

New Features

  • Have you added the new feature to an integration test?
    • Did you use yarn integ to deploy the infrastructure and generate the snapshot (i.e. yarn integ without --dry-run)?

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

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Aug 10, 2022

@aws-cdk-automation aws-cdk-automation requested a review from a team August 10, 2022 01:18
@github-actions github-actions bot added effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 labels Aug 10, 2022
@TheRealAmazonKendra TheRealAmazonKendra changed the title chore(ecs-patterns) clean up fargate interfaces chore(ecs-patterns): refactor fargate interfaces Aug 10, 2022
@TheRealAmazonKendra TheRealAmazonKendra changed the title chore(ecs-patterns): refactor fargate interfaces feat(ecs-patterns): refactor fargate interfaces and add support for runtimePlatform Aug 10, 2022
@TheRealAmazonKendra
Copy link
Copy Markdown
Contributor

@michaeldrey I don't think I have any notes here. Once you add in the README update, this seems like a no brainer and like it's just ready to go. I suppose I'd like it if you added the other tests into this one that you had in the closed one, but those might(?) be redundant with this refactor.

I am changing this to a feat since it's adding functionality that we'd want in the changelog, but I have no requested changes to the code at this time.

Copy link
Copy Markdown
Contributor

@TheRealAmazonKendra TheRealAmazonKendra left a comment

Choose a reason for hiding this comment

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

Just putting this in changes requested so I see when it's been updated.

@mergify mergify bot dismissed TheRealAmazonKendra’s stale review August 10, 2022 04:12

Pull request has been modified.

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: a6e2c85
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Aug 10, 2022

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit b4f9e5e into aws:main Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants