Skip to content

Add rds_config.deletion_protection passthrough to the Aurora cluster - #275

Open
fleet-dylan wants to merge 1 commit into
fleetdm:mainfrom
fleet-ai:rds-deletion-protection
Open

Add rds_config.deletion_protection passthrough to the Aurora cluster#275
fleet-dylan wants to merge 1 commit into
fleetdm:mainfrom
fleet-ai:rds-deletion-protection

Conversation

@fleet-dylan

Copy link
Copy Markdown

Summary

aws_rds_cluster.deletion_protection currently cannot be set through the root module or byo-vpc: the inner terraform-aws-modules/rds-aurora call does not receive it, so its null default always applies. Anyone who enables deletion protection on the cluster out-of-band then sees a permanent deletion_protection: true -> false diff on every plan, and an apply silently disables the protection.

This adds an optional rds_config.deletion_protection (default null) in the root module and byo-vpc, passed through to the aurora module. The default preserves current behavior exactly.

Happy to regenerate READMEs / adjust module version tags to match your release process.

@fleet-dylan
fleet-dylan requested review from a team and ddribeiro as code owners August 8, 2026 00:21
@fleet-dylan
fleet-dylan force-pushed the rds-deletion-protection branch from a652990 to 5d2715c Compare August 8, 2026 00:22
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