Registry / devops / sceptre-file-resolver

sceptre-file-resolver

JSON →
library1.0.6pypypi✓ verified 80d ago

Sceptre resolver to retrieve file content and inject it into CloudFormation templates. Version 1.0.6 is the latest stable release (last updated 2022). Low maintenance project.

pip install sceptre-file-resolver
INSTALL
IMPORT
SIG · SCEPTRE-FILE-RESOL
S
sceptre-file-resolver
devopspythonv1.0.6
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 v1.0.6 · 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.

FileContent
import resolver
from resolver import FileContent

Instantiate the FileContent resolver and use it to read a file's content.

from sceptre_file_resolver import FileContent as FileResolver # Example usage within Sceptre config # In config.yaml: # parameters: # my_param: !file_content path/to/file.txt # The resolver reads file content and returns it as a string. file_path = "/path/to/file.txt" resolver = FileResolver() content = resolver.resolve(file_path=file_path) print(content)
Debug
Known issues
gotchaThe resolver does not validate file paths or handle permissions errors gracefully. Non-existent files cause runtime exceptions.
fix
Ensure the file exists and is readable before calling the resolver. Use custom error handling in a wrapper if needed.
affects: all
gotchaThe resolver does not support Sceptre built-in environment variables. Use explicit file paths only.
fix
Do not rely on environment variable resolution in the file path. Provide absolute or relative paths that are fully resolved at Sceptre runtime.
affects: all
Upgrade
Version history
1.0.6latest on PyPI · released Mar 7, 2022
Audit
Dependencies
sceptrerequiredRuntime dependency; the resolver is a Sceptre plugin.
Agent activity
10 hits · last 30 days
node
8
Bingbot
1
OpenAI (training)
1
Resources
sceptre-file-resolver — pip install sceptre-file-resolver · libregistry