tofu-module-aws-iam-user/test/test.sh
Julien Dessaux 7c4a6d85dd
Some checks failed
main / test (push) Failing after 4s
test(module): really test the generated access key
2025-04-26 00:31:19 +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