aws-elastic-beanstalk-cli icon indicating copy to clipboard operation
aws-elastic-beanstalk-cli copied to clipboard

eb create fails when using short syntax for .ebextension config file

Open Llamapaca opened this issue 1 year ago • 2 comments

Description

eb create is failing with following error when using short syntax for config file

AttributeError: 'str' object has no attribute 'get'

Steps to reproduce

command: eb create example file:

option_settings:
  aws:elasticbeanstalk:environment:
    LoadBalancerType: network

Observed result

exact command: eb create --single --verbose --debug

if setting.get('namespace') == 'aws:elasticbeanstalk:environment' and setting.get('option_name') == 'LoadBalancerType':
AttributeError: 'str' object has no attribute 'get'

Expected result

Config file to be accepted

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

  1. OS: Amazon linux 2
  2. EBCLI version: EB CLI 3.20.10

Llamapaca avatar Nov 18 '23 18:11 Llamapaca

Thanks for reporting this issue. We're working on a fix for it.

rahulrajaram avatar Feb 05 '24 02:02 rahulrajaram

Is there any progress on this?

jelofsson avatar Apr 26 '24 09:04 jelofsson