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

bedrock: KnowledgeBaseConfigurationProperty is missing sqlKnowledgeBaseConfiguration property in latest CDK version 2.176.0 #32972

Open
1 task
nroshanr opened this issue Jan 16, 2025 · 3 comments
Assignees
Labels
@aws-cdk/aws-cloudformation Related to AWS CloudFormation bug This issue is a bug. p2

Comments

@nroshanr
Copy link

Describe the bug

KnowledgeBaseConfigurationProperty is missing the sqlKnowledgeBaseConfiguration property which is currently supported by CloudFormation AWS::Bedrock::KnowledgeBase KnowledgeBaseConfiguration

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

No response

Expected Behavior

sqlKnowledgeBaseConfiguration should not be missing in L1 construct.

Current Behavior

CDK gives the following error:
Object literal may only specify known properties, and 'sqlKnowledgeBaseConfiguration' does not exist in type 'IResolvable | KnowledgeBaseConfigurationProperty'.

Reproduction Steps

Here's a sample code to replicate the error:

      new bedrock.CfnKnowledgeBase(this, 'knowledgebase', {
          knowledgeBaseConfiguration: {
            type: 'type',
            vectorKnowledgeBaseConfiguration: {
              embeddingModelArn: 'embeddingModelArn'
          },
          kendraKnowledgeBaseConfiguration: {
            kendraIndexArn: 'kendraIndexArn'
          }
          sqlKnowledgeBaseConfiguration:{
            type: 'REDSHIFT'
          }
        },
        roleArn: 'roleName',
        name: 'Name'
      })

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.176.0

Framework Version

No response

Node.js Version

v18.20.5

OS

Linux

Language

TypeScript

Language Version

5.3.3

Other information

No response

@nroshanr nroshanr added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 16, 2025
@github-actions github-actions bot added the @aws-cdk/aws-cloudformation Related to AWS CloudFormation label Jan 16, 2025
@ashishdhingra ashishdhingra self-assigned this Jan 16, 2025
@ashishdhingra ashishdhingra added p2 investigating This issue is being investigated and/or work is in progress to resolve the issue. and removed needs-triage This issue or PR still needs to be triaged. labels Jan 16, 2025
@ashishdhingra
Copy link
Contributor

@nroshanr Good morning. Thanks for opening the issue. I do see that schema file aws-bedrock-knowledgebase.json was updated 14 hrs ago. It could take a while for CDK to be updated with the new schema changes. Please wait for next release for sqlKnowledgeBaseConfiguration to be included in CfnKnowledgeBaseProps.

Thanks,
Ashish

@ashishdhingra ashishdhingra added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Jan 16, 2025
Copy link

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Jan 18, 2025
@PiyushVaishnavRB
Copy link

@ashishdhingra Is there any tentative date by which this release would happen?

@github-actions github-actions bot removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-cloudformation Related to AWS CloudFormation bug This issue is a bug. p2
Projects
None yet
Development

No branches or pull requests

3 participants