update development configuration for bedrock and sagemaker
The bedrock and sagemaker configurations for smart search, discussion summaries, and translation now have placeholder values in dynamic_settings.yml and vault_contents.yml to ease configuration in local development environments. closes ADV-180 flag=smart_search flag=discussion_summary flag=react_discussions_post flag=translate_inbox_messages Test plan: - PreReqs: - AWS user key in inseng for bedrock and sagemaker - Update vault_contents.yml with inseng aws key(s) for bedrock and sagemaker. - Restart Canvas - Verify Smart Search, Dicussion Summary, and Translations are all available. Change-Id: I40fced581a70600f88b998bf4ee2644c64649e19 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/354268 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: James Butters <jbutters@instructure.com> QA-Review: Dustin Cowles <dustin.cowles@instructure.com> Product-Review: Dustin Cowles <dustin.cowles@instructure.com>
This commit is contained in:
parent
f7e744161f
commit
5d85ec94e3
|
@ -85,6 +85,15 @@ development:
|
|||
aws_access_key_id: key
|
||||
aws_secret_access_key_dec: secret
|
||||
# stub_credentials: true # can be used in dev to print creds to stdout
|
||||
# bedrock configuration for smart search and discussion summaries
|
||||
bedrock.yml: |-
|
||||
bedrock_region: us-west-2
|
||||
vault_credential_path: sts/testaccount/sts/bedrock-dev
|
||||
# sagemaker configuration for translations
|
||||
sagemaker.yml: |
|
||||
endpoint_name: translation-endpoint-dev
|
||||
translation_region: us-west-2
|
||||
vault_credential_path: sts/testaccount/sts/sagemaker-dev
|
||||
# datadog_apm.yml: |
|
||||
# sample_rate: 0.0
|
||||
# host_sample_rate: 0.0
|
||||
|
|
|
@ -10,6 +10,14 @@ development:
|
|||
access_key: 'fake-access-key'
|
||||
secret_key: 'fake-secret-key'
|
||||
security_token: 'fake-security-token'
|
||||
# credentials used by smart search and discussion summaries
|
||||
'sts/testaccount/sts/bedrock-dev':
|
||||
access_key: aws-key-id-goes-here
|
||||
secret_key: secret-goes-here
|
||||
# credentials used by translations
|
||||
'sts/testaccount/sts/sagemaker-dev':
|
||||
access_key: aws-key-id-goes-here
|
||||
secret_key: secret-goes-here
|
||||
'sts/testaccount/sts/canvas-release-notes':
|
||||
access_key: 'fake-access-key'
|
||||
secret_key: 'fake-secret-key'
|
||||
|
|
|
@ -76,6 +76,15 @@ development:
|
|||
write_paths:
|
||||
- active_record
|
||||
read_path: active_record
|
||||
# bedrock configuration for smart search and discussion summaries
|
||||
bedrock.yml: |-
|
||||
vault_credential_path: sts/testaccount/sts/bedrock-dev
|
||||
bedrock_region: us-west-2
|
||||
# sagemaker configuration for translations
|
||||
sagemaker.yml: |
|
||||
endpoint_name: translation-endpoint-dev
|
||||
translation_region: us-west-2
|
||||
vault_credential_path: sts/testaccount/sts/sagemaker-dev
|
||||
datadog_apm.yml: |
|
||||
sample_rate: 0.0
|
||||
host_sample_rate: 0.0
|
||||
|
|
Loading…
Reference in New Issue