Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Primary/backup state replication#20734

Copy link
Copy link
@vicaya

Description

@vicaya
Issue body actions

Hello!

  • Vote on this issue by adding a 馃憤 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

We want to use Pulumi cloud as much as possible. But there are continuous internal/edge deployments that only have occasional internet connections. We want to make sure that internet outage will not block internal deployments. We want to sync the state back to Pulumi cloud when internet connection is back, so that people would primarily use the cloud interface knowing there might be delayed state updates.

Affected area/feature

It'd be great if pulumi can support primary/backup state backends such that pulumi operations go through the primary backend (e.g., cloud or local s3) and replicate the state to a backup backend. If the primary backend is not available, failover to the backup backend and deployments are not blocked. When the primary comes back, the state is sync'ed back to the primary.

It's possible to jerry rig something with export/import on our end, but it's hard to do clean/raceless switches between primary and backup without modifying pulumi.

If anybody has cleaner workarounds, we'd like to hear them as well. Thanks in advance!

vicaya

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/backendsState storage (filestate/httpstate/etc.)State storage (filestate/httpstate/etc.)area/stateState storage and backendsState storage and backendskind/enhancementImprovements or new featuresImprovements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.