Install the Python SDK and provider
Use a Linux host with pidfd support and access to the launching process’s socket descriptors in /proc, Python 3.11 or later, and Pulumi CLI 3.185.0 or 3.186.0. Run the CLI and plugin together so each local request can be verified. Set SIGNALCRANE_API_URL to your control plane origin to download the archive. Use the same origin for SIGNALCRANE_URL. Supply SIGNALCRANE_TOKEN from your environment’s secret store with config:read for reads and config:write for previews and changes.
curl --fail -O "$SIGNALCRANE_API_URL/downloads/signalcrane-pulumi-1.0.0.tar.gz"
tar -xzf signalcrane-pulumi-1.0.0.tar.gz
cd pulumi
python3 -m venv .venv
. .venv/bin/activate
./install.sh
export SIGNALCRANE_URL="$SIGNALCRANE_API_URL"Create a stack
Sign in to your chosen Pulumi backend. From the extracted package, open the example project and initialize a new stack. Run the UUID command once for this stack. Keep its ownership namespace in stack configuration across checkouts, retries and upgrades. Each independent stack needs its own UUID, even when two stacks use the same project and stack names.
cd example
pulumi stack init dev
pulumi config set signalcrane:ownershipNamespace "$(python -c 'import uuid; print(uuid.uuid4())')"Create a new group
For a fresh environment, review the proposed group and approve it to see its native ID. If an existing group should belong to this stack, follow the import instructions below before running a preview.
pulumi preview --refresh --diff
pulumi up
pulumi stack output groupIdImport an existing group
Match the existing group’s fields in __main__.py and add opts=pulumi.ResourceOptions(protect=True) to its sc.Group declaration to retain Pulumi’s import protection. Import the group before its first preview. Set GROUP_ID to its native UUID. Read-only import preserves its ID and ownership. Explicitly adopt a UI-owned group with the API before its first Git update.
pulumi import signalcrane:index:Group service "$GROUP_ID"
pulumi refresh --preview-only --diff
pulumi preview --refresh --diffUpgrade an existing stack
Select the existing stack and save a protected checkpoint. If it has no ownership namespace, set one once using the UUID command above. Preserve an existing namespace. If the previous provider stopped during a create, reconcile the native ID and import the existing resource before retrying. Refresh the stack and inspect the preview for an empty plan before resuming updates. Each imported resource keeps its native UUID.
pulumi stack export --file before-upgrade.json
pulumi refresh
pulumi preview --expect-no-changesRecover a previous version
Restore the prior compatible provider, SDK and declaration and inspect their live preview. Keep the protected checkpoint and the stack configuration file containing its namespace together. If reverting a remote configuration change, review and apply the prior declaration.