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-resolverVerified import paths — ran on the pinned version, not inferred.
Instantiate the FileContent resolver and use it to read a file's content.
Ensure the file exists and is readable before calling the resolver. Use custom error handling in a wrapper if needed.
Do not rely on environment variable resolution in the file path. Provide absolute or relative paths that are fully resolved at Sceptre runtime.