Six Stars

Remote Access CIDR - How to whitelist two I.P addresses

My office has two floors, each with it's own public I.P address. I have a AWS Security Group that I I add to all our of instances that whitelists the I.P addresses and the ports that we use. I tried adding this in the cloudformation script but got an error message that it wasn't allowed. Any thoughts on how I can whitelist both of our public I.Ps?

 

Thanks