Creates an IAM user along with an access key and attaches the given policies to it.
Name | Version |
---|---|
terraform | >= 0.12, <2.0 |
aws | >= 2.50.0 |
Name | Version |
---|---|
aws | >= 2.50.0 |
No modules.
Name | Type |
---|---|
aws_iam_access_key.key | resource |
aws_iam_user.user | resource |
aws_iam_user_policy_attachment.policy | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
create | Should resources be created | bool |
true |
no |
name | Kebab-cased user name | string |
n/a | yes |
policy_arns | ARNs of policies that should be attached to the user | map(string) |
{} |
no |
tags | Tags to add to resources that support them | map(string) |
{} |
no |
Name | Description |
---|---|
access_key_id | User's access key id |
arn | User ARN |
name | User name |
secret_access_key | User's secret access key |
ses_smtp_password | User's secret access key converted into an SES SMTP password |