title: Attaching IAM user to IAM Group using Boto3
body: <p>I am trying to create an IAM policy, to an IAM group using Boto3. So far, I am not able to add IAM user to an IAM group. For &quot;response = iam.add_user_to_group( &quot;, I am getting an error, &quot;Exception has occurred: AttributeError
  'iam.ServiceResource' object has no attribute 'add_user_to_group'&quot;</p>
  <pre><code>import boto3
  iam = boto3.resource('iam') #using resource representing IAM
  created_user = iam.create_user(
      UserName='some_random_user'
  )
  print(created_user)
  
  create_group_response = iam.create_group(GroupName = 'Tester')
  
  response = iam.add_user_to_group(
  UserName = 'some_random_user', #Name of user
  GroupName = 'Tester'
  )
  
  response = iam.attach_user_policy(
  UserName = 'some_random_user', #Name of user
  PolicyArn = 'arn:aws:iam::196687784845:policy/boto-test' 
  # Policy ARN which you want to asign to user
  )
  </code></pre>
  <p>Not sure what seems to be the problem, I am very new to python and boto so might be a very small thing.</p>