lib/events/athena/README.md
The integration tests run against real AWS resources in the teleport-dev account, region eu-central-1.
teleport-dev AWS accounteu-central-1:
auditlogs-integrationtests-locking (object locking enabled, 1-day governance retention)auditlogs-integrationtests (1-day lifecycle expiration)auditlogs_integrationtestsprimaryThe tests create and clean up per-run resources automatically (SNS topic, SQS queue, Athena table). The S3 buckets and Glue database are shared and long-lived.
AWS_PROFILE=teleport-dev AWS_REGION=eu-central-1 TEST_AWS=true \
go test ./lib/events/athena/ -run TestIntegrationAthena -v
AWS_REGION must be eu-central-1 — the S3 buckets live in that region and the AWS SDK will return 301 PermanentRedirect if a different region is used.