Creates an AWS terraform service account for Terraform Cloud or other CI/CD systems to run terraform plan and apply
Grants this service account Administator privileges in the current AWS account
Creates an IAM access key (deleting an older unused key if necessary), writes a CSV just as the UI download would, and outputs both shell export commands and configuration in the format for copying to your AWS profile in ~/.aws/credentials
- keyfile (default: ~/.aws/keys/\${user}_\${aws_account_id}_accessKeys.csv) - be careful if specifying this, a non-existent keyfile will create a new key, deleting the older of 2 existing keys if necessary to be able to create this
Idempotent - safe to re-run, will skip creating a user that already exists or CSV export that already exists