diff --git a/.changelog/39991.txt b/.changelog/39991.txt new file mode 100644 index 00000000000..cfdfc758f6c --- /dev/null +++ b/.changelog/39991.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/aws_iam_user_login_profile: Mark the `password` argument as sensitive +``` diff --git a/internal/service/iam/user_login_profile.go b/internal/service/iam/user_login_profile.go index 9d295098ffc..c400dcc3c5d 100644 --- a/internal/service/iam/user_login_profile.go +++ b/internal/service/iam/user_login_profile.go @@ -75,8 +75,9 @@ func resourceUserLoginProfile() *schema.Resource { Computed: true, }, names.AttrPassword: { - Type: schema.TypeString, - Computed: true, + Type: schema.TypeString, + Computed: true, + Sensitive: true, }, }, }