aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

AWS::Glue::Database - CatalogId should not be required

Open
#346 0 comments 4 reactions 0 assignees View on GitHub
analytics
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

1. AWS::Glue::Database-CatalogId
2. [CatalogId is not required in the API](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-databases.html#aws-glue-api-catalog-databases-CreateDatabase), so it shouldn't be required in the CloudFormation resource
3. Expected behavior -> CloudFormation shouldn't pass the CatalogId if it's not provided by the user, and Glue will default it to the account ID
4. Test case recommendation (optional) ->
5. Links to existing API doc (optional) -> https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-databases.html#aws-glue-api-catalog-databases-CreateDatabase
6. Category tag (optional) -> Analytics
7. Any additional context (optional)

Contributor guide

Open the contributing guide

Research direction

Start with the AWS::Glue::Database resource definition and compare its CatalogId handling with the linked Glue CreateDatabase API documentation. Verify the behavior when users omit CatalogId, and add or update a test showing that CloudFormation does not pass it and Glue defaults it to the account ID.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.