Comprehensive JSON Schemas for validating AWS Copilot manifest files (manifest.yml
). These schemas provide strict validation for all Copilot manifest types according to the official AWS documentation.
Live URL: https://sootyowl.github.io/aws-copilot-schemas/
Add this to your VS Code settings.json
:
{
"yaml.schemas": {
"https://sootyowl.github.io/aws-copilot-schemas/copilot-schema.json": [
"**/copilot/**/manifest.yml",
]
}
}
Add this to the top of your YAML manifest files:
# yaml-language-server: $schema=https://sootyowl.github.io/aws-copilot-schemas/copilot-schema.json
- ✅ Complete validation for all AWS Copilot manifest types
- ✅ Auto-detection of manifest type (no manual specification needed)
- ✅ Strict adherence to AWS Copilot documentation
- ✅ Comprehensive error reporting
- ✅ VS Code IntelliSense and validation support
- ✅ SchemaStore compatible with proper documentation URLs
- ✅ All manifest types supported:
- Backend Service
- Load Balanced Web Service
- Request-Driven Web Service
- Worker Service
- Environment
- Scheduled Job
- Static Site
- Pipeline
copilot-schema.json
- Universal schema (recommended)backend-service.json
- Backend Service manifestslb-web-service.json
- Load Balanced Web Service manifestsrd-web-service.json
- Request-Driven Web Service manifestsworker-service.json
- Worker Service manifestsenvironment.json
- Environment manifestsscheduled-job.json
- Scheduled Job manifestsstatic-site.json
- Static Site manifestspipeline.json
- Pipeline manifestscommon-definitions.json
- Shared definitions
npm test # Validate using individual schemas
npm run validate # Validate using top-level schema