Skip to content

fix: CloudFormation scopes stacks by account and Region, CloudFront updates replace, Lambda layers - #1383

Merged
scttfrdmn merged 1 commit into
mainfrom
fix/v0122-cfn-cloudfront-lambda
Oct 4, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
fix/v0122-cfn-cloudfront-lambda

Conversation

@scttfrdmn

Copy link
Copy Markdown
Owner

#1366: stack, change-set and drift-detection keys carry //,
and the plugin's lookups read in the request's scope. A record stored before
the fix is read in its own scope and migrated on its first write. A replayed
event stream is unaffected.

#1271: UpdateDistribution replaces the configuration and refuses the three
omissions CloudFront refuses, in the observed order and wording. A
read-modify-write round-trips. Distributions carry an ETag that update and
delete require as If-Match, and delete requires a disabled distribution;
CloudFormation's stack delete disables first. The InProgress -> Deployed
window is split out as #1381.

#1272: the nine Lambda layer operations are routed. Another account sees
only what a version policy grants: ListLayerVersions is always
AccessDeniedException, and an ungranted or absent version is
AccessDeniedException rather than ResourceNotFoundException, both observed. A
seed makes another account's public layer reproducible. The operation catalog
goes from 1023 to 1032.

Fixes #1366
Fixes #1272

Compatibility

  • CloudFront UpdateDistribution and DeleteDistribution now require If-Match. An update replaces the configuration rather than merging, and refuses the observed omissions. Deleting an enabled distribution is refused. Replay: a recording made before this fix diverges at any recorded update or delete.
  • CloudFormation state keys are scoped. Older stored records are read in their own scope and migrated on write.
  • Lambda layer paths, which used to answer 404, are now routed (additive).

…pdates replace, Lambda layers

#1366: stack, change-set and drift-detection keys carry <account>/<region>/,
and the plugin's lookups read in the request's scope. A record stored before
the fix is read in its own scope and migrated on its first write. A replayed
event stream is unaffected.

#1271: UpdateDistribution replaces the configuration and refuses the three
omissions CloudFront refuses, in the observed order and wording. A
read-modify-write round-trips. Distributions carry an ETag that update and
delete require as If-Match, and delete requires a disabled distribution;
CloudFormation's stack delete disables first. The InProgress -> Deployed
window is split out as #1381.

#1272: the nine Lambda layer operations are routed. Another account sees
only what a version policy grants: ListLayerVersions is always
AccessDeniedException, and an ungranted or absent version is
AccessDeniedException rather than ResourceNotFoundException, both observed. A
seed makes another account's public layer reproducible. The operation catalog
goes from 1023 to 1032.

Fixes #1366
Fixes #1272
@codecov

codecov Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

@scttfrdmn
scttfrdmn merged commit 79a9684 into main Oct 4, 2026
18 checks passed
@scttfrdmn
scttfrdmn deleted the fix/v0122-cfn-cloudfront-lambda branch October 4, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant