# first_on_demand is set via a local value reference (local.first_on_demand),
# not a literal. Terraform's databricks provider reports first_on_demand as
# null in planned_values pre-apply for any non-literal expression here,
# regardless of what it resolves to -- indistinguishable, in planned_values
# alone, from first_on_demand never being configured at all. The rule
# confirms via _dd_tfplan_meta.configuration_expressions that
# first_on_demand was actually written by the user (as a reference, not a
# constant_value), so it correctly stays silent instead of flagging this as
# an unconfigured/zero first_on_demand. See negative2.json for the plan-JSON
# side (a real `terraform plan` for this exact configuration).
locals{first_on_demand=1}resource"databricks_cluster""negative2"{cluster_name="data"spark_version="13.3.x-scala2.12"node_type_id="i3.xlarge"autotermination_minutes=20autoscale{min_workers=1max_workers=50}aws_attributes{availability="SPOT_WITH_FALLBACK"zone_id="auto"first_on_demand=local.first_on_demandspot_bid_price_percent=100}}