Skip to content

Migrate local AWS state to the remote backend; state diagnostics and recovery drill #271

Open

Description

@malon64

Part of #132.

Scope

  • Migration of an existing local AWS state: preflight, backup, verify, and
    documented rollback; refuse to proceed if both local and remote own state.
  • Machine-readable backend/state identity in diagnostics (bucket, key,
    version, lock status) without secrets.
  • Recovery drill documented and scripted through olf: restore a previous
    object version and confirm terraform plan is clean.
  • Post-destroy leftover check: after olf destroy on AWS, report resources
    Terraform does not own that keep billing (Kubernetes-created load
    balancers, EBS volumes from PVCs, Elastic IPs, NAT gateways).
  • Azure: document the equivalent adapter contract as follow-up only.

Acceptance

Runtime verification: agents have no AWS credentials. Ship the code plus a
short runbook section in the PR body (exact olf commands, expected evidence).
The maintainer verifies it on AWS in the batched session #275.
Depends on: #270.


One pull request. Read AGENTS.md first; all four gates must pass; stay under
~15 files / ~600 changed lines or split and say why. Docs/ADR changes land in
this PR if this PR makes them true. Do not widen scope — note adjacent problems
in the PR body.

Activity

  1. added
    enhancement
    roadmap
    priority: P0
    on Oct 1, 2026
  2. modified the milestones: v0.4-alpha — Secure Service Access, , , v0.9-beta — Cloud Beta (AWS, Scaleway, OVH) on Oct 1, 2026
  3. added
    track: cloud
    on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority: P0roadmaptrack: cloud

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions