Skip to main content

sceptre-request-resolver

A Sceptre resolver to make requests from REST API endpoints.

Motivation

There are some pretty useful REST API endpoints on the internet. The endpoints can return lots of different types of data, typically in JSON format. This simple resolver can retrieve that data and pass it to Sceptre parameters or scepter_user_data parameters.

Installation

To install directly from PyPI

pip install sceptre-request-resolver

To install from this git repo

pip install git+https://github.com/Sceptre/sceptre-request-resolver.git

Usage/Examples

parameters|sceptre_user_data:
  <name>: !request <API ENDPOINT>
parameters|sceptre_user_data:
  <name>: !request
    url: <API ENDPOINT>
    auth: <authentication type>
    user: <auth user name>
    password: <auth password>

Note:

  • This resolver always returns a string.
  • Supported authentication types: basic

Example

Simple request:

parameters:
  wisdom: !request 'https://ron-swanson-quotes.herokuapp.com/v2/quotes'

Request with basic authentication:

parameters:
  wisdom: !request
    url: https://private.endpoint.com/
    auth: basic
    user: MyUsername
    password: MyUserPwd

Metadata

Release files for sceptre-request-resolver 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sceptre-request-resolver 0.4.0
File Size Uploaded Provenance
sceptre_request_resolver-0.4.0.tar.gz 2.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sceptre-request-resolver 0.4.0
File Interpreter ABI Platform
sceptre_request_resolver-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / sceptre_request_resolver-0.4.0.tar.gz

Download URL sceptre_request_resolver-0.4.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c66f735b17016637636fc8eda8100f4752f55672ab87c38d2b4d46c56e677763
BLAKE2b-256 checksum
How to use checksums
da68f4a55691fd78554ed2b3c48bce0756fd45986289e421e05d32c9c98d3457
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.11.1 Linux/5.15.0-1030-aws

Release files / sceptre_request_resolver-0.4.0-py3-none-any.whl

Download URL sceptre_request_resolver-0.4.0-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0f3d993e490729457b6889d8808111e8a73ac1dd6da9507a0f962961ecd6a2c
BLAKE2b-256 checksum
How to use checksums
5762f877e22c43846574daf42454b135694d0ac6d780b309e1a1ad31f3604947
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.11.1 Linux/5.15.0-1030-aws

Security for sceptre-request-resolver 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page