Elastic Beanstalk deployment fail cfnbootstrap.construction_errors.ToolError

Viewed 15

My eb is on Amazon linux server:

without this command in config file my file deployed successfully

commands:
    brewCommands:
        command: brew install antiword

but when i added this, it is throwing error

cfnbootstrap.construction_errors.ToolError:

here is my cfn-init.log file error

Unhandled exception during build: Command 001_install failed Traceback (most recent call last):   

File "/opt/aws/bin/cfn-init", line 176, in <module>

worklog.build(metadata, configSets)   File "/usr/lib/python3.7/site-packages/cfnbootstrap/construction.py", line 137, in build

Contractor(metadata).build(configSets, self)   File "/usr/lib/python3.7/site-packages/cfnbootstrap/construction.py", line 564, in build

self.run_config(config, worklog)   File "/usr/lib/python3.7/site-packages/cfnbootstrap/construction.py", line 576, in run_config

CloudFormationCarpenter(config, self._auth_config).build(worklog)   File "/usr/lib/python3.7/site-packages/cfnbootstrap/construction.py", line 276, 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 001_install failed
0 Answers
Related