Skip to content

Fix/amplify schema#5469

Merged
madskristensen merged 2 commits intoSchemaStore:masterfrom
Ktsierra:fix/amplify-schema
Mar 19, 2026
Merged

Fix/amplify schema#5469
madskristensen merged 2 commits intoSchemaStore:masterfrom
Ktsierra:fix/amplify-schema

Conversation

@Ktsierra
Copy link
Copy Markdown
Contributor

Rewrites the amplify.yml schema to match the full AWS Amplify build specification

Copilot AI review requested due to automatic review settings March 16, 2026 11:36
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Rewrites the amplify.yml schema to fully cover the AWS Amplify build specification, including monorepo support, test phases, custom headers, runtime versions, and environment variables. The schema is refactored to use shared $ref definitions for reuse.

Changes:

  • Refactored the Amplify schema with shared definitions (phase, buildPhases, testPhases, frontendArtifacts, etc.) and added support for applications, customHeaders, appRoot, and env at the top level.
  • Updated the test file to cover the flat (non-monorepo) build spec format with backend, frontend, test, and env sections.
  • Added a second inline example in the schema demonstrating the monorepo applications array format.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/schemas/json/amplify.json Full rewrite of schema with shared definitions, monorepo support, custom headers, and improved descriptions
src/test/amplify/amplify.yml Replaced monorepo-style test with a flat build spec covering backend, frontend, test, and env

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines 1 to 2
# yaml-language-server: $schema=../../schemas/json/amplify.json
version: 1
@madskristensen madskristensen merged commit 6b32be7 into SchemaStore:master Mar 19, 2026
9 of 10 checks passed
@madskristensen
Copy link
Copy Markdown
Contributor

Thanks

@Ktsierra Ktsierra deleted the fix/amplify-schema branch March 19, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants