Skip to content

fix(E3635): add Neptune x2iezn and x2iedn instance classes missing from pricing data - #4973

Open
pcbeingused333 wants to merge 1 commit into
aws-cloudformation:mainfrom
pcbeingused333:fix/neptune-x2iezn-instance-class
Open

pcbeingused333 wants to merge 1 commit into
aws-cloudformation:mainfrom
pcbeingused333:fix/neptune-x2iezn-instance-class

Conversation

@pcbeingused333

Copy link
Copy Markdown
Contributor

Fixes #4886

Issue #, if available: #4886

Description of changes:

E3635 flags valid Neptune instance classes because dbinstanceclass_enum.json is generated from the Pricing API, which does not list them. The issue reports db.x2iezn.* in us-east-1 and us-west-2 and db.x2iedn.* in ap-southeast-1 as returned by aws rds describe-orderable-db-instance-options --engine neptune; the Neptune instance types page lists x2iezn in sizes 2xlarge to 12xlarge and x2iedn in sizes xlarge to 32xlarge.

  • scripts/update_specs_from_pricing.py merges a small _NEPTUNE_EXTRA_INSTANCE_TYPES map into the Neptune results, so the next scheduled regeneration keeps these classes (same approach as db.serverless for DocumentDB in fix(E3620): Add db.serverless to the DocumentDB instance classes #4761).
  • The generated dbinstanceclass_enum.json gets the same entries: only the regions and sizes from the issue (x2iedn was already present in other regions).
  • New test/unit/rules/resources/neptune/test_db_instance_class_enum.py covers the reported classes plus a negative case. Four of the seven cases fail without the data change and all pass with it.

This PR was prepared with the assistance of an AI coding agent (Claude Code).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…om pricing data

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Alex Castillo <alex.castillog33@gmail.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.

E3635: Neptune db.x2iezn.* (us-east-1, us-west-2) and db.x2iedn.* (ap-southeast-1) are not in the enum

1 participant