Skip to content

Instantly share code, notes, and snippets.

View EronWright's full-sized avatar

Eron Wright EronWright

View GitHub Profile
@EronWright
EronWright / application.yaml
Created December 12, 2024 17:17
Argo CD with Pulumi Kubernetes Operator
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kubernetes-py-guestbook
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io/background
spec:
project: default
destination:
@EronWright
EronWright / _example.go
Last active July 17, 2025 19:19
Restate.dev "Work Queue" service
package workqueue
import (
restate "github.com/restatedev/sdk-go"
)
// WorkQueueExample is an example workflow that demonstrates how to use the FixedWorkQueue as a blocking queue.
// The workflow enqueues an abstract "work item" to the queue, waits to be scheduled, does some work, and then
// notifies the queue. The "work" in this case is simply waiting for a callback to be invoked.
//
@EronWright
EronWright / pulumi-mcp-option2.md
Created October 27, 2025 20:36
Pulumi MCP Server - Option 2: Stateless with Eager Persistence (PatchUpdateCheckpoint)

Stateless MCP Server with Eager Persistence - Option 2

Using PatchUpdateCheckpoint for Immediate State Writes

Key Insight

PatchUpdateCheckpoint is what the HTTP backend uses today - it:

  • Takes a full UntypedDeployment (complete snapshot)
  • Writes it immediately to Pulumi Cloud
  • Is idempotent (can retry safely)
  • Requires an active UpdateIdentifier
@EronWright
EronWright / pulumi-provider-mcp-server-plan.md
Last active October 28, 2025 00:13
Pulumi Provider MCP Server - Implementation Plan

Pulumi Provider MCP Server - Implementation Plan

Overview

A standalone MCP server that provides direct access to Pulumi provider CRUD operations, bypassing the Pulumi engine. This enables ad-hoc infrastructure management by leveraging existing Pulumi providers through the Model Context Protocol.

Architecture

Session-Based Provider Registry with Explicit Configuration

@EronWright
EronWright / interactive-stacks-demo-plan.md
Last active October 31, 2025 14:41
1-Minute Interactive Stacks Demo Plan - Pulumi Intent MCP Server

1-Minute Interactive Stacks Demo Plan

Setup: Claude Code (VS Code) + Pulumi Cloud Console (side-by-side)

Pre-demo: Have browser at app.pulumi.com/[org] dashboard


Demo Script (70 seconds)

@EronWright
EronWright / .mise.toml
Created November 14, 2025 17:15
mise configuration for pulumi-azure-native
# mise configuration for pulumi-azure-native
# Auto-generated from Makefile and CI scripts
[tools]
# Core Languages (versions from .github/actions/install/action.yml)
go = "1.24.7" # From provider/go.mod
node = "20" # From CI: actions/setup-node@v4
python = "3.9" # From CI: actions/setup-python@v5
java = "temurin-11" # From CI: actions/setup-java@v4
dotnet = "8" # From CI: actions/setup-dotnet@v4
@EronWright
EronWright / lively-sprouting-goblet.md
Last active November 25, 2025 23:40
Plan: Create v2 Maintenance Branch for pulumi-azure-native

Plan: Create v2 Maintenance Branch for pulumi-azure-native

Overview

Create a v2 branch to enable patching v2.x releases while master continues with v3.x development. The last v2 release was v2.90.0 (commit 9ab68b7632627d5c5a7ad2d1d27dac99712fe429, March 27, 2025).

Key Principle: Minimize differences between v2 and v3 workflows. Both branches use azure-native's custom workflows (not ci-mgmt). A future ci-mgmt migration can be done for both branches together.

Workflow Strategy: Minimal Diff from Master