Repository navigation
docs(security/azure): fix post-apply recipe (Consumption SKU) - #184
Conversation
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
Warning Review limit reached
More reviews will be available in 21 minutes and 9 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughCorrects an in-file Terraform comment to recommend using ChangesDocumentation & Security Commentary
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
|
@coderabbitai full review |
Rate Limit Exceeded
|
|
@coderabbitai review |
Rate Limit Exceeded
|
|
@coderabbitai full review |
✅ Action performedFull review finished. |
|
@coderabbitai full review |
✅ Action performedFull review finished. |
4b5ecba to
d869b15
Compare
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
d869b15 to
00969d5
Compare
|
@coderabbitai review |
✅ Action performedReview finished.
|
The header comment in scheduled-tasks.tf told operators to inspect the deployed workflow with `az logicapp show`, but `az logicapp` targets Logic Apps Standard (`Microsoft.Web/sites` with `kind=workflowapp`). These workflows are Consumption-tier (`Microsoft.Logic/workflows` via `azurerm_logic_app_workflow`); running `az logicapp show -n <wf>` against one returns ResourceNotFound. Replace with `az resource show --resource-type Microsoft.Logic/workflows --api-version 2019-05-01`, which works against the right SKU and needs no cli extensions (`az logic workflow show` does, and that extension can fail to install on Python 3.12+ azure-cli builds). Comment-only — no resource, state, or runtime change. Refs #183.
00969d5 to
ee31106
Compare
Summary
Fixes the post-apply verification command in the security header comment of
scheduled-tasks.tf. The original comment (added in PR #74) told operators to useaz logicapp show, but that subcommand targets Logic Apps Standard (Microsoft.Web/siteswithkind=workflowapp); these workflows are Consumption-tier (Microsoft.Logic/workflowsviaazurerm_logic_app_workflow). Runningaz logicapp show -n <wf>against one returnsResourceNotFound.The replacement uses
az resource show --resource-type Microsoft.Logic/workflows --api-version 2019-05-01, which:azcli extension. (az logic workflow showdoes, and thelogicextension can fail to install on Python 3.12+ azure-cli builds — the standard install path on macOS Homebrew today, which is exactly when an operator would reach for the post-apply check.)Closes #183.
Scope
Comment-only — no resource, state, output, or runtime change.
terraform fmt -checkandterraform validateboth clean (the pre-commit hooks ran them).The two other surfaces called out in #183 (issue #50 "Steps to reproduce" and PR #74 "Test plan") are historical text — both will be addressed via corrective comments on those threads, not via code.
Test plan
terraform fmt -checkclean (pre-commitTerraform formatpassed).terraform validateclean (pre-commitTerraform validatepassed).Summary by CodeRabbit