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

Onboard AWS Glue DataBrew Resources to CloudFormation. #2

Merged
merged 3 commits into from
Dec 2, 2020

Conversation

nwangamz
Copy link
Contributor

@nwangamz nwangamz commented Dec 1, 2020

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.

Copy link

@tialiang tialiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nwangamz nwangamz merged commit 0e1f368 into aws-cloudformation:main Dec 2, 2020
Comment on lines +9 to +30
"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]*",
Copy link

@PatMyron PatMyron Jan 15, 2021

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",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"databrew:ReadProject",
"databrew:DescribeProject",

https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsgluedatabrew.html

"TargetColumn"
]
},
"RecipeParameters": {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing type

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

Successfully merging this pull request may close these issues.

3 participants