From 3e06a93b1b120c294a76543f510acc832f01f9a3 Mon Sep 17 00:00:00 2001 From: Jacob MacKinnon <95762562+jmackinnon-wayspring@users.noreply.github.com> Date: Thu, 15 May 2025 14:16:26 -0400 Subject: [PATCH] Update and rename PULL_REQUEST_TEMPLATE.md to Custom_Context_Support.md --- .github/Custom_Context_Support.md | 19 +++++++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 6 ------ 2 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 .github/Custom_Context_Support.md delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/Custom_Context_Support.md b/.github/Custom_Context_Support.md new file mode 100644 index 0000000..dd8310a --- /dev/null +++ b/.github/Custom_Context_Support.md @@ -0,0 +1,19 @@ +Name of Resource: +Custom Context + +Issue #: 174612619200828 + +Description of changes: +Looking for CLI or CFN support for QueryEditorv2's Amazon Q Custom Context Feature. + +Currently based on Doc, a Custom Context json file can only be submitted through QueryEditorv2's 'Amazon Q generative SQL settings +(admin only)' --> 'upload Custom Context'. A Policy with sqlworkbench:UpdateAccountQSqlSettings must be attached to the users IAM role to access this settings page. + +This is somewhat limiting having to go through the console for both security and CI/CD codepipeline workflows. +Ideally we would like to limit human QueryEditorv2 admin access. +We would like to be able to develop a CodePipeline that could either submit a cloudformation template that would upload these Custom Context json files, or create a custom lambda/workflow to upload Custom Context json files via CLI. + +Reference Files: +https://docs.aws.amazon.com/redshift/latest/mgmt/query-editor-v2-generative-ai.html#query-editor-v2-generative-custom-context + +By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 6bdaa99..0000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,6 +0,0 @@ -*Issue #, if available:* - -*Description of changes:* - - -By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.