I want to create IAM user (service account) with access and secret keys using terraform and not console. How can i do that? Thanks, Deepak
The documentation for aws_iam_access_key has a full example of an IAM user with an access key. Please note that this will write the secret to the state file, so keep your state file secure.