add: documentation

This commit is contained in:
“Naeel”
2026-06-30 15:45:24 +04:00
parent 540c1f7293
commit ca276d200f
1055 changed files with 47294 additions and 0 deletions
@@ -0,0 +1,10 @@
# Session report 2026-02-20
## Issue
The new gen_v2 Update template only used `plan.ID` when running modify. In Terraform update operations, `plan.ID` can be unknown, so the provider passed an empty instance ID and failed with "missing instance id for modify".
## Fix
The Update template now reads both plan and state, then falls back to `state.ID` when `plan.ID` is null or unknown. The resolved instance ID is used for modify and for the subsequent state refresh.
## Why this should work
`state.ID` is always known for an existing resource in Terraform state. Using it guarantees a valid instance ID during update, matching the previous generator behavior and preventing empty-ID modify calls.