Title: App tf-plan LLM review always fails: developer boundary denies Bedrock for team CI roles · Issue #136 · javaBin/platform · GitHub
Open Graph Title: App tf-plan LLM review always fails: developer boundary denies Bedrock for team CI roles · Issue #136 · javaBin/platform
X Title: App tf-plan LLM review always fails: developer boundary denies Bedrock for team CI roles · Issue #136 · javaBin/platform
Description: Platform drift repo. Contribute to javaBin/platform development by creating an account on GitHub.
Open Graph Description: Platform drift repo. Contribute to javaBin/platform development by creating an account on GitHub.
X Description: Platform drift repo. Contribute to javaBin/platform development by creating an account on GitHub.
Opengraph URL: https://github.com/javaBin/platform
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"App tf-plan LLM review always fails: developer boundary denies Bedrock for team CI roles","articleBody":"We got a lot further. Both cupcake and frosting hit the terraform apply stage before failing.\n\nClaude analysis:\n\n-------\n\nSince #132, app deploys get through detect, build, expand and tf-plan, but tf-apply is always blocked:\n\nRisk level: FAILED\nApply blocked: Risk is FAILED — override required\n\nThe cause is in the tf-plan \"Run LLM review\" step:\n\naws: [ERROR]: An error occurred (AccessDeniedException) when calling the Converse operation:\nUser: arn:aws:sts::553637109631:assumed-role/javabin-ci-team-cupcake/chrissearle-caaf0694-39968084993\nis not authorized to perform: bedrock:InvokeModel on resource:\narn:aws:bedrock:eu-central-1:553637109631:inference-profile/eu.anthropic.claude-haiku-5-5\nwith an explicit deny in a permissions boundary:\narn:aws:iam::553637109631:policy/javabin-developer-boundary\n\nLLM returned no structured output.\nLLM review risk: FAILED\nWARNING: LLM review failed — treated as HIGH risk (override available).\n\ntf-plan.yml runs review-plan.py with the team role from the CI broker (javabin-ci-team-\u003cteam>). That role has javabin-developer-boundary, and terraform/platform/iam/boundary.tf (DenySecSvcs) explicitly denies bedrock:Invoke* / bedrock:Converse* (\"platform-only for plan review/cost narratives\"). Only javabin-ci-infra-plan has the Bedrock allow, and that role only trusts repo:javaBin/platform:*.\n\nBecause of this, the review can never succeed for an app repo, every infrastructure change on an app needs a board override, and the HIGH-risk gate stops meaning anything.\n\nFailing runs:\n- https://github.com/javaBin/frosting/actions/runs/39968084993 (plan: 15 to add, 0 change, 0 destroy)\n- https://github.com/javaBin/cupcake/actions/runs/39968287668\n\nPossible fixes:\n1. Run the review outside the team's credentials: a platform Lambda (like apply-gate) that reads the plan output from the plan-artifacts bucket and calls Bedrock with its own role. This keeps Bedrock out of reach of app code and is probably the cleanest.\n2. Have tf-plan assume a separate, review-only role for this step: Bedrock on inference-profile/eu.anthropic.* only, trusted for the reusable workflow's job_workflow_ref.\n3. Narrow DenySecSvcs to allow Bedrock only on the review inference profile. This is the simplest, but it gives every team role (and any code in a plan job) Bedrock access.\n\nSeparately: a review that errors (FAILED) is handled the same as a HIGH-risk plan. It might be better to retry, or to post a clear \"review unavailable\" message, rather than routing infrastructure failures to the board.\n","author":{"url":"https://github.com/chrissearle","@type":"Person","name":"chrissearle"},"datePublished":"2026-10-23T14:26:20Z","url":"https://github.com/javaBin/platform/issues/136"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:82a55588-58d4-d520-21af-c154af39ab54 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C0CE:35875C:2A8D85B:378DB8B:6B0413E8 |
| html-safe-nonce | 75f22357445eac69e7bf642efc3e6c1eee06b05a43361f8666fb911e15ef7cd9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMENFOjM1ODc1QzoyQThEODVCOjM3OERCOEI6NkIwNDEzRTgiLCJ2aXNpdG9yX2lkIjoiMTY4NjEyNTQwNTM4OTcyMjYwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 06cf3acbdeea234ac4d95dca72093e4ad411c86d9bc4fda721c05b6cdaa2966f |
| hovercard-subject-tag | repository:1175354559 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/javaBin/platform/issues/136 |
| twitter:image | https://opengraph.githubassets.com/2fa147763a20527863efc7726e984ebc91418388adf8f3b43377ce30256d7619/javaBin/platform |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2fa147763a20527863efc7726e984ebc91418388adf8f3b43377ce30256d7619/javaBin/platform |
| og:image:alt | Platform drift repo. Contribute to javaBin/platform development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/javaBin/platform git https://github.com/javaBin/platform.git |
| octolytics-dimension-user_id | 95047 |
| octolytics-dimension-user_login | javaBin |
| octolytics-dimension-repository_id | 1175354559 |
| octolytics-dimension-repository_nwo | javaBin/platform |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1175354559 |
| octolytics-dimension-repository_network_root_nwo | javaBin/platform |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width