Configures an AWS Connect user including a hierarchy group ID for structured user grouping.

Terraform Template

resource "aws_connect_user" "example" {
  hierarchy_group_id = "aws_connect_user_hierarchy_group.example.hierarchy_group_id"

  identity_info {
    first_name = "example"
    last_name = "example2"
  }
  instance_id = "aws_connect_instance.example.id"
  name = "example"
  password = "Password123"

  phone_config {
    after_contact_work_time_limit = 0
    phone_type = "SOFT_PHONE"
  }
  routing_profile_id = "aws_connect_routing_profile.example.routing_profile_id"
  security_profile_ids = ["aws_connect_security_profile.example.security_profile_id"]
}