What's Changed
[1.5.42] — 2026-11-18
Added
- CloudFormation —
AWS::ECR::PullThroughCacheRule,AWS::ECR::RepositoryCreationTemplateandAWS::ECR::RegistryPolicy— stacks create and delete pull-through cache rules, creation templates and the registry policy through the ECR API, with its errors. A template'sPrefixrequires replacement and its other properties update in place;Refreturns the prefix andFn::GetAttgivesCreatedAtandUpdatedAt.Refon a rule returns itsEcrRepositoryPrefix. Every rule property requires replacement, so an update that keeps the prefix fails with "CloudFormation cannot update a stack when a custom-named resource requires replacing".PolicyTextupdates in place andFn::GetAtt RegistryIdreturns the account ID. Reported by @kharabasz. - ECR — pull-through cache rules and the registry policy —
CreatePullThroughCacheRule,UpdatePullThroughCacheRule,DeletePullThroughCacheRule,DescribePullThroughCacheRules,ValidatePullThroughCacheRule,PutRegistryPolicy,GetRegistryPolicyandDeleteRegistryPolicy, with AWS's error codes and messages. Creating a rule creates theAWSServiceRoleForECRPullThroughCacheservice-linked role.ValidatePullThroughCacheRulereportsUNABLE_TO_ACCESS_SECRET,UNABLE_TO_PARSE_SECRETorUNABLE_TO_ASSUME_ROLEfrom the rule's own secret or role; it contacts no upstream registry. WithAUTH=true, the secret must be readable by the caller and by the service-linked role, whosekms:Decrypta customer managed key's policy must grant by name. Reported by @kharabasz. - ECR — the pull-through cache fills on first pull — a registry
GET/HEADof a manifest by tag, or an ECS task asking for<prefix>/<path>:<tag>that a rule covers and the cache does not hold fills the cache first: the image is taken the way EC2 takes one (the host daemon's local copy, else a daemon pull with the host's own registry login), stored in MiniStack's ECR under<prefix>/<path>(createdMUTABLE,scanOnPushoff,AES256) and served from there. Nothing is pushed anywhere and the rule's secret is never sent. When the daemon's export keeps the upstream's image index (Docker's containerd image store), the index, its child manifests and their compressed layers are stored byte for byte, so the digests are the upstream's; another platform of that index is fetched through the daemon by digest when a registryGET/HEADby digest or an ECS task asks for it. A classic export holds only the host's platform: its layers are recompressed and the stored digest is this host's. When the image cannot be had, no repository is created and the registry answers404 MANIFEST_UNKNOWN. TheBatchGetImageAPI call does not fill the cache, as on AWS: an uncached path answersRepositoryNotFoundException. An ECR upstream is copied from MiniStack's own ECR in that account and region, after the rule's role trust and, withAUTH=true, the upstream repository policy. WithAUTH=true, another account fills the cache only when the registry or repository policy allows itecr:BatchImportUpstreamImage, plusecr:CreateRepositoryfrom the registry policy while the repository does not exist. Reported by @kharabasz. - ECR — repository creation templates —
CreateRepositoryCreationTemplate,UpdateRepositoryCreationTemplate,DeleteRepositoryCreationTemplateandDescribeRepositoryCreationTemplates. The first pull through a cache rule creates its repository from thePULL_THROUGH_CACHEtemplate with the longest matching prefix, elseROOT: tag mutability and exclusion filters, encryption, resource tags, repository policy and lifecycle policy. With no matching template it takes the defaults.CREATE_ON_PUSHandREPLICATIONtemplates are stored but not applied. Reported by @kharabasz. - Lambda —
nodejs26.x— the Docker executor runsnodejs26.xfunctions onpublic.ecr.aws/lambda/nodejs:26. Reported by @whittin3.
Fixed
- CloudFormation — bucket tags, stack event properties, stream labels — a bucket a stack created had no tag set, so
GetBucketTagginganswered404 NoSuchTagSet(the CDK auto-delete-objects handler fails on that during stack delete); the templateTags, the stack tags and theaws:cloudformation:tags are now its tag set, and an update applies tag changes.DescribeStackEventsnow reportsResourcePropertieson the create and update events of a resource and on the deletes of a rollback, as a JSON string with every primitive a string; aNoEchoparameter's value shows as****. A table a stack creates now has a stream label with no trailingZ, asCreateTablealready gives. Contributed by @antonie-popovic. - CloudFront — KeyValueStore ARNs — a key value store ARN ended in the store's
Name; it now ends in itsId, as on AWS (arn:aws:cloudfront::<account>:key-value-store/<Id>), forCreateKeyValueStore,AWS::CloudFront::KeyValueStore, tagging and thecloudfront-keyvaluestoredata plane. Contributed by @antonie-popovic. - CloudFront — its own error pages — the "The request could not be satisfied" page had only the explanation line. It now has the body a real distribution sends, byte for byte: the explanation, the two help paragraphs and the
<ADDRESS>block (915 bytes for "Bad request.", 1053 for a refused method). A request path with a%that two hex digits do not follow now gets CloudFront's400"Bad request." page before any function runs, as on AWS. Contributed by @antonie-popovic. - CodeBuild —
StartBuildstatus — in the default metadata-only modeStartBuildanswered a build that was alreadySUCCEEDED. It now answers the build as AWS does:IN_PROGRESS,currentPhaseQUEUED,buildCompletefalse, phaseSUBMITTEDdone (durationInSeconds0) andQUEUEDopen; later reads show itSUCCEEDED. Contributed by @antonie-popovic. - DynamoDB — item calls on another account's table by ARN — with
AUTH=true,GetItem,PutItem,UpdateItem,DeleteItem,Query,Scan, the batch and the transaction calls given another account's table ARN now run against the owner's table, and need both the table's resource policy and the caller's identity policy. A refusal is 400AccessDeniedExceptionnaming the table ARN, "because no resource-based policy allows" when the table's policy (or the table) is missing. A bare table name stays a lookup in the caller's account. Reported by @TheKerbycz. - DynamoDB — tag and resource-policy actions —
TagResource,UntagResource,ListTagsOfResourceandPut/Get/DeleteResourcePolicyare authorized against the table inResourceArninstead of*, and DynamoDB denials are HTTP 400 naming the resource. Reported by @TheKerbycz. - DynamoDB — PartiQL key reads — a
SELECTwith anORorINon the sort key, or on an index key, reads each key in turn: each is charged on the page that reaches it,Limitpages through them, and a page ending on a closed bound ends the read. Overlapping branches, a negated sort key inside anOR, a wrong-typed partition key and aLimitbelow 1 answer AWS's errors. Reported by @hicksy and the paritysuite.org project. - DynamoDB — validation messages — deep writes list every bad member in AWS's order; table names are measured as AWS does (characters on item operations, UTF-16 units on table operations); a name starting with
_in an expression is a syntax error;ScanandQueryuse AWS's current wording. Reported by @hicksy and the paritysuite.org project. - ECS — large images held in MiniStack's ECR start — pulling, exporting and loading a whole image no longer uses the
MINISTACK_DOCKER_TIMEOUTread timeout (10 s by default), so an image that takes the daemon longer than that to unpack (here 766 MB) starts instead of stopping withResourceInitializationError. Reported by @kharabasz. - ECS — pull failure on a pinned platform — a failed image pull for a task with a
runtimePlatformwas logged as the host being unable to run the architecture; it is now logged as a failed pull. Reported by @kharabasz. - ElastiCache — a replication group whose container fails to respawn — after a restart from persisted state, a node group whose container cannot be started reports the fallback endpoint, as a cache cluster does, instead of its old address, and the log says the respawn failed instead of that it succeeded. Reported by @shawngustaw.
- IAM — role and user paths in permission checks — an action on a role, user or group is authorized against its ARN with its path, and
CreateRole/CreateUseragainst the ARN theirPathgives. Reported by @TheKerbycz. - IAM — denials name the role or user — a refused action on an existing role or user names it as
on resource: role <name>/user <name>, and a refusedCreateRolenames the ARN it would create. - Lambda —
iam:PassRoleand theCreateFunctionresource — withAUTH=true,CreateFunctionandUpdateFunctionConfigurationevaluateiam:PassRoleon the execution role withiam:PassedToServicelambda.amazonaws.com, refused with 403AccessDeniedExceptionnamingiam:PassRoleand the role ARN.CreateFunctionis authorized against the ARN of the function it creates, and its denial names that ARN. Reported by @TheKerbycz. - Lambda — SDK v3 host prefixes in in-process Node functions — the AWS SDK for JavaScript v3 puts a label in front of the endpoint host (ServiceDiscovery
DiscoverInstances"data-", Step FunctionsStartSyncExecution"sync-", the CloudFront KeyValueStore account id), so in-process calls failed withgetaddrinfo ENOTFOUND data-127.0.0.1orTypeError: Invalid URL. When MiniStack setsAWS_ENDPOINT_URLfor a Node worker, it is nowlocalhost, and the worker sendslocalhost,<label>.localhostand<label>-localhostto127.0.0.1and checks theUSE_SSLcertificate againstlocalhost. Contributed by @antonie-popovic. - RDS — invalid cluster and tag input —
CreateDBClusteraccepted aBackupRetentionPeriodoutside 1–35 and read the maintenance window back as sent; it now answers400 InvalidParameterValue"Invalid backup retention period: <n>. Retention period must be between 1 and 35."and reads the day names back in lower case (mon:00:00-mon:03:00).ModifyDBClusterapplied a Serverless v2 minimum above the maximum; it now answers400 InvalidParameterValue"Serverless v2 minimum capacity must be less than or equal to maximum capacity" and keeps the old range.AddTagsToResourcerefuses a key that starts withaws:("Tag keys cannot start with the reserved prefix "aws:"."); CloudFormation still sets itsaws:cloudformation:*tags. Contributed by @Areson. - RDS — invalid instance input —
CreateDBInstanceandModifyDBInstanceaccepted values that AWS refuses and stored them.CreateDBInstancenow refuses an unknown, missing or blank engine ("Invalid DB engine"), a security group that does not exist, an unknown storage type (StorageTypeNotSupported), magnetic (standard) storage, gp3 storage under 20 GiB, aMaxAllocatedStorageless than 10 percent aboveAllocatedStorage, a PostgreSQL master user name over 63 characters, the reserved namerdsadmin, a password under 8 characters and a Performance Insights retention period that AWS does not offer.ModifyDBInstancerefuses a storage decrease, an engine change other than an Oracle non-CDB to CDB conversion and a password under 8 characters. Nothing is created or changed. Contributed by @Areson. Reported by @kharabasz. - RDS — a missing cluster in
EnableHttpEndpointand a bare-name member inRemoveFromGlobalCluster—EnableHttpEndpointon a cluster ARN that names no cluster answers404 ResourceNotFoundFault"The DB cluster <arn> wasn't found.", notDBClusterNotFoundFault.RemoveFromGlobalClusterwith aDbClusterIdentifierthat is not an ARN answers400 InvalidParameterValue"Malformed db cluster arn <name>"before it looks up the global cluster, as AWS does; pass the member'sDBClusterArn. Contributed by @Areson. - RDS — concurrent creates and withdrawn class changes — several concurrent
CreateDBInstancecalls with one identifier all succeeded. Now exactly one does and the others answer400 DBInstanceAlreadyExists"DB instance already exists", which is also the message for a sequential duplicate.ModifyDBInstancewith the currentDBInstanceClassandApplyImmediately=falsewithdraws a deferred class change instead of queuing a no-op inPendingModifiedValues. Contributed by @Areson. - RDS — the engine-version catalog —
DescribeDBEngineVersionslisted invented PostgreSQL, MySQL and MariaDB versions with families such as16instead ofpostgres16, left outMajorEngineVersion,SupportedEngineModes,SupportedCACertificateIdentifiers,ServerlessV2FeaturesSupportand the log types, and answered an unknown engine name with a made-up version. It now lists the versions AWS offers in us-east-1 with AWS's attributes, adds six missing Aurora MySQL versions, answers--default-onlywith AWS's defaults (PostgreSQL 18.3, MySQL 8.4.11, MariaDB 11.8.9) and refuses an unknown engine with400 InvalidParameterValue"Unrecognized engine name: <name>". TheMaxRecordsrange message for RDS describe calls no longer ends with a period, as on AWS. Contributed by @Areson. - S3 — a bucket policy naming a role or user of another account — the policy of another account's bucket is now evaluated for the caller's own user or role session, not only for its account, so a statement naming a role or user grants that principal alone. A refused user or role session is named:
"User: <arn> is not authorized to perform: s3:PutObject on resource: "arn:aws:s3:::<bucket>/<key>" because no resource-based policy allows the s3:PutObject action". Reported by @TheKerbycz. - S3 — an expired presigned URL's error — the
AccessDenied"Request has expired" body carriesX-Amz-Expires,ExpiresandServerTime, and noResource, as on AWS. - Secrets Manager — another account's secret by ARN — with
AUTH=true,GetSecretValue,PutSecretValueandDescribeSecretgiven another account's secret ARN now reach it when the secret's resource policy and the caller's identity policy allow. A value read or write also needs a customer managed key whose policy allows the caller ("Access to KMS is not allowed" otherwise); a secret underaws/secretsmanageranswersInvalidRequestException"You can't access a secret from a different AWS account if you encrypt the secret with the default KMS service key." Reported by @TheKerbycz. - SNS — tag and subscription actions — the tag actions are authorized against
ResourceArn, andGetSubscriptionAttributes,SetSubscriptionAttributesandUnsubscribeagainst the subscription's topic. Their denials name the topic and spell the actionSNS:<name>. Reported by @TheKerbycz. - SQS —
GetQueueUrlof another account's queue — withAUTH=true,GetQueueUrlwithQueueOwnerAWSAccountIdwas checked against a queue ARN in the caller's account, so an identity policy on the owner's queue never matched. It is now checked on the owner's queue ARN, and a refused or unknown cross-account lookup answersAWS.SimpleQueueService.NonExistentQueue"The specified queue does not exist or you do not have access to it." Reported by @TheKerbycz. - SQS —
SenderId— a message sent by an IAM user carries the user ID, and one sent by a role session the role ID and session name, instead of the account ID. Reported by @TheKerbycz. - Step Functions — a broken state graph —
ValidateStateMachineDefinitionalways answeredOK, andCreateStateMachineandUpdateStateMachinestored any graph. A state with both or neither ofNextandEnd(SCHEMA_VALIDATION_FAILED), aStartAtorNextnaming no state and a stateStartAtnever reaches (MISSING_TRANSITION_TARGET), and a workflow with no terminal state (MISSING_END_STATE) now fail validation with AWS's diagnostics, and create and update answerInvalidDefinition"Invalid State Machine Definition: '<code>: <message> at <location>, ...'"without storing the definition. Reported by @kharabasz.