[Bug]: RDS PITR support for a new instance passwords #35566
Labels
bug
Addresses a defect in current functionality.
service/rds
Issues and PRs that pertain to the rds service.
Milestone
Terraform Core Version
1.5.5
AWS Provider Version
5.34.0
Affected Resource(s)
aws_db_instance
Expected Behavior
When restoring an instance via var.point_in_time_recovery. I expect the new instance to respect the value defined in var.password.
Note: This behavior already exists for instance restores via var.snapshot_identifier.
Actual Behavior
Instances restored via var.point_in_time_recovery are only accessible when using the original password from the
source
database regardless of the value defined in var.password.Relevant Error/Panic Output Snippet
Terraform Configuration Files
Terraform configuration for creating a postgres instance - https://github.com/terraform-aws-modules/terraform-aws-rds/blob/master/examples/complete-postgres/main.tf
Steps to Reproduce
source
postgres database via terraform-aws-rds community moduleLatestRestorableTime
availablesource
database identifier and restore timestamp as input variablesvar.password
Debug Output
No response
Panic Output
No response
Important Factoids
aws_db_instance
indirectly via the community moduleReferences
Inspecting the source code of this repo validated the behavior I'm experiencing
The official docs listed here validate
Screenshots
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: