I have two AWS accounts. The master account with example.com
as a Hosted Zone, this then has a number of record sets (i.e. api.example.com and kibana.example.com).
A second account will be managing testing.example.com
as a Hosted Zone, with the same set of record sets (i.e. api.testing.example.com and kibana.testing.example.com).
How to I tell the master account to refer requests for .testing.example.com
down to the child account.
I don't want to change the master account as I want to use the same Cloud Formation templates in both 'Live' and 'Test'.
I've set the two up as above and it does not work (api.testing.example.com
does not resolve). I've also tried setting the testing.example.com ns record in the master account to the one specified in the child account(1). Alas this is not something I've done before and Google searches are not returning anything.
1) I messed this up, and this is the answer. See below.