Skip to content

Commit 7531ee2

Browse files
committed
fix: Disable IAM enforcement in LocalStack service container
- Set ENFORCE_IAM=0 to accept any AWS credentials - Add SKIP_SSL_CERT_DOWNLOAD=1 to skip certificate validation - Add CORS disable flags for simpler testing - Resolves 'security token included in the request is invalid' error - LocalStack now accepts the test/test credentials from tests
1 parent 78814cd commit 7531ee2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/Release-CI.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ jobs:
2222
SERVICES: sqs,sns,kms,iam
2323
DEBUG: 1
2424
DOCKER_HOST: unix:///var/run/docker.sock
25+
# Disable IAM enforcement for easier testing
26+
ENFORCE_IAM: 0
27+
# Skip SSL certificate validation
28+
SKIP_SSL_CERT_DOWNLOAD: 1
29+
# Disable signature validation (accept any credentials)
30+
DISABLE_CUSTOM_CORS_S3: 1
31+
DISABLE_CUSTOM_CORS_APIGATEWAY: 1
2532
options: >-
2633
--health-cmd "curl -f http://localhost:4566/_localstack/health || exit 1"
2734
--health-interval 10s

0 commit comments

Comments
 (0)