{
  "slug": "pulumi-automation-api-adds-up-dfb6f6e27cc5",
  "title": "Pulumi Automation API adds `up`",
  "tools": [
    "pulumi"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-28T19:51:35.000Z",
  "announced_at": "2026-10-28T19:51:35.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When an Automation API program needs to update a stack, call the generated `up` operation on its stack object.",
    "examples": [
      "const result = await stack.up();",
      "result = stack.up()",
      "result, err := s.Up(ctx, stdoutStreamer)\nif err != nil {\n  // Handle update failure.\n}"
    ],
    "gotchas": [
      "Version: 3.273.0",
      "Non-interactive: Automation API failures surface as language-native exceptions; `up` returns a result object with a summary and stack outputs.",
      "Prerequisite: Pulumi CLI available on `PATH` or installed programmatically at runtime.",
      "Prerequisite: Runtime for the chosen language installed.",
      "Prerequisite: Pulumi access token or another configured state backend.",
      "The generated API addition applies to NodeJS, Python, and Go."
    ]
  },
  "why_it_matters": "Update a NodeJS, Python, or Go automation program to run a Pulumi stack update through the generated Automation API.",
  "sources": [
    "https://github.com/pulumi/pulumi/releases/tag/v3.273.0",
    "https://www.pulumi.com/docs/iac/guides/building-extending/automation-api/",
    "https://www.pulumi.com/docs/iac/guides/building-extending/automation-api-advanced/"
  ],
  "rank": 0.97028,
  "review_state": "approved",
  "provenance": {
    "run_id": "daily-20261028-20",
    "verdict_id": "daily-20261028-20:daily-20261028-20-f94aeaa67839968b-0:gate",
    "evidence_hash": "37dc78ff73e6a6fa14c39c9dd3bd66f56debc7af6fc3b4caba1f9b2e5344c071"
  }
}
