Use when a Terraform Plugin Framework resource import reads required DynamicAttribute values. Handle imported partial state before converting dynamic values.
68
81%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Trigger: A framework resource uses ImportStatePassthroughID and a required schema.DynamicAttribute.
Fix: In Read, treat null, unknown, or zero-value dynamic attributes as absent imported state, fetch backend values, and only overwrite fetched state with prior dynamic state when the prior value is known.
Why: Terraform import initially supplies only the imported ID, so converting a missing dynamic value as if it came from config can fail before the backend read populates state.
d49bc4c
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.