Python and Cloudformation
Budget: ₹600 – ₹1,500 INR
Develop an independent Cloudformation template which takes State/Province as a parameter and exports the unix time for the given State/province in Europe in the stack. Present your findings and challenges once assignment is done.
Guidance : → Make use of Python and AWS Cloudformation(YAML Syntax) → Unix Time for London can be found by using the world api. Below is an example of open available API which we can use to get the unix time for London
Sample Curl: curl “http://worldtimeapi.org/api/timezone/Europe/London.txt"
Sample Output: abbreviation: GMT datetime: 2019-03-08T09:01:01.258877+00:00 day_of_week: 5 day_of_year: 67 dst: false dst_from: dst_until: timezone: Europe/London unixtime: 1552035661 utc_offset: +00:00
→ The Unix time can be parsed from the Sample output for a given province/state → There is no Standard Cloudformation resource for finding unix time, hence the developer needs to make use of cloudformation custom resources to achieve the goal.
Guidance : → Make use of Python and AWS Cloudformation(YAML Syntax) → Unix Time for London can be found by using the world api. Below is an example of open available API which we can use to get the unix time for London
Sample Curl: curl “http://worldtimeapi.org/api/timezone/Europe/London.txt"
Sample Output: abbreviation: GMT datetime: 2019-03-08T09:01:01.258877+00:00 day_of_week: 5 day_of_year: 67 dst: false dst_from: dst_until: timezone: Europe/London unixtime: 1552035661 utc_offset: +00:00
→ The Unix time can be parsed from the Sample output for a given province/state → There is no Standard Cloudformation resource for finding unix time, hence the developer needs to make use of cloudformation custom resources to achieve the goal.