diff --git a/aws-lambda/samconfig.toml b/aws-lambda/samconfig.toml index fc1cbcc..169cd61 100644 --- a/aws-lambda/samconfig.toml +++ b/aws-lambda/samconfig.toml @@ -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" diff --git a/aws-lambda/template.yaml b/aws-lambda/template.yaml index 5aee289..6f7bc3f 100644 --- a/aws-lambda/template.yaml +++ b/aws-lambda/template.yaml @@ -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 @@ -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