Conversation
- Refactored usage.mdx from 871 to 149 lines to focus on overview - Moved multi-component operations content to individual command pages - Added Multi-Component Operations sections to plan, apply, deploy, destroy - Each section documents --all, --affected, --components, --query usage - Includes examples and flags table for multi-component operations - Maintains path-based component resolution and key differences sections - Eliminates 765 lines of duplicate content across documentation Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
Warning This PR exceeds the recommended limit of 1,000 lines.Large PRs are difficult to review and may be rejected due to their size. Please verify that this PR does not address multiple issues. |
Dependency Review✅ No vulnerabilities or license issues found.Scanned FilesNone |
The destroy command does not support --all or --affected flags. Only plan, apply, and deploy have these multi-component operations. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
📝 WalkthroughWalkthroughThis PR updates Terraform CLI documentation by adding a new "Multi-Component Operations" section to terraform-apply, terraform-deploy, and terraform-plan command docs, and reorganizes the usage page to streamline content from extensive examples to a concise "Command Modes" overview. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~18 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (4)
🧰 Additional context used📓 Path-based instructions (2)website/**📄 CodeRabbit inference engine (.cursor/rules/atmos-rules.mdc)
Files:
website/docs/cli/commands/**/*.mdx📄 CodeRabbit inference engine (CLAUDE.md)
Files:
🧠 Learnings (24)📓 Common learnings📚 Learning: 2025-06-23T02:14:30.937ZApplied to files:
📚 Learning: 2025-10-07T00:25:16.333ZApplied to files:
📚 Learning: 2024-10-21T17:51:53.976ZApplied to files:
📚 Learning: 2025-01-19T15:49:15.593ZApplied to files:
📚 Learning: 2025-09-13T16:39:20.007ZApplied to files:
📚 Learning: 2025-10-10T23:51:36.597ZApplied to files:
📚 Learning: 2025-01-09T22:37:01.004ZApplied to files:
📚 Learning: 2026-01-04T00:55:21.720ZApplied to files:
📚 Learning: 2025-10-11T19:12:38.832ZApplied to files:
📚 Learning: 2024-12-01T00:33:20.298ZApplied to files:
📚 Learning: 2024-12-03T05:18:49.169ZApplied to files:
📚 Learning: 2025-09-05T14:57:37.360ZApplied to files:
📚 Learning: 2025-09-07T17:38:40.486ZApplied to files:
📚 Learning: 2025-10-14T01:54:48.410ZApplied to files:
📚 Learning: 2025-01-09T22:27:25.538ZApplied to files:
📚 Learning: 2025-09-27T20:50:20.564ZApplied to files:
📚 Learning: 2025-02-18T13:13:11.497ZApplied to files:
📚 Learning: 2025-09-07T18:07:00.549ZApplied to files:
📚 Learning: 2025-12-13T03:21:35.786ZApplied to files:
📚 Learning: 2024-12-03T05:29:07.718ZApplied to files:
📚 Learning: 2026-01-09T04:49:35.038ZApplied to files:
📚 Learning: 2025-03-18T12:26:25.329ZApplied to files:
📚 Learning: 2024-12-03T04:01:16.446ZApplied to files:
🪛 LanguageToolwebsite/docs/cli/commands/terraform/terraform-deploy.mdx[style] ~218-~218: This word has been used in one of the immediately preceding sentences. Using a synonym could make your text more interesting to read, unless the repetition is intentional. (EN_REPEATEDWORDS_AFFECT) website/docs/cli/commands/terraform/terraform-apply.mdx[style] ~347-~347: This word has been used in one of the immediately preceding sentences. Using a synonym could make your text more interesting to read, unless the repetition is intentional. (EN_REPEATEDWORDS_AFFECT) website/docs/cli/commands/terraform/terraform-plan.mdx[grammar] ~313-~313: Use a hyphen to join words. (QB_NEW_EN_HYPHEN) ⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1952 +/- ##
==========================================
+ Coverage 74.12% 74.13% +0.01%
==========================================
Files 772 772
Lines 69744 69744
==========================================
+ Hits 51695 51707 +12
+ Misses 14618 14612 -6
+ Partials 3431 3425 -6
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
When multiple components match a path, Atmos prompts users to select in interactive terminals (not error). Only errors in CI/CD mode. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
These changes were released in v1.204.0-rc.4. |
what
terraform usage.mdxfrom 871 to 149 lines into a focused overview pageterraform-plan,terraform-apply,terraform-deploy, andterraform-destroycommand pageswhy
The terraform usage page served as both a landing page and comprehensive reference, resulting in massive duplication. Multi-component operations documentation now lives in individual command pages where it's directly relevant, improving maintainability and following the pattern used by other command groups like
describe.references
Issue: Terraform usage page was not refactored after subcommands were broken out into separate pages.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.