Skip to content

fix(datastore/mysql/aws-rds): drop dead master_username spec field#364

Open
srikxcipher wants to merge 1 commit into
mainfrom
fix/mysql-aws-rds-drop-master-username
Open

fix(datastore/mysql/aws-rds): drop dead master_username spec field#364
srikxcipher wants to merge 1 commit into
mainfrom
fix/mysql-aws-rds-drop-master-username

Conversation

@srikxcipher

Copy link
Copy Markdown
Contributor

What

Removes the master_username field (and its length validation) from the user-facing version_config spec of the MySQL AWS-RDS module.

Why

master_username was never wired to the resource from spec — locals.tf already derives it: "admin" for new instances, or restore_master_username for restore operations. Exposing it in version_config was dead and misleading: setting it had no effect.

Changes

  • variables.tf: drop master_username from version_config object and remove its 1–16 char validation block.

facets.yaml (spec, x-ui-order, sample) already contained no master_username under version_config, so no schema change was needed.

Validation

  • No remaining references to version_config.master_username in the module.
  • Restore path (restore_master_username) untouched.

🤖 Generated with Claude Code

master_username was never wired from spec — locals.tf derives it ("admin"
for new instances, restore_master_username for restores), so exposing it in
version_config was dead and misleading. Remove the field and its validation.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@srikxcipher
srikxcipher changed the base branch from master to main June 24, 2026 16:39
@srikxcipher
srikxcipher requested a review from unni-facets June 24, 2026 16:40
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