Ensure configuration files maintain both consistency and currency across all services. Configuration values should follow established patterns within the codebase and use up-to-date versions for runtimes and dependencies.
Ensure configuration files maintain both consistency and currency across all services. Configuration values should follow established patterns within the codebase and use up-to-date versions for runtimes and dependencies.
Key practices:
configValidationMode: error
)Example from serverless.yml:
service: my-service
configValidationMode: error # Consistent validation across services
provider:
name: aws
runtime: nodejs16.x # Use current runtime versions, not nodejs12.x
This ensures reliable deployments and reduces configuration drift between services while maintaining security and compatibility with current platform features.
Enter the URL of a public GitHub repository