-
Notifications
You must be signed in to change notification settings - Fork 9
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
Onboard AWS Glue DataBrew Resources to CloudFormation. #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
"pattern": "[ -\ud7ff\ue000-\ufffd\ud800\udc00-\udbff\udfff\t]*", | ||
"minLength": 1, | ||
"maxLength": 255 | ||
}, | ||
"EncryptionKeyArn": { | ||
"description": "Encryption Key Arn", | ||
"type": "string", | ||
"minLength": 20, | ||
"maxLength": 2048 | ||
}, | ||
"EncryptionMode": { | ||
"description": "Encryption mode", | ||
"enum": [ | ||
"SSE-KMS", | ||
"SSE-S3" | ||
], | ||
"type": "string" | ||
}, | ||
"Name": { | ||
"description": "Job name", | ||
"type": "string", | ||
"pattern": "[ -\ud7ff\ue000-\ufffd\ud800\udc00-\udbff\udfff\t]*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are these patterns trying to represent?
We're having issues with these non-ASCII patterns in aws-cloudformation/cfn-lint#1867
Let's get rid of these non-ASCII characters:
brew install coreutils
ggrep --color='auto' -P -n "[^\x00-\x7F]" aws-databrew-*
aws-databrew-job.json:9: "pattern" : "[ --�𐀀-�\t]*",
aws-databrew-job.json:27: "pattern" : "[ --�𐀀-�\t]*",
aws-databrew-job.json:72: "pattern" : "[ --�𐀀-�\t]*",
aws-databrew-recipe.json:8: "pattern" : "[ --�𐀀-�\t]*",
aws-databrew-recipe.json:16: "pattern" : "^[ -.0-^`--�]*$",
aws-databrew-schedule.json:37: "pattern" : "[ --�𐀀-�\t]*",
}, | ||
"read": { | ||
"permissions": [ | ||
"databrew:ReadProject", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"databrew:ReadProject", | |
"databrew:DescribeProject", |
https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsgluedatabrew.html
"TargetColumn" | ||
] | ||
}, | ||
"RecipeParameters": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing type
Issue #, if available:
Description of changes:
Onboard AWS Glue DataBrew Resources to CloudFormation.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.