We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01c827f commit 304fd6cCopy full SHA for 304fd6c
util/upload-cfn-templates.py
@@ -35,7 +35,7 @@ def get_template_extension(templates_dir, template_name):
35
extension = file_name.split(".cfn.")[-1]
36
if extension not in {"json", "yaml"}:
37
raise Exception("Found invalid extension for template {}: {}".format(template_name, extension))
38
- return extension
+ return ".cfn." + extension
39
40
41
def put_object_to_s3(s3_client, bucket, key, region, data, template_name):
0 commit comments