Skip to content

Commit

Permalink
Update list of valid Synthetics::Canary runtime versions (#2276)
Browse files Browse the repository at this point in the history
  • Loading branch information
sir-sigurd authored Dec 13, 2024
1 parent df4d439 commit 137f33a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions troposphere/validators/synthetics.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,27 @@ def canary_runtime_version(runtime_version):
"""

valid_runtime_versions = [
"syn-nodejs-playwright-1.0",
"syn-nodejs-puppeteer-4.0",
"syn-nodejs-puppeteer-5.0",
"syn-nodejs-puppeteer-5.1",
"syn-nodejs-puppeteer-5.2",
"syn-nodejs-puppeteer-6.0",
"syn-nodejs-puppeteer-6.1",
"syn-nodejs-puppeteer-6.2",
"syn-nodejs-puppeteer-7.0",
"syn-nodejs-puppeteer-8.0",
"syn-nodejs-puppeteer-9.0",
"syn-nodejs-puppeteer-9.1",
"syn-python-selenium-1.0",
"syn-python-selenium-1.1",
"syn-python-selenium-1.2",
"syn-python-selenium-1.3",
"syn-python-selenium-2.0",
"syn-python-selenium-2.1",
"syn-python-selenium-3.0",
"syn-python-selenium-4.0",
"syn-python-selenium-4.1",
]
if runtime_version not in valid_runtime_versions:
raise ValueError(
Expand Down

0 comments on commit 137f33a

Please sign in to comment.