The purpose of this resolver is to retrieve the current datetime
pip install sceptre-date-resolver
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"