tofu-module-aws-iam-user/test/test.sh
Julien Dessaux 37534f83da
All checks were successful
main / test (push) Successful in 2m49s
test(module): really test the generated access key
2025-04-26 00:35:46 +02:00

8 lines
182 B
Bash
Executable file

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