Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_iam_policy.policy resource
aws_iam_role_policy_attachment.user-policy-attachment resource
aws_iam_user.user resource
aws_caller_identity.current data source

Inputs

Name Description Type Default Required
assume_role_policy IAM assume role policy to use for the IAM Role string n/a yes
create_policy Toggle Creation of Policy bool false no
existing_policy_arn arn of existing policy string "" no
policy policy associated with new role string "" no
role_name Name of the IAM Role. string n/a yes

Outputs

Name Description
created-iam-user-arn Arn of IAM user created.
created-iam-user-id ID of IAM user created.
created-iam-user-name Name of IAM user created.
policy-arn ARN of Policy Used.