I'm trying to set a value for the "IgnoreChanges" list based on the value of a property of the resource. This is an AKS cluster, and due to the way the Terraform provider works I need to Ignore Changes to the defaultNodePool.NodeCount value if defaultNodePool.autoscaler is set to true, but not if it is set to false. I'm struggling to do this due to IgnoreChanges expecting a List<string> and any operation I do to check the autoscaler resulting in an InputList<string>. I can get it to work if I wrap the whole AKS cluster creation in an apply, but that then causes me issues later when I want to set the parent of some other resources to be that AKS resources, as now this is an Output<KubernetesCluster> rather than just a Kubernetes cluster. Any better way to do this?