A Sceptre resolver to retrieve the current datetime
Project description
layout: docs title: Resolvers
Overview
The purpose of this resolver is to retrieve the current datetime
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d488ecfb66444bdfbfe3288f54e2d29a448a4a8473797f6dceb9f521ccc288 |
|
MD5 | dfeba7a25e808620c696781b965d4f3b |
|
BLAKE2b-256 | fb5ad04f20e6316ea14d4eb2ce91f1ecc92da1c83c9b7784dbb10564f13682bb |
Close
Hashes for sceptre_date_resolver-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f75e804f37f2a9f799e4add0f95b6e060c98f65f58a55cdf204987b1cc33735e |
|
MD5 | 44ddce8416e03cdbecd147d553439c88 |
|
BLAKE2b-256 | 3ad9561e8ef39615c8f3a908583be7aadc53a6b39d5470b674fcb0cabc7f4ac2 |