https://pulumi.com logo
#general
Title
# general
t

tall-rose-87315

10/21/2019, 5:22 AM
I am trying to "adopt" an aks cluster, but I cannot seem to match the "servicePrincipal" secret. Is there a secret to this?
w

white-balloon-205

10/21/2019, 2:57 PM
If there is a single property you can’t match, you can use
ignoreChanges
on that property to allow the adoption to proceed (which will then also avoid trying to replace the cluster after you adopt it). That said - what exactly is the resource/property that causes the problem here?
t

tall-rose-87315

10/21/2019, 8:03 PM
the property is the clientSecret. I tried every version of a secret, from configuration to even hardcoded value. Nothing will match. So then it tries to update the secret, which fails. I will try to ignore it. ~ servicePrincipal: { + clientSecret: "[secret]" }
ignoring seems to have worked. thx! { ignoreChanges: [servicePrincipal], import: <clusterid> }