Skip to content

ANTHROPIC_API_KEY is empty in er/prod/app/erweb #907

Not planned

Description

@athvin

From #894 (PR #895). infra/terraform/envs/prod/secrets.tf writes ANTHROPIC_API_KEY = "" into er/prod/app/erweb, and the entry carries lifecycle { ignore_changes = [secret_string] }, so Terraform will never fill it and never overwrite a value put there by hand.

Empty is the deliberate default — a model key is not Terraform's to mint, and the schema-AI features degrade rather than crash without one — so this is not blocking the prod bring-up. It is tracked because an empty key is indistinguishable from a forgotten one once the environment is live.

Doing it

Not an apply. ignore_changes means a Terraform change would be ignored anyway:

# read-modify-write, so the other three keys survive
aws secretsmanager get-secret-value --secret-id er/prod/app/erweb \
  --region us-east-2 --query SecretString --output text \
  | jq --arg k "<the-key>" '.ANTHROPIC_API_KEY = $k' \
  | aws secretsmanager put-secret-value --secret-id er/prod/app/erweb \
      --region us-east-2 --secret-string file:///dev/stdin

Do not put-secret-value with only this key, which would drop ERWEB_CREDENTIAL_KEY — the value that unseals erweb.org_credentials, and the reason that entry has a 30-day recovery window.

Acceptance

  • the key is set, and the other three keys are still present (jq keys on the entry)
  • a reloader-driven restart picked it up, or the pod was restarted deliberately — envFrom never updates a running process (§9.1)

Activity

  1. added
    followup
    on Nov 8, 2026
  2. added
    needs-review
    pruned
    and removed
    needs-review
    on Nov 27, 2026
  3. athvin commented on Nov 27, 2026

    @athvin
    OwnerAuthor

    Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled pruned and can be reopened later.

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

    followuppruned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions