Request for Official YAML Schema Support in AWS Copilot CLI for Enhanced Developer Experience
A huge shoutout to the amazing developers behind AWS Copilot CLI! 🚀 Your work is making a positive impact, and we're grateful for the fantastic tool you've created. Kudos for enhancing the developer experience and simplifying AWS resource provisioning.
Problem
The AWS Copilot CLI currently requires users to manually write manifest files in YAML format. Unfortunately, no official schema is available, making it challenging for users to receive programmatic assistance and validation within editors like VSCode. If there is an existing schema, please let me know where I can find it.
Background
The lack of an official YAML schema hampers the development experience as users struggle to ensure the correct format of manifest files. This becomes particularly problematic when working with complex configurations and can lead to errors and inefficiencies in the deployment process.
Proposed Solutions
-
Create a Schema:
- Suggest creating an official YAML schema defining the format required by the AWS Copilot CLI.
- Host this schema on a designated web platform, providing a centralized and accessible resource for users.
- Alternatively, allow users to use the schema saved in the repository and configure their VSCode settings to associate the manifest file with the schema, enabling automatic validation and improving the overall editing experience.
Benefits
- Enhanced user experience: Clear and validated YAML schemas would streamline the manifest file creation process.
- Improved accuracy: Users can confidently author manifest files, knowing they conform to the CLI's expectations.
- Better integration with editors: VSCode and other editors can provide real-time assistance and validation based on the official schema.
Additional note:
I would like to setup vscode in a way like the following url, allowing it to help writing manifest yaml in correct way.
https://github.com/SchemaStore/schemastore/pull/3150/files
Hello @takaesu-junya.
A huge shoutout to the amazing developers behind AWS Copilot CLI! 🚀 Your work is making a positive impact, and we're grateful for the fantastic tool you've created. Kudos for enhancing the developer experience and simplifying AWS resource provisioning.
Wow thank you so much your appreciation! I'm really glad you love the tool!
Overall I think your proposal makes so much sense. We'll update here when we make more progress for this feature request.
Related to https://github.com/aws/copilot-cli/issues/1609