Error when setting RDS Postgres read replica

247 views
Skip to first unread message

dev9....@98point6.com

unread,
Oct 23, 2017, 2:15:39 PM10/23/17
to Terraform
Hi all,

I have a "master" RDS instance which is multi-AZ with a backup retention period >  0 and encryption is enabled. I am trying to set up a read replica within the same region where my replicate_source_db points to the ARN of the "master". Simple enough, I thought. However, when I apply my plan, I get:

* aws_db_instance.rdspgssl-replica: Error creating DB Instance: InvalidParameterCombination: Your request does not require the preSignedUrl parameter. Please remove the preSignedUrl parameter and try your request again.

status code: 400


I read the AWS doc and if I understand correctly, this preSignedUrl is only required if I wanted to set up a cross-region replica with encryption. That isn't my scenario, and after a bit more scouring on the web, I'm still at a loss as to what's triggering the addition of this paramter when TF tries to create my replica. Anyone encountered this before who can kindly offer some assistance?


Thanks,

-Terry

dev9....@98point6.com

unread,
Oct 23, 2017, 4:37:39 PM10/23/17
to Terraform
Figured it out if anyone else encounters the issue in the future. I had:

aws_db_instance.kms_key_id

set in my replica definition to the same variable KMS key value in my master. Once I removed that line from the replica, TF sent the correct API request.
Reply all
Reply to author
Forward
0 new messages