Help to Modify Cloud Formation Template in AWS

Job ID: 34012042

Budget: $30 – $250 USD

I have a Cloud Formation Template that builds 3 RDS (Oracle Standard) instances. RDS1DEV RDS2STG and RDS3PROD. I need to modify this template in a way that if oracle is enterprise, it won't create 3 RDS instances, it will only create 2 instances and what supposed to be the 2nd instance RDS2STG will point to instance 1 (RDS1DEV) through route 53.