The following code creates an IAM user policy for the user named "testuser" in the account named "myaccount".
The aws_iam_user_policy resource defines the following:
Name: The name of the IAM user policy.
Description: A description of the IAM user policy.
IAM Policy: The IAM policy to which the user policy belongs.