According to https://www.serverless.com/framework/docs/providers/aws/guide/functions/#efs-configuration, I should be able to add a “fileSystemConfig” property to any of my functions to attach an EFS Access Point to my Lambda environment at a specified mount point. After doing this, I expect to see a filesystem listed in the AWS Lambda console in “Configuration” > “File systems”, but it is empty. I checked the deployed stack and the EFS file system and access points were created correctly, so I’m not sure why they’re not being attached to the Lambda.
I was using an older version of Node, which prevented me from upgrading Serverless to a version that supported the EFS settings. By upgrading Node to the latest LTS, I was able to upgrade Serverless to a version that supported the EFS settings and the file system attachment is working as expected now.