https://pulumi.com logo
f

full-dress-10026

06/19/2019, 7:01 PM
If I change the
osProfile
of a
ScaleSet
I get this outputted from `pulumi up`:
Copy code
azure:compute:ScaleSet  azureDemo-ss2             updated     [diff: ~osProfile]
However, the actual instances are not restarted. When changing
customData
, I would expect instances to restart to apply the new customData.
w

white-balloon-205

06/20/2019, 12:56 AM
This appears to be intended behaviour of the Azure Terraform provider. I am honestly not sure why that is. If you also change the
computerNamePrefix
, that will trigger a replacement - which could be a workaround here.
f

full-dress-10026

06/20/2019, 2:05 PM
Right - the behavior doesn't make sense to me either.