Skip to content

Commit

Permalink
#2038 Add support for additional Flink runtime environments (#2037)
Browse files Browse the repository at this point in the history
* Add support for additional Flink runtime environments
  • Loading branch information
john-tipper authored Apr 7, 2022
1 parent aa71caf commit 62e12ce
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion troposphere/validators/kinesisanalyticsv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@ def validate_runtime_environment(runtime_environment):
Property: Application.RuntimeEnvironment
"""

VALID_RUNTIME_ENVIRONMENTS = ("SQL-1_0", "FLINK-1_6", "FLINK-1_8", "FLINK-1_11")
VALID_RUNTIME_ENVIRONMENTS = (
"FLINK-1_6",
"FLINK-1_8",
"FLINK-1_11",
"FLINK-1_13",
"SQL-1_0",
"ZEPPELIN-FLINK-1_0",
"ZEPPELIN-FLINK-2_0",
)

if runtime_environment not in VALID_RUNTIME_ENVIRONMENTS:
raise ValueError(
Expand Down

0 comments on commit 62e12ce

Please sign in to comment.