make enc and load balancer config work based on the stacks configuration rather than hard coding mgmt and prod