Skip to content

Commit

Permalink
Fix user creation bug in pulumi provisioner
Browse files Browse the repository at this point in the history
  • Loading branch information
fraliv13 committed Feb 9, 2024
1 parent 6546b29 commit 20cb912
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func deployEntraUser(target provisioning.ProvisioningTarget,
initialPassword = randomPassword.Result
}

user, err := azuread.NewUser(ctx, "newUser", &azuread.UserArgs{
user, err := azuread.NewUser(ctx, entraUser.Name, &azuread.UserArgs{
UserPrincipalName: pulumi.String(entraUser.Spec.UserPrincipalName),
DisplayName: pulumi.String(entraUser.Spec.DisplayName),
Password: initialPassword,
Expand Down

0 comments on commit 20cb912

Please sign in to comment.