Skip to content

Commit 2fd612c

Browse files
committed
fixed template yaml to use AWS:Partition
1 parent 19f012c commit 2fd612c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/idp_common_pkg/idp_common/bda/schema_converter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ def _create_field_schema(self, field: Dict[str, Any]) -> Dict[str, Any]:
131131
"date": "string",
132132
"table": "object",
133133
}
134-
evaluation_method = field.get("evaluationMethod", "explicit")
134+
evaluation_method = "explicit"
135+
# field.get("evaluationMethod", "explicit")
135136
field_schema = {
136137
"type": type_mapping.get(datatype, "string"),
137138
"inferenceType": evaluation_method,

patterns/pattern-1/template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -779,8 +779,8 @@ Resources:
779779
- bedrock:DeletBlueprint
780780
Resource:
781781
- !Ref BDAProjectArn
782-
- !Sub "arn:aws:bedrock:${AWS::Region}:${AWS::AccountId}:blueprint/*"
783-
- !Sub "arn:aws:bedrock:${AWS::Region}:aws:blueprint/*"
782+
- !Sub "arn:${AWS::Partition}:bedrock:${AWS::Region}:${AWS::AccountId}:blueprint/*"
783+
- !Sub "arn:${AWS::Partition}:bedrock:${AWS::Region}:aws:blueprint/*"
784784

785785
BDADiscoveryFunctionLogGroup:
786786
Type: AWS::Logs::LogGroup

0 commit comments

Comments
 (0)