@@ -254,13 +254,13 @@ class SamFunction(SamResourceMacro):
254254 }
255255
256256 # Validation rules
257- __validation_rules__ = [
258- # TODO: To enable these rules, we need to update translator test input/output files to property configure template
259- # to avoid fail-fast. eg: test with DeploymentPreference without AutoPublishAlias would fail fast before reaching testing state
260- # (ValidationRule.MUTUALLY_EXCLUSIVE, ["ImageUri", "InlineCode", "CodeUri"]),
261- # (ValidationRule.CONDITIONAL_REQUIREMENT, ["DeploymentPreference", "AutoPublishAlias"]),
262- # (ValidationRule.CONDITIONAL_REQUIREMENT, ["ProvisionedConcurrencyConfig", "AutoPublishAlias"]),
263- ]
257+ # TODO: To enable these rules, we need to update translator test input/output files to property configure template
258+ # to avoid fail-fast. eg: test with DeploymentPreference without AutoPublishAlias would fail fast before reaching testing state
259+ # __validation_rules__ = [
260+ # (ValidationRule.MUTUALLY_EXCLUSIVE, ["ImageUri", "InlineCode", "CodeUri"]),
261+ # (ValidationRule.CONDITIONAL_REQUIREMENT, ["DeploymentPreference", "AutoPublishAlias"]),
262+ # (ValidationRule.CONDITIONAL_REQUIREMENT, ["ProvisionedConcurrencyConfig", "AutoPublishAlias"]),
263+ # ]
264264
265265 def resources_to_link (self , resources : Dict [str , Any ]) -> Dict [str , Any ]:
266266 try :
0 commit comments