@@ -254,13 +254,13 @@ class SamFunction(SamResourceMacro):
254
254
}
255
255
256
256
# 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
+ # ]
264
264
265
265
def resources_to_link (self , resources : Dict [str , Any ]) -> Dict [str , Any ]:
266
266
try :
0 commit comments