Skip to content

chore: Fix a batch of typos and a couple dead links across the repo#377

Open
dgreeninger-wandb wants to merge 7 commits into
wandb:mainfrom
dgreeninger-wandb:markdown-typo-fix
Open

chore: Fix a batch of typos and a couple dead links across the repo#377
dgreeninger-wandb wants to merge 7 commits into
wandb:mainfrom
dgreeninger-wandb:markdown-typo-fix

Conversation

@dgreeninger-wandb
Copy link
Copy Markdown

@dgreeninger-wandb dgreeninger-wandb commented Feb 18, 2026

Noticed a few typos in the README, so decided to run through the entire module.

Summary by CodeRabbit

  • Documentation
    • Fixed spelling, grammar, and typos across docs and configuration comments.
    • Updated README wording, examples, migration notes, and BYOB clarifications.
    • Expanded FAQ: corrected links/headers, clarified data encryption options (including customer-managed KMS for storage and DB), and noted an internal-queue deployment option.
    • Clarified variable/parameter descriptions and minor comment/header text for consistency.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 18, 2026

📝 Walkthrough

Walkthrough

This PR makes non-functional edits: fixes typos and grammar, updates documentation links and phrasing, and adjusts several Terraform variable/output/ comment descriptions to reference the correct resource contexts (EKS, ALB, S3) without changing types, defaults, or logic.

Changes

Cohort / File(s) Summary
Documentation
FAQ.md, README.md
Updated wording, corrected typos, adjusted links and examples, clarified BYOB/ACM/migration notes and added data-encryption configuration items. All edits are documentation-only.
Top-level TF comments
main.tf, modules/file_storage/main.tf, modules/networking/main.tf
Spelling/capitalization fixes in inline comments (e.g., Certification, override, Flow). No resource or logic changes.
EKS & ALB variable descriptions
modules/app_eks/variables.tf, modules/app_lb/variables.tf
Rewrote variable descriptions to reference EKS cluster, worker nodes, and ALB contexts instead of MySQL/Aurora. Descriptions only.
Database-related descriptions
modules/database/variables.tf
Fixed typos and grammar in DB-related variable descriptions and a comment header; no signature or behavioral changes.
File storage variable description
modules/file_storage/variables.tf
Changed deletion_protection description to refer to S3 bucket deletion protection instead of DB instance. No functional change.
Networking outputs & comments
modules/networking/outputs.tf, modules/networking/main.tf
Fixed typos in output description and comment headers (e.g., "deployed", "VPC Flow Logs"). No logic changes.
Redis variable description
modules/redis/variables.tf
Minor grammatical correction in description for bringing your own VPC.
Root variables and comments
variables.tf
Multiple description/comment clarifications (accessible, zone apex, subnet CIDR type, IDs punctuation, URL punctuation). No changes to names, types, defaults, or validations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 I hopped through docs both near and far,
Found wayward typos by moon and star.
I nibbled commas, fixed each line,
Now descriptions sparkle, clear and fine.
A rabbit's pride — the repo's shine! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: fixing typos and dead links across the repository, which aligns with all file modifications in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@FAQ.md`:
- Line 22: Fix the grammar in the sentence containing "these list of resources";
change "these list of resources" to "this list of resources" and adjust the
surrounding phrasing for correct subject-verb agreement — e.g., rewrite the
fragment "to have a certain level of knowledge on this list of resources to be
able to deploy and maintain W&B successfully" to a clearer form such as "You
should have a certain level of knowledge of this list of resources to deploy and
maintain W&B successfully" (update the sentence in FAQ.md that contains the link
and the anchor "#aws-services-used").

In `@modules/database/variables.tf`:
- Around line 21-31: The variable declaration for create_db_subnet_group is
typed as string but uses a boolean default; change the variable's type to bool
(variable "create_db_subnet_group") so the default = true remains a boolean, and
then scan usages of var.create_db_subnet_group (e.g., conditional expressions or
resource count/for_each) to ensure they treat it as a boolean (remove any string
comparisons or quotes) so the module consistently uses a bool value.

In `@README.md`:
- Line 355: The heading text "Allow customer specific customer-managed keys for
S3 and RDS" contains a grammatical issue: change "customer specific" to the
hyphenated form "customer-specific" so the heading reads "Allow
customer-specific customer-managed keys for S3 and RDS" (update the exact
heading string in README.md).
- Around line 106-110: Update the README text to fix minor grammar: hyphenate
"cross-account" and capitalize "S3" where it currently reads "cross account" and
"s3" (in the explanatory text for bucket_permissions_mode /
bucket_restricted_accounts and the `public` option); keep all variable names
(`bucket_permissions_mode`, `bucket_restricted_accounts`, `BYOB`) unchanged.
- Line 21: The auto-generated Terraform requirements table in the README (inside
the BEGIN_TF_DOCS section) shows an incorrect Terraform constraint; regenerate
the tf-docs so the README reflects the actual required_version (~> 1.9) declared
in versions.tf. Update the documentation by running the docs generation step
(e.g., terraform-docs or your repo's doc generation script) that updates the
BEGIN_TF_DOCS block so the table shows required_version = "~> 1.9" and commit
the changed README.

Comment thread FAQ.md Outdated
Comment on lines 21 to 31
variable "engine_version" {
description = "Version for MySQL Auora to use -- major version only"
description = "Version for MySQL Aurora to use -- major version only"
type = string
default = "8.0"
}

variable "create_db_subnet_group" {
description = "Determines whether to create the databae subnet group or use existing"
description = "Determines whether to create the database subnet group or use existing"
type = string
default = true
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Pre-existing type mismatch on create_db_subnet_group: type = string with default = true.

default = true is a boolean literal, yet type = string is declared. Terraform silently coerces it to "true", but the variable semantically controls creation (on/off) and should be typed as bool.

🔧 Suggested fix
 variable "create_db_subnet_group" {
   description = "Determines whether to create the database subnet group or use existing"
-  type        = string
+  type        = bool
   default     = true
 }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
variable "engine_version" {
description = "Version for MySQL Auora to use -- major version only"
description = "Version for MySQL Aurora to use -- major version only"
type = string
default = "8.0"
}
variable "create_db_subnet_group" {
description = "Determines whether to create the databae subnet group or use existing"
description = "Determines whether to create the database subnet group or use existing"
type = string
default = true
}
variable "engine_version" {
description = "Version for MySQL Aurora to use -- major version only"
type = string
default = "8.0"
}
variable "create_db_subnet_group" {
description = "Determines whether to create the database subnet group or use existing"
type = bool
default = true
}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@modules/database/variables.tf` around lines 21 - 31, The variable declaration
for create_db_subnet_group is typed as string but uses a boolean default; change
the variable's type to bool (variable "create_db_subnet_group") so the default =
true remains a boolean, and then scan usages of var.create_db_subnet_group
(e.g., conditional expressions or resource count/for_each) to ensure they treat
it as a boolean (remove any string comparisons or quotes) so the module
consistently uses a bool value.

Comment thread README.md
however it does have the following pre-requisites:

### Terrafom version >= 1.9
### Terraform version >= 1.9
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Find the Terraform required_version constraint
rg -n "required_version" --include="*.tf" -A1 -B1

Repository: wandb/terraform-aws-wandb

Length of output: 510


🏁 Script executed:

# Check README.md at the mentioned lines
head -n 160 README.md | tail -n 140 | cat -n

Repository: wandb/terraform-aws-wandb

Length of output: 7136


🏁 Script executed:

# Search for required_version in terraform files with correct syntax
rg "required_version" -t tf -A1 -B1

Repository: wandb/terraform-aws-wandb

Length of output: 357


🏁 Script executed:

# Also check for any terraform blocks that might define this
rg "terraform\s*{" -t tf -A5

Repository: wandb/terraform-aws-wandb

Length of output: 158


Update auto-generated requirements documentation to reflect the actual Terraform constraint.

The required_version in versions.tf is ~> 1.9, but the auto-generated requirements table in the README (line 129, within the BEGIN_TF_DOCS section) still shows ~> 1.0. This mismatch will mislead users about the module's Terraform version requirements. Regenerate the documentation to ensure it reflects the actual constraint.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 21, The auto-generated Terraform requirements table in the
README (inside the BEGIN_TF_DOCS section) shows an incorrect Terraform
constraint; regenerate the tf-docs so the README reflects the actual
required_version (~> 1.9) declared in versions.tf. Update the documentation by
running the docs generation step (e.g., terraform-docs or your repo's doc
generation script) that updates the BEGIN_TF_DOCS block so the table shows
required_version = "~> 1.9" and commit the changed README.

Comment thread README.md
Comment on lines +106 to +110
We have added additional variables that make enabling BYOB easier.
`bucket_permissions_mode` accepts 1 of 3 values;
- `strict` the default requires an explict list of the buckets for proper access, the same as byob before `7.3.0`.
- `restricted` makes use of the new variable `bucket_restricted_accounts` which is a list of AWS account Id's where the BYOBs can be hosted from. ex: `["1234567890", "1234876590"]`
- `public` enables access to any BYOB properly configured not present in the the calling account. Effectively this enables cross account s3 access to ANY aws s3 account.
- `strict` the default requires an explicit list of the buckets for proper access, the same as byob before `7.3.0`.
- `restricted` makes use of the new variable `bucket_restricted_accounts` which is a list of AWS account IDs where the BYOBs can be hosted from. ex: `["1234567890", "1234876590"]`
- `public` enables access to any BYOB properly configured not present in the calling account. Effectively this enables cross account s3 access to ANY aws s3 account.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Minor grammar: "cross account" should be hyphenated as "cross-account" (line 110); "s3" should be capitalised "S3".

✏️ Suggested fix
-- `public` enables access to any BYOB properly configured not present in the calling account. Effectively this enables cross account s3 access to ANY aws s3 account.
+- `public` enables access to any BYOB properly configured not present in the calling account. Effectively this enables cross-account S3 access to ANY AWS S3 account.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
We have added additional variables that make enabling BYOB easier.
`bucket_permissions_mode` accepts 1 of 3 values;
- `strict` the default requires an explict list of the buckets for proper access, the same as byob before `7.3.0`.
- `restricted` makes use of the new variable `bucket_restricted_accounts` which is a list of AWS account Id's where the BYOBs can be hosted from. ex: `["1234567890", "1234876590"]`
- `public` enables access to any BYOB properly configured not present in the the calling account. Effectively this enables cross account s3 access to ANY aws s3 account.
- `strict` the default requires an explicit list of the buckets for proper access, the same as byob before `7.3.0`.
- `restricted` makes use of the new variable `bucket_restricted_accounts` which is a list of AWS account IDs where the BYOBs can be hosted from. ex: `["1234567890", "1234876590"]`
- `public` enables access to any BYOB properly configured not present in the calling account. Effectively this enables cross account s3 access to ANY aws s3 account.
We have added additional variables that make enabling BYOB easier.
`bucket_permissions_mode` accepts 1 of 3 values;
- `strict` the default requires an explicit list of the buckets for proper access, the same as byob before `7.3.0`.
- `restricted` makes use of the new variable `bucket_restricted_accounts` which is a list of AWS account IDs where the BYOBs can be hosted from. ex: `["1234567890", "1234876590"]`
- `public` enables access to any BYOB properly configured not present in the calling account. Effectively this enables cross-account S3 access to ANY AWS S3 account.
🧰 Tools
🪛 LanguageTool

[grammar] ~110-~110: Use a hyphen to join words.
Context: ... account. Effectively this enables cross account s3 access to ANY aws s3 account....

(QB_NEW_EN_HYPHEN)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` around lines 106 - 110, Update the README text to fix minor
grammar: hyphenate "cross-account" and capitalize "S3" where it currently reads
"cross account" and "s3" (in the explanatory text for bucket_permissions_mode /
bucket_restricted_accounts and the `public` option); keep all variable names
(`bucket_permissions_mode`, `bucket_restricted_accounts`, `BYOB`) unchanged.

Comment thread README.md Outdated
dgreeninger-wandb and others added 2 commits February 18, 2026 08:17
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Line 113: Update the sentence in the README that reads "Enabling BYOB or
cross-account regardless of `bucket_permissions_mode` still requires a policy
attached to that bucket allowing the eks node role to perform s3 actions." to
capitalize the acronyms: change "eks" to "EKS" and "s3" to "S3" so it reads
"...allowing the EKS node role to perform S3 actions." Ensure the backticked
`bucket_permissions_mode` remains unchanged.

---

Duplicate comments:
In `@README.md`:
- Line 110: Update the modified README line to hyphenate "cross-account" and
capitalize AWS service names: replace the phrase "cross account s3" with
"cross-account S3" and change "aws s3" to "AWS S3" (and ensure any other
occurrences on the same line match this capitalization), e.g., in the sentence
that currently reads "`public` enables access to any BYOB properly configured
not present in the calling account. Effectively this enables cross account s3
access to ANY aws s3 account." update those tokens accordingly.

Comment thread README.md Outdated
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant