generative-ai-use-cases icon indicating copy to clipboard operation
generative-ai-use-cases copied to clipboard

Error occurs when creating Kendra as `staging` parameter because of length limit

Open icoxfog417 opened this issue 5 months ago • 1 comments

Bug Description As a developer who deploy GenU by npm run cdk:deploy -- -c env=staging encounters error when creating Kendra.

Steps to Reproduce Steps to reproduce the behavior:

  1. Modify staging section of parameter.ts
  2. Deploy GenU by npm run cdk:deploy -- -c env=staging with ragEnabled : true
  3. Encounter error

Expected Behavior Kendra is deployed successfully

Background of this error

Kendra's index name is defined ad name: generative-ai-use-cases-index${envSuffix}, in rag.ts. However, maximum length of Kendra Index seems to be 31 therefore generative-ai-use-cases-indexstaging exceedes limit of length.

icoxfog417 avatar Jul 10 '25 08:07 icoxfog417

related https://github.com/aws-samples/generative-ai-use-cases/issues/855

tbrand avatar Jul 11 '25 02:07 tbrand