-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set source-region from the source DB ARN, not the replica ARN
Use the AWS ARN object, instead of string manipulation Add acceptance test for source_region on replicas. Add test for same-region replicas, verify that source_region is not set. Get the replica's region from aws client instead. Possible fix for terraform-provider-aws/issues/2399 Don't overwrite the 'arn' object with a local string variable. TODO: Readd tests post-rebase. This is an old PR and the test structure has changed signficantly since original submission.
- Loading branch information
1 parent
9dcbc8e
commit 8b4be35
Showing
1 changed file
with
49 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters