pub async fn sync_vault_pull_for_instance<R: CommandRunner>(
stripe: &StripeProjects<R>,
instance: &str,
) -> Result<(), ProjectsError>Expand description
Select the target instance environment, then refresh its vault files.
An environment that exists but has no resources/variables yet
(PROJECT_ENVIRONMENT_HAS_NO_RESOURCES) is a soft success: first up /
post-down re-up must not fail before integrations can re-provision.
Clears a stale .env.<instance> so prior credentials cannot leak.
Post-provision pulls via [refresh_vault] stay strict.