Commit 054251e
committed
docs(cfn-lang-ext): correct validation errors table to match code
The previous table paraphrased messages and listed an error that doesn't
exist:
- Layout error: actual message is "Fn::ForEach::<key> layout is
incorrect" and covers more cases than just element count (non-list
value, non-string identifier, etc.).
- Nesting depth: actual message is the multi-line "Fn::ForEach nesting
depth of <N> exceeds the maximum allowed depth of 5. CloudFormation
supports up to 5 nested Fn::ForEach loops."
- Missing parameter referenced by Fn::ForEach: there is no such error.
In partial mode (typical sam build/package), the unresolved Ref is
preserved and CFN rejects it at deploy time.
- Empty collection: no message; silently skipped (kept as-is).1 parent 324eea4 commit 054251e
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| |||
0 commit comments