Translation: Amazon suffered almost 100% knowledge loss on the systems your team were the exclusive owners of. The cost of this kind of thing is staggering and yet I've seen companies discount it again and again, over decades. It's insane.
And as to your current gig: run. You'll never be able to grow a decent team with an idiot in charge, and you've got an idiot in charge. Get out, if you can. Nothing but good teams build good products, and if you can't hire a good team because you've got an idiot with a veto you'll be stuck building mediocre (at best) products.
It's a pity there is no actual demand for quality software developers. If there was, this kind of nonsense would be abraded away by market forces with incredible speed. The fact that it persists demonstrates that hardly anyone really cares whether they get good developers or not.