-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Glue database: is locationUri required? #5268
Comments
That's a good question! @sam-goodwin (who is the author of this library), can you chime in on this one? Thanks! |
A database without a location is valid. Always creating or expecting a bucket uri is not desired behavior IMO. My current workaround is to specify a blank but not empty string as location Perhaps the uriLocation should be of "enum | string" type. The default should be no location. Enum values: |
I have vague memories of running into problems with no location but it's very possible I was doing something else wrong. I agree, if we can default to no location then we should do that. The forced bucket is a total nuisance. |
Do not create an s3 bucket by default.
Do not create an s3 bucket by default.
Do not create an s3 bucket by default.
Do not create an s3 bucket by default.
Do not create an s3 bucket by default.
Add trailing commas
Remove mentions about creating s3 bucket by default in glue database from readme and jsdoc
* fix(glue): Make Glue Database locationUri optional. (#5268) Do not create an s3 bucket by default. * fix(glue): Make Glue Database locationUri optional. (#5268) Add trailing commas * Validate locationUri (#5268). Remove mentions about creating s3 bucket by default in glue database from readme and jsdoc * Add default jsdoc to Glue:Database locationUri (#5268). Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
I'm having problems because of no URI db locations, see link |
The Question
Hi!
I tried creating glue database and noticed that if I don't specify locationUri, CDK creates one for me by creating an S3 bucket.
Here's the source code
Just wondering, was that that intentional? Location URI is not a required parameter in Cloudformation - https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-database-databaseinput.html#cfn-glue-database-databaseinput-locationuri .
Environment
The text was updated successfully, but these errors were encountered: