Registry / devops / sceptre-cmd-resolver

sceptre-cmd-resolver

JSON →
library2.0.0pypypiunverified

A Sceptre resolver for executing generic shell commands during stack resolution. This package allows Sceptre to dynamically resolve stack parameters by running arbitrary commands. The current version is 2.0.0, with irregular releases.

pip install sceptre-cmd-resolver
INSTALL
IMPORT
SIG · SCEPTRE-CMD-RESOLV
S
sceptre-cmd-resolver
devopspythonv2.0.0
Install
6.7s avg
Import
Disk
78MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 73.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 6.7s · import 0.000s · 75MB
78MB installed
● package 78MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CmdResolver
from resolver import CmdResolver
from resolver import CmdResolver

Basic usage of CmdResolver.

from sceptre.cmd_resolver import CmdResolver # Example usage in a Sceptre config # resolver: !cmd echo hello # This would resolve to "hello" # The resolver can be instantiated directly for testing: resolver = CmdResolver(command='echo hello') result = resolver.resolve() print(result) # Output: hello
Debug
Known issues
deprecatedVersion 2.x may not be compatible with older versions of Sceptre. Ensure Sceptre >= 2.0.0 is installed.
fix
Upgrade Sceptre to at least 2.0.0.
affects: 2.0.0
gotchaThe resolver executes arbitrary shell commands. Ensure commands are sanitized to avoid command injection.
fix
Do not use user-provided input directly in the command.
affects: all
gotchaThe resolver does not automatically capture stderr; only stdout is returned.
fix
Redirect stderr to stdout in the command (e.g., 2>&1).
affects: all
Upgrade
Version history
2.0.0latest on PyPI · released Feb 13, 2023
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Amazon
1
Resources
sceptre-cmd-resolver — pip install sceptre-cmd-resolver · libregistry