aws-cdkamazon-efs

Circular dependency error in CDK setting EFS policy referencing access point


I have a CDK script where I want to have one click set up and destruction of the following:

Problem:

Things I have tried:

Similar questions:


Solution

  • After talking to an AWS rep, it turns out the lambda jank is the currently intended path unless I can convince CloudFormation to split out the EFS policy from the EFS object.

    Here's the request on the CloudFormation GitHub: https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/900