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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sceptre-date-resolver-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01adec29ab601e1193a94a6bd545e1b7f07d93e42e4aa1912768ca284580f4a8 |
|
MD5 | 37c20c5302c24613b4cef8d5e77df711 |
|
BLAKE2b-256 | 44ad0b882d4d4cb6c07ca79461830d278ef884be58459a23c8e72b3362a70b97 |
Close
Hashes for sceptre_date_resolver-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15590caf176edfe1c12aa46e95cd71ae0b1e6c9f4829f39f7e6c5019ba720862 |
|
MD5 | 7f21c3879bad424a8ce36941130abf6b |
|
BLAKE2b-256 | 74325e68d45b2ac7bcdc708119d2669ee4af57c939444399112b7595aeaaedb0 |