tofu-module-aws-iam-user/test/test.sh
Julien Dessaux c7927f49eb
All checks were successful
main / test (push) Successful in 1m21s
test(module): really test the generated access key
2025-04-26 18:14:37 +02:00

8 lines
177 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
# Wait a bit for the ACCESS KEY to be usable on AWS
sleep 10
export AWS_CONFIG_FILE="${PWD}/test/aws_config"
aws sts get-caller-identity