Error while deploying Elasticbean stalk with EFS mounting

0

Hi, I am trying to deploy Flask based application with Elascticbean with additional config file for mounting EFS. I am getting below error and deployment is failed. Please help.


2022-12-30 15:24:57,931 [ERROR] Command 01_mount (/tmp/mount-efs.sh) failed 2022-12-30 15:24:57,932 [ERROR] Error encountered during build of prebuild_0_efs4_tutorial: Command 01_mount failed Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/cfnbootstrap/construction.py", line 579, in run_config CloudFormationCarpenter(config, self._auth_config, self.strict_mode).build(worklog) File "/usr/lib/python3.7/site-packages/cfnbootstrap/construction.py", line 278, in build self._config.commands) File "/usr/lib/python3.7/site-packages/cfnbootstrap/command_tool.py", line 127, in apply raise ToolError(u"Command %s failed" % name) cfnbootstrap.construction_errors.ToolError: Command 01_mount failed 2022-12-30 15:24:57,934 [ERROR] -----------------------BUILD FAILED!------------------------


I tried to with below changes in mount.config file but still the same error.

EFS_MOUNT_DIR='/efs' EFS_FILE_SYSTEM_ID='fs-xxxxxxxx'

Regards, Deepti

已提問 1 年前檢視次數 374 次
1 個回答
0
已接受的答案

Resolved this issue, the problem was instance and EFS were created in different AZs

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南