aws-solutions / simple-file-manager-for-amazon-efs

Serverless web application to manage data in your Amazon EFS Filesystem
Apache License 2.0
79 stars 30 forks source link

Missing prerequisites on deployment guide #162

Closed andres-lindo closed 1 year ago

andres-lindo commented 2 years ago

Describe the bug Tried to deploy the solution with no error on the CloudFormation stack, however when using the solution the following error appears on Lambda execution logs, being unable to create the file system endpoint.

api - ERROR - An error occurred (ValidationError) when calling the DescribeStacks operation: Stack with id efs-manager-ManagedResources-fs-1a862b98 does not exist

I followed this guide: https://docs.aws.amazon.com/solutions/latest/simple-file-manager-for-amazon-efs

To Reproduce -Launch the stack -Reset auto-generated password -Create a file manager Lambda function (never creates file manager)

Expected behavior The File System ID link previously labeled false now returns true and the file system ID is now an active link.

Please complete the following information about the solution:

To get the version of the solution, you can look at the description of the created CloudFormation stack. If the description does not contain the version information, you can look at the mappings section of the template:

Mappings:
  SourceCode:
    General:
      S3Bucket: "solutions"
      KeyPrefix: "simple-file-manager-for-amazon-efs/v1.0.4"

Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

Additional context Add any other context about the problem here.

brandold commented 2 years ago

Hi @andres-lindo, were you able to verify if the stack "efs-manager-ManagedResources-fs-1a862b98" was present in the CloudFormation console?

I'd be curious to know if the error you received is the root cause or just a result of something else. Checking if the stack was actually created will help figure that out.

dreamorosi commented 2 years ago

The root cause was the fact that the EFS file system didn't have a mount target which in turns means it didn't have indication of subnetId nor security groupId which are both required parameters for the creation of the proxy stack.

Andres is a colleague of mine and in this case he was just testing out the solution. The guide assumes that Customers already have an EFS file system deployed and all mount targets + Security Groups are in place. It'd be great to clarify this point in the guide.

simonkrol commented 1 year ago

This documentation change appears to have made it into the limitations section of the Implementation Guide. Closing.