diff --git a/.changelog/39220.txt b/.changelog/39220.txt new file mode 100644 index 000000000000..c50a50bf71d6 --- /dev/null +++ b/.changelog/39220.txt @@ -0,0 +1,3 @@ +```release-note:note +resource/aws_quicksight_user: Add `READER_PRO`, `AUTHOR_PRO`, and `ADMIN_PRO` as valid values for the `user_role` argument +``` diff --git a/internal/service/quicksight/user.go b/internal/service/quicksight/user.go index 83fbe3f4c978..ed9f6d22173f 100644 --- a/internal/service/quicksight/user.go +++ b/internal/service/quicksight/user.go @@ -98,6 +98,9 @@ func resourceUser() *schema.Resource { awstypes.UserRoleReader, awstypes.UserRoleAuthor, awstypes.UserRoleAdmin, + awstypes.UserRoleReaderPro, + awstypes.UserRoleAuthorPro, + awstypes.UserRoleAdminPro, ), false), }, } diff --git a/website/docs/r/quicksight_user.html.markdown b/website/docs/r/quicksight_user.html.markdown index 07f34cb9e9fe..9b2e4648aa31 100644 --- a/website/docs/r/quicksight_user.html.markdown +++ b/website/docs/r/quicksight_user.html.markdown @@ -29,7 +29,7 @@ This resource supports the following arguments: * `email` - (Required) The email address of the user that you want to register. * `identity_type` - (Required) Amazon QuickSight supports several ways of managing the identity of users. This parameter accepts either `IAM` or `QUICKSIGHT`. If `IAM` is specified, the `iam_arn` must also be specified. -* `user_role` - (Required) The Amazon QuickSight role of the user. The user role can be one of the following: `READER`, `AUTHOR`, or `ADMIN` +* `user_role` - (Required) The Amazon QuickSight role of the user. The user role can be one of the following: `READER`, `AUTHOR`, `ADMIN`, `READER_PRO`, `AUTHOR_PRO` or `ADMIN_PRO`. * `user_name` - (Optional) The Amazon QuickSight user name that you want to create for the user you are registering. Only valid for registering a user with `identity_type` set to `QUICKSIGHT`. * `aws_account_id` - (Optional) The ID for the AWS account that the user is in. Currently, you use the ID for the AWS account that contains your Amazon QuickSight account. * `iam_arn` - (Optional) The ARN of the IAM user or role that you are registering with Amazon QuickSight.