aws-cloudformation / cloudformation-cli

The CloudFormation Provider Development Toolkit allows you to author your own resource providers and modules that can be used by CloudFormation.
Apache License 2.0
316 stars 158 forks source link

fix(contract): Added JSON date-time/date/time/email string format regex #929

Closed mmaeng closed 1 year ago

mmaeng commented 1 year ago

Part of Issue #118 :

cfn was throwing Key Error during contract validation tests for valid JSON string format types even "date-time" which is one of the examples generated during cfn init

added regex for

date-time date time email

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

mmaeng commented 1 year ago

Based this branch off #924 for testing. Will submit another PR with just regex additions.