try to make this idempotent so it can be called over and over again from opsworks deploy event