Data Source: aws_iam_user

This data source can be used to fetch information about a specific IAM user. By using this data source, you can reference IAM user properties without having to hard code ARNs or unique IDs as input.

Example Usage

data "aws_iam_user" "example" {
  user_name = "an_example_user_name"
}

Argument Reference

Attribute Reference

This data source exports the following attributes in addition to the arguments above: