Skip to content

Add versioned root IaC blueprints and per-package iac patches/links - #20728

Draft
bhapas wants to merge 2 commits into
elastic:mainfrom
bhapas:iac-root-blueprints
Draft

Add versioned root IaC blueprints and per-package iac patches/links#20728
bhapas wants to merge 2 commits into
elastic:mainfrom
bhapas:iac-root-blueprints

Conversation

@bhapas

@bhapas bhapas commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Host the canonical federated-identity CloudFormation template at the repo root instead of shipping a elastic_iac_blueprints registry package.

  • Canonical template: blueprints/aws/federated-identity/account/v1/account.cloudformation.json
  • packages/{aws,cloud_asset_inventory,cloud_security_posture}/iac/ ships RFC 6902 JSON patches plus account.cloudformation.json.link (relative path + sha256 of the versioned root template)
  • Manifest iac_blueprints ids use aws/federated-identity/account/v1
  • Package versions: aws 7.2.0, cloud_asset_inventory 1.8.0, cloud_security_posture 3.6.0
  • format_version bumped to 3.7.0 on these three packages (depends on the companion package-spec PR that adds iac/ + iac_blueprints in 3.7.0)

Does not add packages/elastic_iac_blueprints/.

Related

Test plan

  • Confirm blueprints/aws/federated-identity/account/v1/account.cloudformation.json is valid CloudFormation JSON
  • Confirm all three .link files share the same relative path and sha256
  • Confirm shasum -a 256 of the root template matches the checksum in the .link files
  • Confirm no packages/elastic_iac_blueprints/ package is present
  • Review iac_blueprints ids are aws/federated-identity/account/v1 (not the unversioned id)
  • After package-spec 3.7.0 lands, run elastic-package check for aws, cloud_asset_inventory, and cloud_security_posture
  • After package-registry expose-iac/ lands, confirm iac/ (patches + materialized template) is present in the built/pulled package zip

…stead of a blueprint-type registry package.

Canonical CloudFormation lives at blueprints/aws/federated-identity/account/v1/; aws, cloud_asset_inventory, and cloud_security_posture ship RFC 6902 patches plus a checksummed link.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

Co-authored-by: Cursor <cursoragent@cursor.com>
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

✅ All changelog entries have the correct PR link.

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.

1 participant