late-balloon-24601
11/27/2025, 3:42 PMignoreChanges to ignore an object in an array if a key in in that object is equal to some value?
In this case I'm trying to get Pulumi to ignore changes to a specific environment variable on a pod that's managed by something else, as it causes persistent diffs:
spec:
containers:
- env:
- name: PULUMI_MANAGED
value: foo
- name: PULUMI_IGNORE_THIS
value: bar
I think in this case I can be certain of the order of the env vars so I know which one to ignore, but was curious if it would be possible without knowing the orderlittle-cartoon-10569
11/27/2025, 8:21 PMspec:
containers:
- env:
- name: PULUMI_MANAGED
value: foo
- name: PULUMI_IGNORE_THIS
value: bar
thingsToIgnore:
- key: PULUMI_IGNORE_THIS