Skip to content

Conversation

@simonrw
Copy link
Contributor

@simonrw simonrw commented Jul 15, 2025

Motivation

When creating a stack with transforms, the CAPABILITY_AUTO_EXPAND capability is required. This is not currently validated with the new engine

Changes

  • Validate auto expand capability on create and update stacks

@simonrw simonrw added the semver: patch Non-breaking changes which can be included in patch releases label Jul 15, 2025
@github-actions
Copy link

github-actions bot commented Jul 15, 2025

Test Results - Preflight, Unit

21 983 tests  +121   20 249 ✅ +44   6m 56s ⏱️ +45s
     1 suites ±  0    1 734 💤 +77 
     1 files   ±  0        0 ❌ ± 0 

Results for commit 542955c. ± Comparison against base commit 56b942c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jul 15, 2025

LocalStack Community integration with Pro

  2 files    2 suites   22m 21s ⏱️
896 tests 332 ✅ 564 💤 0 ❌
898 runs  332 ✅ 566 💤 0 ❌

Results for commit 542955c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jul 15, 2025

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 17s ⏱️ +9s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 542955c. ± Comparison against base commit 56b942c.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jul 15, 2025

Test Results (amd64) - Integration, Bootstrap

  5 files    5 suites   34m 41s ⏱️
920 tests 357 ✅ 563 💤 0 ❌
926 runs  357 ✅ 569 💤 0 ❌

Results for commit 542955c.

♻️ This comment has been updated with latest results.

@simonrw simonrw marked this pull request as ready for review July 15, 2025 13:16
Copy link
Member

@pinzon pinzon left a comment

Choose a reason for hiding this comment

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

LGTM in general but we need to make sure CAPABILITY_AUTO_EXPAND are only necessary for global transforms.


if (
"CAPABILITY_AUTO_EXPAND" not in request.get("Capabilities", [])
and "Transform" in structured_template.keys()
Copy link
Member

Choose a reason for hiding this comment

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

Question: we certain the capability is only meant for Global Transformation, or can it be a limiting factor when using Local Transformations and macros?

Copy link
Contributor Author

@simonrw simonrw Jul 23, 2025

Choose a reason for hiding this comment

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

It is also required for macros as well. This is the implementation in the old provider, so if we are not in parity there we are not in parity either, and have not been in parity for a long time!

@pinzon pinzon self-requested a review July 23, 2025 17:45
Copy link
Member

@pinzon pinzon left a comment

Choose a reason for hiding this comment

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

Thanks for addressing my question 👍

@simonrw simonrw merged commit 8d9c641 into main Jul 24, 2025
39 checks passed
@simonrw simonrw deleted the cfn/v2/auto-expand-capability branch July 24, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants