Skip to main content

A Sceptre resolver to retrieve the current datetime

Project description

Overview

The purpose of this resolver is to retrieve the current datetime

Install

pip install sceptre-date-resolver

Available Resolvers

date

Fetches the current datetime in an ISO 8601 format. The default format is "%Y-%m-%d %H:%M:%S".

Syntax:

parameter|sceptre_user_data:
    <name>: !date

Examples:

Retrieve date (using default format) and pass it to a cloudformation parameter:

parameters:
    now: !date

Retrieve the date (in MM/DD/YYYY format) and pass it to a cloudformation parameter:

parameters:
    now: !date "%m/%d/%Y"

Retrieve the time (in H:M:S format) and pass it to a cloudformation parameter:

parameters:
    now: !date "%H:%M:%S"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sceptre-date-resolver-1.0.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

sceptre_date_resolver-1.0.2-py2.py3-none-any.whl (2.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sceptre-date-resolver-1.0.2.tar.gz.

File metadata

  • Download URL: sceptre-date-resolver-1.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8

File hashes

Hashes for sceptre-date-resolver-1.0.2.tar.gz
Algorithm Hash digest
SHA256 01adec29ab601e1193a94a6bd545e1b7f07d93e42e4aa1912768ca284580f4a8
MD5 37c20c5302c24613b4cef8d5e77df711
BLAKE2b-256 44ad0b882d4d4cb6c07ca79461830d278ef884be58459a23c8e72b3362a70b97

See more details on using hashes here.

File details

Details for the file sceptre_date_resolver-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: sceptre_date_resolver-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8

File hashes

Hashes for sceptre_date_resolver-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 15590caf176edfe1c12aa46e95cd71ae0b1e6c9f4829f39f7e6c5019ba720862
MD5 7f21c3879bad424a8ce36941130abf6b
BLAKE2b-256 74325e68d45b2ac7bcdc708119d2669ee4af57c939444399112b7595aeaaedb0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page