Add iac/ folder validation for JSON patches and linked base templates - #1227
Draft
bhapas wants to merge 2 commits into
Draft
Add iac/ folder validation for JSON patches and linked base templates#1227bhapas wants to merge 2 commits into
bhapas wants to merge 2 commits into
Conversation
Packages can ship RFC 6902 JSON patches and linked base templates without introducing a blueprint package type, using versioned ids such as aws/federated-identity/account/v1. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
💔 Build Failed
Failed CI StepsHistory |
This was referenced Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds an optional
iac/folder to integration and input packages, andiac_blueprintsmanifest fields so packages can declare RFC 6902 JSON Patch contributions against a versioned blueprint id.This does not introduce a new
type: blueprintpackage. Canonical blueprints live in the integrations repo root. Integration and input packages ship:*.patches.json) iniac/*.cloudformation.json/*.arm.json), withallowLink: trueso elastic-package.linkfiles can point at a shared templateBlueprint ids are versioned:
<provider>/<trust-model>/<scope>/v<n>(for exampleaws/federated-identity/account/v1).Why is it important?
Packages need a spec-backed way to contribute IaC patches on top of shared base templates without a separate blueprint package type. Validating patch documents and linked templates in package-spec keeps invalid ops, missing required fields, unknown
iac/files, and unversioned blueprint ids from landing in packages.Checklist
test/packagesthat prove my change is effective.spec/changelog.yml.Related issues
spec/blueprint/package type, which this work moves away from)