Skip to content

Commit

Permalink
Moved qna-rag manifest to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
saikatak committed May 9, 2024
1 parent 2422dd7 commit 35858b6
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 3 deletions.
5 changes: 5 additions & 0 deletions examples/manifests/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ groups:
path: manifests/sagemaker-model-package-group-modules.yaml
- name: promote-models
path: manifests/sagemaker-model-package-promote-pipeline-modules.yaml
- name: storage
path: examples/manifests/storage-modules.yaml
- name: qna-rag
path: examples/manifests/qna-rag-modules-local.yaml

targetAccountMappings:
- alias: primary
accountId:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: qna-rag
path: modules/fmops/qna-rag
parameters:
- name: cognito-pool-id
value: us-east-1-XXXXX
#Replace below value with valid congnito pool id
value: us-east-1_XXXXX
- name: os-domain-endpoint
valueFrom:
moduleMetadata:
Expand Down
75 changes: 75 additions & 0 deletions examples/manifests/storage-modules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: ecr-mlflow
path: git::https://github.com/awslabs/idf-modules.git//modules/storage/ecr?ref=release/1.7.0&depth=1
targetAccount: primary
parameters:
- name: image-tag-mutability
value: MUTABLE
---
name: ecr-sagemaker-kernel
path: git::https://github.com/awslabs/idf-modules.git//modules/storage/ecr?ref=release/1.7.0&depth=1
targetAccount: primary
parameters:
- name: image-tag-mutability
value: MUTABLE
---
name: buckets
path: git::https://github.com/awslabs/idf-modules.git//modules/storage/buckets?ref=release/1.7.0&depth=1
targetAccount: primary
parameters:
- name: encryption-type
value: SSE
- name: retention-type
value: RETAIN
---
name: mlflow-mysql
path: git::https://github.com/awslabs/idf-modules.git//modules/database/rds?ref=release/1.7.0&depth=1
targetAccount: primary
parameters:
- name: vpc-id
valueFrom:
moduleMetadata:
group: networking
name: networking
key: VpcId
- name: subnet-ids
valueFrom:
moduleMetadata:
group: networking
name: networking
key: PrivateSubnetIds
- name: engine
value: mysql
- name: engine-version
value: 8.0.35
- name: instance-type
value: t3.small
- name: database-name
value: mlflowdb
- name: admin-username
value: admin
- name: credential-rotation-days
value: 30
- name: removal-policy
value: DESTROY
---
name: opensearch
path: git::https://github.com/awslabs/idf-modules.git//modules/storage/opensearch/
targetAccount: primary
targetRegion: us-east-1
parameters:
- name: encryption-type
value: SSE
- name: retention-type
value: RETAIN
- name: vpc-id
valueFrom:
moduleMetadata:
group: networking
name: networking
key: VpcId
- name: private-subnet-ids
valueFrom:
moduleMetadata:
group: networking
name: networking
key: PrivateSubnetIds
2 changes: 0 additions & 2 deletions manifests/uber-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ groups:
path: manifests/mwaa-modules.yaml
- name: mwaa-dags
path: manifests/mwaa-dag-modules.yaml
- name: qna-rag
path: manifests/qna-rag-modules.yaml
targetAccountMappings:
- alias: primary
accountId:
Expand Down

0 comments on commit 35858b6

Please sign in to comment.