eb deploy is failing with error Service:AmazonCloudFormation, Message:Template error: every Fn::Join object requires two parameters

0

We are running docker application ( single container ) on elastic beanstalk using Dockerrun.aws.json now, we want to add EFS to make some data persistent across deployments. we created .ebextestions folder in root and added config file for mounting an EFS ( we added FILE_SYSTEM_ID ) and added volumes inside Dockerrun.aws.json - Host directory is MOUNT_DIRECTORY ( we set it in config ) and container directory ... platform : Docker running on 64bit Amazon Linux 2023/4.3.3

[we followed this blog post from aws repost] ]( https://repost.aws/knowledge-center/elastic-beanstalk-mount-efs-volumes) after trying to deploy using eb deploy we are getting this error Enter image description here

Naga
asked a month ago383 views
1 Answer
0
Accepted Answer

The solution is to mount the EFS volume to a different directory, then create a symbolic link (symlink) between that directory and your /current directory. You can do this by modifying your storage-efs-mountfilesystem.config file to mount to a different directory (like /efs), and then adding a new config file that creates the symlink.

profile picture
EXPERT
answered a month ago
  • Hi thank you for your response. your answer made us to introspect the config file once again, and we found the filesystem ID wrongly added in the file ( manual error )