stackql-deploy v2.0.6
Fixes
- Fixed eager rendering of
statecheckqueries that caused hard failures whenthis.*variables were not yet available (e.g. post-create exists re-run fails due to eventual consistency).statechecknow uses JIT rendering likeexports, deferring gracefully when template variables are unresolved. - When a deferred
statecheckcannot be rendered post-deploy, the build falls through toexports-as-proxy validation or accepts the create/update based on successful execution. - Applied the same fix to
teardown, wherestatecheckused as an exists fallback would crash on unresolved variables instead of skipping the resource. - Fixed
--dry-runfailures for resources that depend on exports from upstream resources.createandupdatequery rendering now defers gracefully in dry-run mode when upstream exports are unavailable, and placeholder (<evaluated>) values are injected for unresolved exports so downstream resources can still render. - When a post-create exists re-run fails to find a newly created resource (eventual consistency), the exists query is automatically retried using the
statecheckretry settings if available, giving async providers time to make the resource discoverable.
Features
- New optional
troubleshootIQL anchor for post-failure diagnostics. When abuildpost-deploy check fails or ateardowndelete cannot be confirmed, a user-defined diagnostic query is automatically rendered and executed, with results logged as pretty-printed JSON. Supports operation-specific variants (troubleshoot:create,troubleshoot:update,troubleshoot:delete) with fallback to a generictroubleshootanchor. Typically used withreturn_valsto capture an async operation handle (e.g.RequestToken) fromRETURNING *and query its status via{{ this.<field> }}. See resource query files documentation for details. - The
RETURNING *log message (storing RETURNING * result...) is now logged atdebuglevel instead ofinfo.
Download
| 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.
Install (quick)
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-deployFull documentation: stackql-deploy.io - Source: github.com/stackql/stackql-deploy