Skip to content

Fix RDS identifier_prefix perpetual diff#104

Merged
ian-flores merged 1 commit intomainfrom
fix-rds-identifier-prefix-diff
Feb 3, 2026
Merged

Fix RDS identifier_prefix perpetual diff#104
ian-flores merged 1 commit intomainfrom
fix-rds-identifier-prefix-diff

Conversation

@ian-flores
Copy link
Contributor

@ian-flores ian-flores commented Feb 2, 2026

Summary

Add ignore_changes=["identifier_prefix"] to the workload RDS instance ResourceOptions.

Problem

identifier_prefix is a write-only property in AWS - it's used during resource creation but AWS doesn't return it in the API response. This causes Pulumi to always show it as a pending change:

~ aws:rds/instance:Instance: (update)
  + identifierPrefix: "ganso01-staging-"

Solution

Add ignore_changes=["identifier_prefix"] to match the existing fix in aws_control_room_persistent.py (line 225).

Test plan

  • Verified control room already has this fix
  • Run ptd ensure <workload> --only-steps persistent --dry-run to confirm diff is gone

Add ignore_changes for identifier_prefix on workload RDS instance.

identifier_prefix is write-only in AWS - it's used during creation but
AWS doesn't return it, so Pulumi always shows it as needing to be set.

This matches the existing fix in aws_control_room_persistent.py.
@ian-flores ian-flores marked this pull request as ready for review February 2, 2026 20:29
@ian-flores ian-flores requested a review from a team as a code owner February 2, 2026 20:29
@ian-flores ian-flores requested a review from stevenolen February 3, 2026 00:57
@ian-flores ian-flores merged commit 2d0a358 into main Feb 3, 2026
3 of 7 checks passed
@ian-flores ian-flores deleted the fix-rds-identifier-prefix-diff branch February 3, 2026 14:39
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.

2 participants