https://pulumi.com logo
Title
l

limited-mouse-98047

07/16/2021, 2:51 PM
Hi folks. Did anyone else come across the typescript
azuread.ServicePrincipalPassword
resource generating passwords that are incompatible with
azure_native.containerservice.ManagedCluster
? The latter apparently cannot accept characters like a backtick (`), which the former will apparently generate if you're lucky. I'm wondering whether this is a bug within the provider on on the azure end.
👀 1
b

brave-planet-10645

07/16/2021, 2:58 PM
I didn't create the password that way, I created it using the Random provider and then pass that in
l

limited-mouse-98047

07/16/2021, 4:30 PM
As in passed that into the ServicePrincipalPassword provider? I saw that method being deprecated:
* @deprecated In version 2.0 of the AzureAD provider, this attribute will become read-only as it will no longer be possible to specify a password value. It will be generated by Azure Active Directory and persisted to state for reuse in your Terraform configuration.
r

rough-helicopter-14190

10/02/2021, 1:31 AM
@limited-mouse-98047 did you ever track this down? I’m running into the same issue. I’m not sure what the alternative to the password is.
l

limited-mouse-98047

10/05/2021, 5:13 PM
@rough-helicopter-14190 Last I checked the ServicePrincipalPassword provider was the only way to generate passwords. As of some time ago, I didn't come across any password errors, but that could be just luck and us spinning up fewer azure clusters atm. One trick that might work, as I think about it, is to wrap the generation of that password in a loop that checks for characters that will make ManagedCluster choke.