Skip to content

Commit d289ce5

Browse files
committed
Merge branch 'main' of github.com:DataDog/datadog-lambda-python
2 parents 48d34b5 + bf466a4 commit d289ce5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

scripts/run_integration_tests.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ script_utc_start_time=$(date -u +"%Y%m%dT%H%M%S")
2424

2525
mismatch_found=false
2626

27+
if [ -z "$AWS_SECRET_ACCESS_KEY" ]; then
28+
echo "No AWS credentials were found in the environment."
29+
echo "Note that only Datadog employees can run these integration tests."
30+
exit 1
31+
fi
32+
2733
if [ -z "$DD_API_KEY" ]; then
2834
echo "No DD_API_KEY env var set, exiting"
2935
exit 1

tests/integration/serverless.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ provider:
1212
DD_API_KEY: ${env:DD_API_KEY}
1313
lambdaHashingVersion: 20201221
1414
timeout: 15
15+
deploymentBucket:
16+
name: integration-tests-deployment-bucket
1517
iam:
1618
# IAM permissions require that all functions are deployed with this role
1719
role: "arn:aws:iam::601427279990:role/serverless-integration-test-lambda-role"

0 commit comments

Comments
 (0)