Skip to content

Commit 92846c8

Browse files
committed
feat: run integration tests on CI
1 parent 32a708f commit 92846c8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lambda-integration-tests/samconfig.toml

+1-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,7 @@ lint = true
1111
[default.deploy.parameters]
1212
capabilities = "CAPABILITY_IAM"
1313
confirm_changeset = true
14-
resolve_s3 = true
15-
s3_prefix = "aws-lambda-rust-integration-test"
16-
17-
[default.package.parameters]
18-
resolve_s3 = true
14+
s3_bucket = "aws-lambda-rust-runtime-integration-testing"
1915

2016
[default.sync.parameters]
2117
watch = true

lambda-integration-tests/template.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Transform: AWS::Serverless-2016-10-31
33
Description: maxday-test
44

55
Parameters:
6+
LambdaRole:
7+
Type: String
68
SecretToken:
79
Type: String
810

@@ -30,6 +32,7 @@ Resources:
3032
CodeUri: ./
3133
Handler: bootstrap
3234
Runtime: provided.al2023
35+
Role: !Ref LambdaRole
3336
Events:
3437
HelloWorld:
3538
Type: Api
@@ -48,6 +51,7 @@ Resources:
4851
CodeUri: ./
4952
Handler: bootstrap
5053
Runtime: provided.al2023
54+
Role: !Ref LambdaRole
5155
Environment:
5256
Variables:
5357
SECRET_TOKEN: !Ref SecretToken

0 commit comments

Comments
 (0)