-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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: CfnDatabase can't update if name is not provided #31158
Labels
@aws-cdk/aws-glue
Related to AWS Glue
bug
This issue is a bug.
needs-cfn
This issue is waiting on changes to CloudFormation before it can be addressed.
p2
Comments
grzegorzewald
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Aug 20, 2024
github-actions
bot
added
the
@aws-cdk/custom-resources
Related to AWS CDK Custom Resources
label
Aug 20, 2024
This seems to be a CFN bug to me as the Name is not required. I will report to the internal team for verifying. |
Exactly @pahud, name is not required, but feels to be required on update for reason... |
internal tracking: V1491264517 |
pahud
added
p2
needs-cfn
This issue is waiting on changes to CloudFormation before it can be addressed.
labels
Aug 20, 2024
pahud
added
@aws-cdk/aws-glue
Related to AWS Glue
and removed
needs-triage
This issue or PR still needs to be triaged.
@aws-cdk/custom-resources
Related to AWS CDK Custom Resources
labels
Aug 20, 2024
pahud
changed the title
aws-glue/CfnDatabase: Issue with updates if name is not provided
glue: CfnDatabase can't update if name is not provided
Aug 20, 2024
This was referenced Aug 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/aws-glue
Related to AWS Glue
bug
This issue is a bug.
needs-cfn
This issue is waiting on changes to CloudFormation before it can be addressed.
p2
Describe the bug
When once Cretes instance of
CfnDatabase
without name property set, it has name generated automatically based on construct ID. This is expected behaviour. But when construct is updated, CloudFormation errors with "no name provided error"Regression Issue
Last Known Working CDK Version
2.152
Expected Behavior
When
CfnDatabase
is updated without name property set up, it would use previously generated database nameCurrent Behavior
When
CfnDatabase
is updated without name property set up it errors with:Database name cannot be equal to null or empty (Service: AWSGlue; Status Code: 400; Error Code: InvalidInputException; Request ID:00000000-0000-4000-0000-000000000000; Proxy: null)
Reproduction Steps
Create Database construct:
deploy, update code to:
and deploy once again
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.152.0 (build faa7d79)
Framework Version
No response
Node.js Version
v18.12.1
OS
MacOs 14.6
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: