Description
Is this feature request related to a new rule or cfn-lint capabilities?
rules
Describe the feature you'd like to request
Warn if a custom resource does not have a ServiceTimeout
property set.
Describe the solution you'd like
Add a rule to warn if either the AWS::CloudFormation::CustomResource
or Custom::*
resource types don't have theServiceTimeout
property set.
Additional context
Most users probably want to set the ServiceTimeout
property for custom resources to a value lower than the default 60 minutes. This improves the developer and user experience by failing fast if there's an issue with the custom resource. It is very painful waiting 60 minutes for the custom resource to time out if you forget to set this parameter.
You can make a custom rule, but it doesn't catch uses of Custom::<Something>
resource types
AWS::CloudFormation::CustomResource ServiceTimeout IS DEFINED WARN "Set a ServiceTimeout for the Custom resource"
Is this something that you'd be interested in working on?
- 👋 I may be able to implement this feature request
Would this feature include a breaking change?
-
⚠️ This feature might incur a breaking change