Make deploy idempotent

Summary:

Test Plan:

Reviewers:

CC:

Task ID: #

Blame Rev: