Skip to content

Commit

Permalink
Merge pull request #47 from allenai/separate-lambda
Browse files Browse the repository at this point in the history
Create a new, separate lambda with attest logic
  • Loading branch information
Stanley-Jovel authored Nov 19, 2024
2 parents f9287bd + 4260c0c commit 4ffb482
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions aws-lambda/samconfig.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version = 0.1
[default.deploy.parameters]
stack_name = "ai2-model-trace"
stack_name = "ai2-model-trace-attest"
resolve_s3 = true
s3_prefix = "ai2-model-trace"
s3_prefix = "ai2-model-trace-attest"
region = "us-east-1"
confirm_changeset = true
capabilities = "CAPABILITY_IAM"
Expand Down
7 changes: 4 additions & 3 deletions aws-lambda/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ Transform: AWS::Serverless-2016-10-31
Description: S3 Logging Lambda Function

Resources:
S3LoggingFunction:
OlmoeAttestS3LoggingFunction:
Type: AWS::Serverless::Function
Properties:
FunctionName: olmoe-attest-s3-share-logging-function
CodeUri: src/
Handler: lambda_function.lambda_handler
Runtime: python3.11
Expand All @@ -19,6 +20,6 @@ Resources:
BucketName: olmo-interactions-share

Outputs:
S3LoggingFunction:
OlmoeAttestS3LoggingFunction:
Description: "S3 Logging Lambda Function ARN"
Value: !GetAtt S3LoggingFunction.Arn
Value: !GetAtt OlmoeAttestS3LoggingFunction.Arn

0 comments on commit 4ffb482

Please sign in to comment.