Code Monkey home page Code Monkey logo

Comments (3)

stevemorad avatar stevemorad commented on July 29, 2024

Thank you for the feedback. We updated the documentation to include the requirement that the bucket prefix end with a trailing slash.

from aws-transit-vpc.

stevemorad avatar stevemorad commented on July 29, 2024

I saw your fork with a "AllowedPattern" update to the template. I really like this approach beyond just adding information to the documentation. However, looking at your example:
"AllowedPattern": "^[a-z0-9A-Z][a-z0-9A-Z/]+/$"

I believe this will require a prefix that starts with one letter or number and contains at least one more letter, number, or forward slash, followed by another '/'

This precludes "no" prefix (just a '/') as well as an prefix with a dash, underscore, or period in it. What do you think of the following pattern instead?

"AllowedPattern": "^[a-z0-9A-Z_/-./]*/$"

Which requires a trailing '/', but allows letters, numbers, dashes, underscores, periods, or forward slashes. Are there other characters we would also want to include?

from aws-transit-vpc.

klumhru avatar klumhru commented on July 29, 2024

@stevemorad yep, that seems to resolve it neatly as it requires the trailing slash. I didn't have time to finish my implementation to my satisfaction :)

from aws-transit-vpc.

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.