Giter VIP home page Giter VIP logo

Comments (4)

recursify avatar recursify commented on May 12, 2024

Looks like there are line breaks in the documentation XML... not sure exactly where it's coming from, but on inspection:

<member>
        <ResourceStatus>CREATE_COMPLETE</ResourceStatus>
        <LogicalResourceId>SampleApplication</LogicalResourceId>
        <LastUpdatedTimestamp>2011-06-21T20:26:12Z</LastUpdatedTimestamp>
        <PhysicalResourceId>MyStack-SampleApplication-1MKNASYR3RBQL</Phys
icalResourceId>
        <ResourceType>AWS::ElasticBeanstalk::Application</ResourceType>
      </member>

from aws-cli.

garnaat avatar garnaat commented on May 12, 2024

Yes, I found two occurrences of '\n' characters embedded in PhysicalResourceId tags within the documentation strings. I manually removed those and the help command worked.

I could just check in my fixes but I think I better find the upstream source of the problem and fix it there. As a workaround, you could either edit the file in question or, better, you could create a directory, say ~/.aws_data and then create an aws directory in there and then copy the cloudformation.json file to ~/.aws_data/aws/cloudformation.json. Then:

$ export AWS_DATA_PATH=~/.aws_data

You can then edit that copy of the file and botocore should find it and use that version rather than the one in botocore's data directory.

from aws-cli.

recursify avatar recursify commented on May 12, 2024

Got it - I'll fix locally for now but I agree that an upstream fix is probably best.

from aws-cli.

garnaat avatar garnaat commented on May 12, 2024

This has been fixed in the 0.5.1 release of botocore which aws-cli should pick up automatically.

from aws-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.