When calling:
aws rds create-db-instance-read-replica --db-instance-identifier pro-${IDENTIFIER}-mysql-ro --source-db-instance-identifier pro-${IDENTIFIER}-mysql --db-instance-class db.t2.medium --port 3306 --no-multi-az --option-group-name "default:mysql-5-5" --no-publicly-accessible --storage-type gp2 --monitoring-interval 60 --monitoring-role-arn "arn:aws:iam::${AWSID}:role/rds-monitoring-role" --no-enable-iam-database-authentication --source-region ${REGION}
Presents the following:
An error occurred (InvalidParameterCombination) when calling the CreateDBInstanceReadReplica operation: Your request does not require the preSignedUrl parameter. Please remove the preSignedUrl parameter and try your request again.
This issue is resolved by adding --pre-signed-url ""
to the end of the command, but it's quite clearly a bug.
Similar issue to https://github.com/aws/aws-sdk-php/issues/1415
That parameter is added when you provide --source-region
, all you need to do is not specify that parameter. I'll get the docs updated to be more clear on that point.
Thanks for the information, although I agree that adding that information to the documentation is a positive and means I won鈥檛 need to define the source region, I disagree that this is a solution.
Defining the source region feels like you鈥檙e just being more specific with your call, doing so surely shouldn鈥檛 break the procedure? Especially when there鈥檚 nothing logically wrong with the definition.
Most helpful comment
Thanks for the information, although I agree that adding that information to the documentation is a positive and means I won鈥檛 need to define the source region, I disagree that this is a solution.
Defining the source region feels like you鈥檙e just being more specific with your call, doing so surely shouldn鈥檛 break the procedure? Especially when there鈥檚 nothing logically wrong with the definition.