Skip to content

Instantly share code, notes, and snippets.

View matef's full-sized avatar

Mahmoud Abdelsamie matef

View GitHub Profile
@matef
matef / fix_template_url.py
Created September 23, 2020 13:05
Fix cdk template URL for nested stack.
import json
import os
import sys
## read file args [asset_file, root_template_file, s3_object_prefix]
asset_file = sys.argv[1]
template_file = sys.argv[2]
object_prefix = sys.argv[3]
hash_map = {}