A codicil is valid as long as it’s been properly signed and witnessed, attached to your will, and has not been revoked by the testator or invalidated by another document.