05/17/2022, 2:35 PM
Hi ho and hello! Is there an easy way to tell Pulumi to ignore changes in one of the attributes I am setting? I am creating a service principal; and the Owner is being set - in CICD, the owner is different and I don't want to bother trying to change it ...
var app = new Application($"{Deployment.Instance.StackName}-app", new ApplicationArgs
    DisplayName = $"{Deployment.Instance.StackName}-cicd",
    Owners = { current.Apply(c => c.ObjectId), },
    SignInAudience = "AzureADMultipleOrgs"
}, new CustomResourceOptions()
    IgnoreChanges = {
I thought the above "IgnoreChanges" might be the key, but I suspect I am using that incorrectly in this case. Tips appreciated.
Solved: ignore changes requires the list of attributes to be in camelCase
Therefore, "Owners" is changed to "owners" and it works.
🙌 3