Skip to content

Commit

Permalink
Fix valid canary runtime versions
Browse files Browse the repository at this point in the history
  • Loading branch information
theofilospan committed Feb 2, 2024
1 parent a7a6c8a commit 20a441e
Showing 1 changed file with 7 additions and 1 deletion.
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

0 comments on commit 20a441e

Please sign in to comment.