I am having serious problem while adding .config in .ebextensions directory to install imagemagick package in Amazon Linux managed under Elastic Beanstalk. I used
packages:
yum:
ImageMagick: []
When I tried to deploy the war from ELB console, process completed with error
[Instance: i-531ab77a Module: AWSEBAutoScalingGroup ConfigSet: null] Command failed on instance. Return code: 1 Output: Error occurred during build: 'unicode' object has no attribute 'keys' .
Make sure you have a space between "ImageMagick:" and "[]".
I was able to reproduce this error when I used "ImageMagick:[]" instead:
[Instance: i-7079d32d Module: AWSEBAutoScalingGroup ConfigSet: null] Command failed on instance. Return code: 1 Output: Error occurred during build: 'unicode' object has no attribute 'keys' .
I got same error for
sources:
/home/ec2-user http://azxc.net/certs.zip
Forgot to add ":" , This fixed error:
sources:
/home/ec2-user: http://azxc.net/certs.zip
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With