feat: add support to include application inference profiles as models (#131)
--------- Co-authored-by: Mengxin Zhu <843303+zxkane@users.noreply.github.com>
This commit is contained in:
@@ -151,6 +151,7 @@ Resources:
|
||||
Resource:
|
||||
- arn:aws:bedrock:*::foundation-model/*
|
||||
- arn:aws:bedrock:*:*:inference-profile/*
|
||||
- arn:aws:bedrock:*:*:application-inference-profile/*
|
||||
- Action:
|
||||
- secretsmanager:GetSecretValue
|
||||
- secretsmanager:DescribeSecret
|
||||
@@ -185,6 +186,7 @@ Resources:
|
||||
Ref: DefaultModelId
|
||||
DEFAULT_EMBEDDING_MODEL: cohere.embed-multilingual-v3
|
||||
ENABLE_CROSS_REGION_INFERENCE: "true"
|
||||
ENABLE_APPLICATION_INFERENCE_PROFILES: "true"
|
||||
MemorySize: 1024
|
||||
PackageType: Image
|
||||
Role:
|
||||
|
||||
@@ -193,6 +193,7 @@ Resources:
|
||||
Resource:
|
||||
- arn:aws:bedrock:*::foundation-model/*
|
||||
- arn:aws:bedrock:*:*:inference-profile/*
|
||||
- arn:aws:bedrock:*:*:application-inference-profile/*
|
||||
Version: "2012-10-17"
|
||||
PolicyName: ProxyTaskRoleDefaultPolicy933321B8
|
||||
Roles:
|
||||
@@ -222,6 +223,8 @@ Resources:
|
||||
Value: cohere.embed-multilingual-v3
|
||||
- Name: ENABLE_CROSS_REGION_INFERENCE
|
||||
Value: "true"
|
||||
- Name: ENABLE_APPLICATION_INFERENCE_PROFILES
|
||||
Value: "true"
|
||||
Essential: true
|
||||
Image:
|
||||
Fn::Join:
|
||||
|
||||
Reference in New Issue
Block a user