Commit 3901673
committed
Remove resource from state when not found on server during Read
When a publisher or rule is deleted externally, the Read method now
removes it from state instead of returning an error, allowing
Terraform to plan a recreation.
https://claude.ai/code/session_019ocavNKpCndi448shsGs4Q1 parent 5a64a9b commit 3901673
2 files changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
| 157 | + | |
161 | 158 | | |
162 | 159 | | |
163 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
| 275 | + | |
279 | 276 | | |
280 | 277 | | |
281 | 278 | | |
| |||
0 commit comments