Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pattern must be a valid regex error in AWS::Amplify::App #62

Open
mkuzmin opened this issue Oct 16, 2024 · 1 comment
Open

pattern must be a valid regex error in AWS::Amplify::App #62

mkuzmin opened this issue Oct 16, 2024 · 1 comment

Comments

@mkuzmin
Copy link

mkuzmin commented Oct 16, 2024

I'm trying to use NewResourceJsonSchemaDocument() with AWS::Amplify::App type.
it raises loading JSON Schema ( {...} ): pattern must be a valid regex error.

Here is the schema I'm getting from CloudFormation: https://gist.github.com/mkuzmin/3930399866df2f8659b357f16bf9d58a

Did AWS break something, so I should report it to https://github.com/aws-cloudformation/cloudformation-coverage-roadmap ?

@ewbankkit
Copy link
Contributor

ewbankkit commented Oct 17, 2024

@mkuzmin It's probably related to differences between the regex syntax supported by CFN schemas/JSON schema (I think it's the JavaScript flavor) and what Go supports: #5.
Take a look at sanitize.go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants