Files
authentik/website/docs/install-config/install/aws/fix_template.py
2024-12-01 15:43:14 +00:00

12 lines
331 B
Python
Executable File

#!/usr/bin/env python3
import yaml
with open("template.yaml") as file:
template = yaml.safe_load(file)
del template["Conditions"]["CDKMetadataAvailable"]
del template["Parameters"]["BootstrapVersion"]
del template["Resources"]["CDKMetadata"]
with open("template.yaml", "w") as file:
yaml.dump(template, file)