Commit 5c5bcee
authored
fix(serverless): change cache_usage_limits default from {} to null
The serverless_cache_usage_limits variable had a default value of {}
(empty object), which caused the dynamic block to create an empty
cache_usage_limits block with no nested content. AWS rejects this
configuration during apply, resulting in:
Error: Provider produced inconsistent result after apply
.cache_usage_limits: block count changed from 1 to 0
Changing the default to null allows the dynamic block logic to
correctly skip creating the block when no limits are specified.1 parent e21dc4a commit 5c5bcee
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| |||
0 commit comments