Have you checked out Amazon's DMS?
Been there :)
Is it EC2 Classic? Or is it EC2 Virtual Pvt Cloud (VPC)?
Given that slave02 is a standby, how do you plan on doing your regression testing? It will be just a read only database.
You can restore the wal_file by specifying resotre_command to copy from the archive generated by the master (rsync or scp to pull from your in-premise setup to EC2). This would be fairly simple if you are using VPC
If you really can not just live with archive generated on master itself, you need to try the options discussed up thread.
1. Copy the archives generated on master to a shared location or may be copy it to S3 bucket
2. Archive generated on master is rsync (schedule basis) to EC2
3. pg_receivexlog running on EC2 to copy WAL from slave01
Setting these parameters on slave02 will have not any effect.
--
--
Best Regards
Sameer Kumar | DB Solution Architect
ASHNIK PTE. LTD.