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): secret JSON field for Fargate tasks #11348

Merged
merged 12 commits into from
Nov 13, 2020

Conversation

jogold
Copy link
Contributor

@jogold jogold commented Nov 6, 2020

Fargate tasks running on platform version 1.4 can now reference a
specific JSON field of a secret stored in Secrets Manager.

Remove the error in ContainerDefinition and add a check on the
platform version in FargateService.

See https://aws.amazon.com/about-aws/whats-new/2020/11/aws-fargate-for-amazon-ecs-launches-features-focused-on-configuration-and-metrics/

See aws/containers-roadmap#385 (comment)

Closes #11341


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

Fargate tasks running on platform version 1.4 can now reference a
specific JSON field of a secret stored in Secrets Manager.

Remove the error `ContainerDefinition` and add a check on the platform
version in `FargateService`.

See https://aws.amazon.com/about-aws/whats-new/2020/11/aws-fargate-for-amazon-ecs-launches-features-focused-on-configuration-and-metrics/

Closes aws#11341
@gitpod-io
Copy link

gitpod-io bot commented Nov 6, 2020

Copy link
Contributor

@SoManyHs SoManyHs left a comment

Choose a reason for hiding this comment

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

One small nit, but otherwise LGTM! Thanks for the speedy turnaround!

packages/@aws-cdk/aws-ecs/lib/fargate/fargate-service.ts Outdated Show resolved Hide resolved
@jogold jogold requested a review from SoManyHs November 10, 2020 09:41
SoManyHs
SoManyHs previously approved these changes Nov 10, 2020
Copy link
Contributor

@SoManyHs SoManyHs left a comment

Choose a reason for hiding this comment

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

🎉 Thanks @jogold !!

@mergify mergify bot dismissed SoManyHs’s stale review November 10, 2020 18:35

Pull request has been modified.

@jogold
Copy link
Contributor Author

jogold commented Nov 10, 2020

@SoManyHs Can you reapprove? You merged from master after reviewing, this dismisses the review.

@jogold
Copy link
Contributor Author

jogold commented Nov 11, 2020

@SoManyHs ping

@marcotesch
Copy link
Contributor

@SoManyHs an approval would be much appreciated, so we can use the feature within our deployments :-)

@jogold
Copy link
Contributor Author

jogold commented Nov 12, 2020

@marcotesch you can use the following workaround in the meantime #11341 (comment)

@SoManyHs
Copy link
Contributor

@SoManyHs Can you reapprove? You merged from master after reviewing, this dismisses the review.

Ah, didn't see that. Sorry about the delay!

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 7ec4157
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify
Copy link
Contributor

mergify bot commented Nov 13, 2020

Thank you for contributing! Your pull request will be updated from master 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 03e7cd5 into aws:master Nov 13, 2020
@jogold jogold deleted the ecs-fargate-secret-json-field branch November 14, 2020 17:12
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.

[aws-ecs] Fargate launch type now supports secretmanager parameter names
7 participants