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

Unable to deploy Kendra RAG #491

Open
scouturier opened this issue May 17, 2024 · 0 comments
Open

Unable to deploy Kendra RAG #491

scouturier opened this issue May 17, 2024 · 0 comments

Comments

@scouturier
Copy link

Following this PR, I've been unable to deploy Kendra RAG: f0ff8f3

Getting the following error:
/home/ubuntu/environment/kbs/aws-genai-llm-chatbot/node_modules/cdk-nag/src/nag-suppressions.ts:98
pathArray.forEach((p) => {
^
Error: Suppression path "/demoGenAIChatBotStack/RagEngines/KendraRetrieval/CreateAuroraWorkspace/CreateKendraWorkspace/Role/DefaultPolicy/Resource" did not match any resource. This can occur when a resource does not exist or if a suppression is applied before a resource is created.
at /home/ubuntu/environment/kbs/aws-genai-llm-chatbot/node_modules/cdk-nag/src/nag-suppressions.ts:115:15
at Array.forEach ()
at Function.addResourceSuppressionsByPath (/home/ubuntu/environment/kbs/aws-genai-llm-chatbot/node_modules/cdk-nag/src/nag-suppressions.ts:98:15)
at new AwsGenAILLMChatbotStack (/home/ubuntu/environment/kbs/aws-genai-llm-chatbot/lib/aws-genai-llm-chatbot-stack.ts:354:25)
at Object. (/home/ubuntu/environment/kbs/aws-genai-llm-chatbot/bin/aws-genai-llm-chatbot.ts:13:1)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module.m._compile (/home/ubuntu/environment/kbs/aws-genai-llm-chatbot/node_modules/ts-node/src/index.ts:1618:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Object.require.extensions. [as .ts] (/home/ubuntu/environment/kbs/aws-genai-llm-chatbot/node_modules/ts-node/src/index.ts:1621:12)
at Module.load (node:internal/modules/cjs/loader:1119:32)

Reverting changes fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant