Skip to content

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

1 Answer
1
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.

EXPERT

answered 2 years 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 )

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.