Skip to content

Commit c466a21

Browse files
authored
Merge pull request #766 from aws-samples/feature/remove-qbus-layer
Remove Lambda layer as QBusiness APIs are not part of standard Python…
2 parents ff4c74a + c339a26 commit c466a21

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

templates/layers.zip

-64.4 KB
Binary file not shown.

templates/lexbot.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ Parameters:
4040
S3 object zip file containing Lambda for QBusiness integration
4141
Default: artifacts/aws-lex-web-ui/artifacts/streaming-lambda.zip
4242

43-
QBusinessLambdaLayerObject:
44-
Type: String
45-
Description: >
46-
S3 object zip file containing Lambda layer for QBusiness integration
47-
Default: artifacts/aws-lex-web-ui/artifacts/layers.zip
48-
4943
SourceBucket:
5044
Description: S3 bucket where the source is located
5145
Type: String
@@ -441,16 +435,6 @@ Resources:
441435
- !GetAtt QServiceRole.Arn
442436
PolicyName: AllowAssumeQRole
443437

444-
QBusinessModelLayer:
445-
Type: "AWS::Lambda::LayerVersion"
446-
Condition: EnableQBusiness
447-
Properties:
448-
Content:
449-
S3Bucket: !Ref SourceBucket
450-
S3Key: !Ref QBusinessLambdaLayerObject
451-
CompatibleRuntimes:
452-
- python3.12
453-
454438
QnaBusinessLambdaFulfillmentFunction:
455439
Type: AWS::Lambda::Function
456440
Condition: EnableQBusiness
@@ -468,8 +452,6 @@ Resources:
468452
Handler: index.lambda_handler
469453
Role: !GetAtt 'LambdaFunctionRole.Arn'
470454
Runtime: python3.12
471-
Layers:
472-
- !Ref QBusinessModelLayer
473455
Timeout: 60
474456
MemorySize: 128
475457
Code:

templates/master.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,6 @@ Resources:
760760
ShouldDeleteBot: !Ref ShouldDeleteBot
761761
ParentStackName: !Ref "AWS::StackName"
762762
SourceBucket: !Ref BootstrapBucket
763-
QBusinessLambdaLayerObject: !Sub "${BootstrapPrefix}/layers.zip"
764763
QBusinessLambdaCodeObject: !Sub "${BootstrapPrefix}/qbusiness-lambda-v0.21.6.zip"
765764
AmazonQAppId: !Ref AmazonQAppId
766765
IDCApplicationARN: !Ref IDCApplicationARN

0 commit comments

Comments
 (0)