Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix valid canary runtime versions #2221

Merged
merged 1 commit into from
Feb 4, 2024
Merged
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
8 changes: 7 additions & 1 deletion troposphere/validators/synthetics.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@ def canary_runtime_version(runtime_version):
Property: Canary.RuntimeVersion
"""

valid_runtime_versions = ["syn-nodejs-2.0", "syn-nodejs-2.0-beta", "syn-1.0"]
valid_runtime_versions = [
"syn-nodejs-puppeteer-4.0",
"syn-nodejs-puppeteer-5.0",
"syn-nodejs-puppeteer-5.1",
"syn-nodejs-puppeteer-6.0",
"syn-nodejs-puppeteer-6.1",
]
if runtime_version not in valid_runtime_versions:
raise ValueError(
'RuntimeVersion must be one of: "%s"' % (", ".join(valid_runtime_versions))
Expand Down
Loading