Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ functions:
type: test
params:
binary: bash
add_expansions_to_env: true
env:
BASE_SHA: "${revision}"
HEAD_SHA: "${github_commit}"
Expand All @@ -223,6 +224,7 @@ functions:
type: test
params:
binary: bash
add_expansions_to_env: true
env:
COMMIT: "${github_commit}"
PR_TASK: apply-labels
Expand All @@ -233,6 +235,7 @@ functions:
type: test
params:
binary: bash
add_expansions_to_env: true
env:
COMMIT: "${github_commit}"
PR_TASK: assign-reviewer
Expand Down Expand Up @@ -647,6 +650,7 @@ tasks:
- name: pull-request-helpers
allowed_requesters: ["patch", "github_pr"]
commands:
- func: assume-test-secrets-ec2-role
- func: "add PR reviewer"
- func: "add PR labels"
- func: "create-api-report"
Expand Down Expand Up @@ -1679,11 +1683,11 @@ tasks:
type: test
params:
binary: bash
add_expansions_to_env: true
env:
TEST_LAMBDA_DIRECTORY: ${PROJECT_DIRECTORY}/internal/cmd/faas/awslambda
LAMBDA_STACK_NAME: dbx-go-lambda
AWS_REGION: us-east-1
include_expansions_in_env: ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
args: [*task-runner, evg-test-deployed-lambda-aws]

- name: "oidc-auth-test"
Expand Down Expand Up @@ -2063,6 +2067,7 @@ task_groups:
params:
working_dir: src/go.mongodb.org/mongo-driver
binary: bash
add_expansions_to_env: true
env:
LAMBDA_STACK_NAME: dbx-go-lambda
AWS_REGION: us-east-1
Expand Down
14 changes: 0 additions & 14 deletions internal/cmd/faas/awslambda/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,6 @@ Resources:
Variables:
MONGODB_URI: !Ref MongoDbUri

ApplicationResourceGroup:
Type: AWS::ResourceGroups::Group
Properties:
Name:
Fn::Sub: ApplicationInsights-SAM-${AWS::StackName}
ResourceQuery:
Type: CLOUDFORMATION_STACK_1_0
ApplicationInsightsMonitoring:
Type: AWS::ApplicationInsights::Application
Properties:
ResourceGroupName:
Ref: ApplicationResourceGroup
AutoConfigurationEnabled: 'true'

Outputs:
MongoDBApi:
Description: "API Gateway endpoint URL for Prod stage for MongoDB function"
Expand Down
Loading