
Statefile-less IaC framework for declarative cloud resource management using StackQL written in Rust
Repo stackql/stackql-deploy-rs, read from GitHub 1 d ago. stackql has not joined Take My Repo.
init templates from reqwest 0.11 (rustls 0.21, webpki-roots 0.25.4) to reqwest 0.12 (rustls 0.23, rustls-webpki 0.103.16, webpki-roots 1.0.10) in response to the compromise of eight eMudhra (emSign) intermediate CA private keys disclosed on 2026-10-17 (CVE-2026-111943). The certificate trust store is compiled into the binary and the client performs no revocation checking, so every earlier release accepted certificate chains through the compromised intermediates via the emSign ECC Root CA - G3 and AAA Certificate Services roots. Both roots are absent from the new bundle and rustls-webpki now rejects any chain containing the compromised intermediate public keys. The client stays on rustls with the ring provider on all six release targets and there is no change to CLI, manifest, or template behaviour. All previously published binaries carry the old trust store and should be replaced with this release.| Platform | Architecture | Asset |
|---|---|---|
| Linux | x86_64 | stackql-deploy-linux-x86_64.tar.gz |
| Linux | arm64 | stackql-deploy-linux-arm64.tar.gz |
| macOS | Universal (Apple Silicon + Intel) | stackql-deploy-macos-universal.tar.gz |
| Windows | x86_64 | stackql-deploy-windows-x86_64.zip |
| Windows | arm64 | stackql-deploy-windows-arm64.zip |
Each archive contains a single binary named stackql-deploy (or stackql-deploy.exe on Windows). Verify your download with SHA256SUMS.
Linux / macOS:
curl -L https://get-stackql-deploy.rs -o stackql-deploy.tar.gz && tar xz stackql-deploy.tar.gzWindows (PowerShell):
Invoke-WebRequest -Uri https://get-stackql-deploy.rs -OutFile stackql-deploy.zip Expand-Archive stackql-deploy.zip -DestinationPath .
cargo:
cargo install stackql-deploy
Full documentation: stackql-deploy.io - Source: github.com/stackql/stackql-deploy
stackql-deploy-windows-arm64.zip, target aarch64-pc-windows-msvc), built and smoke-tested on a windows-11-arm runner alongside the existing x86_64 build. Previously Windows-on-ARM users ran the x86_64 binary under emulation.stackql-deploy now downloads the native stackql_windows_arm64.zip StackQL binary when it is itself an ARM64 Windows build. Previously every Windows build fetched stackql_windows_amd64.zip regardless of CPU architecture.get-stackql-deploy.io PowerShell installer (irm https://get-stackql-deploy.io/install | iex) now detects the native Windows architecture and installs the ARM64 build on ARM64 devices, even when invoked from an x64 PowerShell running under emulation. Previously it always installed the x86_64 build.| Platform | Architecture | Asset |
|---|---|---|
| Linux | x86_64 | stackql-deploy-linux-x86_64.tar.gz |
| Linux | arm64 | stackql-deploy-linux-arm64.tar.gz |
| macOS | Universal (Apple Silicon + Intel) | stackql-deploy-macos-universal.tar.gz |
| Windows | x86_64 | stackql-deploy-windows-x86_64.zip |
| Windows | arm64 | stackql-deploy-windows-arm64.zip |
Each archive contains a single binary named stackql-deploy (or stackql-deploy.exe on Windows). Verify your download with SHA256SUMS.
Linux / macOS:
curl -L https://get-stackql-deploy.rs -o stackql-deploy.tar.gz && tar xz stackql-deploy.tar.gzWindows (PowerShell):
Invoke-WebRequest -Uri https://get-stackql-deploy.rs -OutFile stackql-deploy.zip Expand-Archive stackql-deploy.zip -DestinationPath .
cargo:
cargo install stackql-deploy
Full documentation: stackql-deploy.io - Source: github.com/stackql/stackql-deploy
teardown --on-failure ignore is now honoured. A delete statement the provider rejects is logged at warn level, the resource is reported as not confirmed deleted, and the teardown continues with the next resource; the default (error) still aborts at the first failure. Fatal errors (network, auth, planner) abort in both modes. Every teardown now ends with a summary of resources whose delete could not be confirmed. rollback is not meaningful for teardown and is treated as error.tests/live.rs, tests/live_stacks/) that runs the real binary against real providers using free resources only: AWS SSM Parameter Store parameters (Cloud Control and native API) and GitHub repository labels. It covers create with RETURNING *, return_vals, callback, statecheck, PatchDocument updates, createorupdate, query/command/script resources, conditions, file(), merge, per-environment values, protected masking, stack exports, test pass and fail, teardown with skip_on_delete, --on-failure, and idempotent re-runs. The tests are #[ignore]d for cargo test; ci-scripts/integration-test.sh runs them, and the new Integration Tests workflow runs them on pull requests to main as a merge gate (replacing the Test Demo placeholder workflow). See tests/README.md.skip_on_delete: true for resources (#56). A query resource with this flag is not executed during teardown and its declared exports are set to <unknown>; a resource or multi resource with this flag still has its exports collected (a downstream delete may need them) but its delete query is not executed, so the resource is retained. The flag has no effect on build or test.tests/) that drives the build and teardown flows against an in-process mock stackql server speaking the PostgreSQL wire protocol, with fixture stacks under tests/fixtures/. Tests assert on the exact statements sent and need no stackql binary, provider registry, network access, or cloud credentials. ci-scripts/test.sh now runs cargo test, and the CI workflow triggers on tests/** and ci-scripts/** changes. To support this, the crate now has a library target alongside the binary; it is not a public API.<unknown> export placeholder. When an upstream resource had already been deleted (for example by an earlier, partially successful teardown), its exports were set to <unknown> and then substituted into downstream exists, exports, delete, and inline sql queries. For a Databricks workspace this produced https://<unknown>.cloud.databricks.com/..., a fatal dial tcp ... no such host error, and an aborted teardown that could never complete. Such queries are now skipped with a log line naming the resource and anchor, and the dependent resource's exports are themselves marked <unknown> so the skip propagates consistently.exports query (fatal network and auth errors still abort). The resource's exports are marked <unknown> with a warning and the teardown continues; previously the error aborted the run.script resource. Export collection tried to load a .iql file for the script and exited when it was not found; script exports are now marked <unknown> (scripts are never executed on teardown).sql on query resources is rendered tolerantly during teardown: a missing template variable skips the query instead of exiting the process.test command now evaluates if conditions (it previously processed every resource regardless) and runs script resources the same way build does (it previously exited with unknown resource type: script).--dry-run teardown now renders and logs each delete statement. Previously the dry-run exists check reported every resource as not found, so the run only showed "skipping delete".<evaluated> and <unknown> export placeholders are no longer registered for log redaction when the export is protected. Previously a protected export in a dry run registered <evaluated> as a secret, which then masked every other placeholder in the run as ********.multi resources, and now --on-failure ignore) are logged at warn level instead of debug.callback:delete (or generic callback) anchor no longer aborts a --dry-run teardown, or a teardown whose delete returned no RETURNING * row. Callbacks poll the handle returned by RETURNING *, so they are now skipped with a log line when there is nothing to poll, matching build.postdelete_retries and postdelete_retry_delay options on the exists anchor are now honoured, as documented (defaults 10 and 5). They were parsed but never used: the post-delete check ran once immediately and once more after the delete anchor's retry_delay, which defaults to 0, so an asynchronous delete (Cloud Control, most SaaS APIs) could only be confirmed by luck of timing. After each delete attempt the exists query now polls until the resource is gone, up to postdelete_retries times, postdelete_retry_delay seconds apart; only then is the delete re-issued, up to the delete anchor's retries.callback:delete anchor now runs before the post-delete check rather than after it, so a provider's asynchronous delete is polled to completion before the resource is checked for absence.| Platform | Architecture | Asset |
|---|---|---|
| Linux | x86_64 | stackql-deploy-linux-x86_64.tar.gz |
| Linux | arm64 | stackql-deploy-linux-arm64.tar.gz |
| macOS | Universal (Apple Silicon + Intel) | stackql-deploy-macos-universal.tar.gz |
| Windows | x86_64 | stackql-deploy-windows-x86_64.zip |
Each archive contains a single binary named stackql-deploy (or stackql-deploy.exe on Windows). Verify your download with SHA256SUMS.
Linux / macOS:
curl -L https://get-stackql-deploy.rs -o stackql-deploy.tar.gz && tar xz stackql-deploy.tar.gzWindows (PowerShell):
Invoke-WebRequest -Uri https://get-stackql-deploy.rs -OutFile stackql-deploy.zip Expand-Archive stackql-deploy.zip -DestinationPath .
cargo:
cargo install stackql-deploy
Full documentation: stackql-deploy.io - Source: github.com/stackql/stackql-deploy
could not locate symbol ..., cannot find matching operation ..., syntax error at position ..., disparity in fields to insert ...) are now treated as fatal and abort the operation immediately. These errors are deterministic - the same query fails the same way on every attempt - but they were previously swallowed by the exists/statecheck retry loop and retried until the retry budget was exhausted.| Platform | Architecture | Asset |
|---|---|---|
| Linux | x86_64 | stackql-deploy-linux-x86_64.tar.gz |
| Linux | arm64 | stackql-deploy-linux-arm64.tar.gz |
| macOS | Universal (Apple Silicon + Intel) | stackql-deploy-macos-universal.tar.gz |
| Windows | x86_64 | stackql-deploy-windows-x86_64.zip |
Each archive contains a single binary named stackql-deploy (or stackql-deploy.exe on Windows). Verify your download with SHA256SUMS.
Linux / macOS:
curl -L https://get-stackql-deploy.rs -o stackql-deploy.tar.gz && tar xz stackql-deploy.tar.gzWindows (PowerShell):
Invoke-WebRequest -Uri https://get-stackql-deploy.rs -OutFile stackql-deploy.zip Expand-Archive stackql-deploy.zip -DestinationPath .
cargo:
cargo install stackql-deploy
Full documentation: stackql-deploy.io - Source: github.com/stackql/stackql-deploy
protected: true for global variables and resource properties. The rendered value of a protected global or prop is masked (********) in all log output - including rendered queries shown with --dry-run or --show-queries, DEBUG level logging, and RETURNING * response logging - while the real value is still sent to the provider. Log scrubbing is value-based and applied at the logger sink, so a protected value is masked wherever it surfaces.protected export values are now masked everywhere in log output, not just in the set variable export log lines. Previously a protected export interpolated into a downstream resource's query appeared in cleartext under --dry-run or --show-queries..stackql-deploy-exports file and --output-file JSON retain real values.| Platform | Architecture | Asset |
|---|---|---|
| Linux | x86_64 | stackql-deploy-linux-x86_64.tar.gz |
| Linux | arm64 | stackql-deploy-linux-arm64.tar.gz |
| macOS | Universal (Apple Silicon + Intel) | stackql-deploy-macos-universal.tar.gz |
| Windows | x86_64 | stackql-deploy-windows-x86_64.zip |
Each archive contains a single binary named stackql-deploy (or stackql-deploy.exe on Windows). Verify your download with SHA256SUMS.
Linux / macOS:
curl -L https://get-stackql-deploy.rs -o stackql-deploy.tar.gz && tar xz stackql-deploy.tar.gzWindows (PowerShell):
Invoke-WebRequest -Uri https://get-stackql-deploy.rs -OutFile stackql-deploy.zip Expand-Archive stackql-deploy.zip -DestinationPath .
cargo:
cargo install stackql-deploy
Full documentation: stackql-deploy.io - Source: github.com/stackql/stackql-deploy
which/where check inherited the terminal's stdout, so the resolved binary path was printed once per lookup (four times during info). The check now captures the child process output and only inspects the exit status.| Platform | Architecture | Asset |
|---|---|---|
| Linux | x86_64 | stackql-deploy-linux-x86_64.tar.gz |
| Linux | arm64 | stackql-deploy-linux-arm64.tar.gz |
| macOS | Universal (Apple Silicon + Intel) | stackql-deploy-macos-universal.tar.gz |
| Windows | x86_64 | stackql-deploy-windows-x86_64.zip |
Each archive contains a single binary named stackql-deploy (or stackql-deploy.exe on Windows). Verify your download with SHA256SUMS.
Linux / macOS:
curl -L https://get-stackql-deploy.rs -o stackql-deploy.tar.gz && tar xz stackql-deploy.tar.gzWindows (PowerShell):
Invoke-WebRequest -Uri https://get-stackql-deploy.rs -OutFile stackql-deploy.zip Expand-Archive stackql-deploy.zip -DestinationPath .
cargo:
cargo install stackql-deploy
Full documentation: stackql-deploy.io - Source: github.com/stackql/stackql-deploy