Commit 616ef09
fix(static-app): derive log group name statically
Using aws_lambda_function.oidc.logging_config[0].log_group as a
for_each key fails at plan time because it's an apply-time attribute.
Lambda always creates the log group at /aws/lambda/<function_name>, so
we can construct the path from local.prefix instead.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 678e1a9 commit 616ef09
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
0 commit comments