RDS Automated Cross Region Backup functionality not available through terraform.
I am not able to find any argument under resource “aws_db_instance” under terraform which relates to RDS “cross-Region automated backups”.
Can someone please help me get terraform code to enable “RDS cross-Region automated backups”?
Looks like it’s not enabled, per resource/aws_db_instance: Should support enabling cross-region automated backups · Issue #16708 · hashicorp/terraform-provider-aws · GitHub
Alternative to that, you could use AWS Backup to create a Vault (and a Backup inside it), then copy that to another region. I can’t easily find a way to do the copy, but creating AWS Backup Plans is straightforward (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/backup_plan). You then use the aws_backup_selection
to choose your RDS instance (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/backup_selection).