aws-cdk-examples icon indicating copy to clipboard operation
aws-cdk-examples copied to clipboard

update fargate-service-with-efs

Open kastork opened this issue 4 years ago • 1 comments

:rocket: Feature Request

General Information

  • [ ] :wave: I may be able to implement this feature request
  • [ ] :warning: This feature might incur a breaking change

Description

Request example update to use cdk 1.71.0 or later.

Based on the documentation, CDK now supports

  • The creation of EFS access points
  • EFS mounts in task definitions
  • The ability to set the Fargate platform verison in a FargateService

So it seems like the example (typescript/ecs/fagate-service-with-efs) is demonstrating an out of date approach that relies on custom resources and is more complicated than it needs to be with current CDK versions.

Proposed Solution

Update the example to use the constructs and properties available in CDK 1.71.0 or later.

Environment

  • CDK CLI Version:
  • Example:
  • Example Version:
  • OS:
  • Language:

Other information

I've tried to do this myself, but either due to a bug or my own lack of understanding, I can't get the generated stack to work (Unknown volume 'fsap-xxxx' (even though that fsap has been created.))

kastork avatar Oct 31 '20 23:10 kastork