sceptre-file-resolver
A Sceptre resolver to retrieve file content
What it is and what it does
This package extends Sceptre, a CloudFormation orchestration tool, with a file resolver that injects file contents directly into stack parameters. Unlike Sceptre's built-in file_contents resolver, which only handles plain text, this resolver automatically detects file type by extension and parses JSON and YAML files into structured objects, passing them to parameters as native types. It also supports fetching files from remote URLs via HTTP, making it useful for pulling configuration from S3 buckets or other web sources.
You use it by adding a YAML tag `!file` to parameter definitions in your Sceptre stack configs, pointing to either a local file path or a URL. The resolver handles the fetch and parse transparently, so your CloudFormation templates receive properly typed data without manual conversion steps.
Use it for:
- Load JSON configuration objects from S3 into CloudFormation stack parameters without manual parsing.
- Inject YAML-formatted tag lists or metadata into stack parameters from a shared repository file.
- Fetch remote policy documents or template snippets from a URL and pass them as strings to parameters.
- Parameterize CloudFormation stacks with structured data from local files during deployment.
- Centralize configuration management by referencing external JSON/YAML files in Sceptre stack definitions.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Sceptre resolver plugin that retrieves file contents from local paths or URLs and parses them as strings, JSON, or YAML objects based on file extension.
Yes, if you use Sceptre and need to inject structured file contents (JSON, YAML) or remote files into CloudFormation parameters. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe addition. Not relevant if you only use plain-text file injection or do not use Sceptre.
Install
sceptre-file-resolver on PyPI
pip
pip install sceptre-file-resolveruv
uv add sceptre-file-resolverpoetry
poetry add sceptre-file-resolverInstalling sceptre-file-resolver
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained as of 2026-08-10 with no known vulnerabilities. Depends on requests and sceptre, both widely used packages.
License in practice
Licensed under Apache2 (permissive), allowing use in commercial and private projects with minimal restrictions.
Quickstart
pip install sceptre-file-resolver
# In a Sceptre config YAML:
parameters:
config_data: !file path/to/config.json
tags: !file https://example.com/tags.yaml
Requires sceptre to be installed and configured; the resolver is registered as a Sceptre plugin and only works within Sceptre stack configurations.
Verify before relying
- Whether remote file fetching supports authentication (API keys, headers, or credentials).
- Error handling behavior when files are missing, malformed, or network requests fail.
- Support for Python versions beyond 3.6 and 3.7 (classifiers list only those two).
Package facts
| License | Apache2 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — requests, sceptre |
| Maintenance | actively maintained — 1,621 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 115,083/month — #12,270 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sceptre_file_resolver-1.0.6-py2.py3-none-any.whl
Keywords: sceptre, sceptre-resolver
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
sceptre-cmd-resolverA Sceptre resolver plugin that executes shell…
permissive · top 15,000 on PyPI
sceptreSceptre automates AWS CloudFormation stack…
permissive · top 15,000 on PyPI
yqyq is a command-line processor that applies jq…
permissive · top 5,000 on PyPI
resolvelibResolveLib provides a generic dependency…
permissive · top 1,000 on PyPI
referencingResolves JSON references according to JSON…
permissive · top 100 on PyPI
prancePrance parses and validates Swagger/OpenAPI 2.0…
unclear · top 5,000 on PyPI
pyyaml-includeExtends PyYAML to include other YAML files into…
copyleft · top 5,000 on PyPI
nab-resolverA generic PubGrub-style dependency resolver…
permissive · top 15,000 on PyPI
aiohttp-asyncmdnsresolverProvides an async resolver for aiohttp that…
permissive · top 15,000 on PyPI
flux-localflux-local provides CLI tools and a Python…
permissive · top 15,000 on PyPI