Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/scripts/generate_sam_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import json
from pathlib import Path

import yaml
import json


def load_catalog():
Expand Down Expand Up @@ -97,7 +97,7 @@ def generate_sam_template():

template_path = Path(__file__).parent.parent / "template.yaml"
with open(template_path, "w") as f:
yaml.dump(template, f, default_flow_style=False, sort_keys=False)
json.dump(template, f, sort_keys=False, indent=2)

print(f"Generated SAM template at {template_path}")

Expand Down
Loading
Loading