Waiting for deployment to be in Building status before setting configuration to avoid race condition on settings