What's Changed
[1.5.44] — 2026-11-23
Added
- EC2 — secondary VPC CIDR blocks —
AssociateVpcCidrBlockandDisassociateVpcCidrBlockfor IPv4 blocks. An associated block shows inCidrBlockAssociationSetand gets alocalroute in the VPC's route tables. A disassociated one stays in the set asdisassociated. Thecidr-block-association.*filters ofDescribeVpcsmatch every block. Errors match AWS:CidrConflict,InvalidVpc.Range(size, or a private range other than the VPC's),InvalidCidrBlock.Malformed,InvalidCidrBlock.InUse(a subnet uses the block),OperationNotPermitted(the primary block), and the association IDNotFoundandMalformed. Reported by @mkjung. - EC2 — Transit Gateway — transit gateways with their default route table, route tables, VPC attachments, route table associations and propagations, and static and blackhole routes, with the operations the Terraform AWS provider calls for them (21 in all). A VPC attachment is associated with and propagates to the default route table when the transit gateway enables them, and a propagating attachment's VPC CIDR shows in
SearchTransitGatewayRoutesas apropagatedroute. Reported by @mkjung. - SQS — dead-letter queue redrive —
StartMessageMoveTask,ListMessageMoveTasksandCancelMessageMoveTask, over JSON and Query. A task moves the messages visible in the dead-letter queue when it starts, toDestinationArnor each back to itsDeadLetterQueueSourceArn, atMaxNumberOfMessagesPerSecondor all at once. A moved message is a new message that keeps its body, message attributes and FIFO group and deduplication ids. A message with no source fails the task withCouldNotDetermineMessageSourceand stays put. One task runs per queue at a time, andListMessageMoveTasksshows the 10 most recent. A cancelled task goes on moving asCANCELLINGfor about 20 seconds before it isCANCELLED. Reported by @kharabasz. - CloudFront — origin modification helpers — a viewer-request function can pick the origin of a request with
cf.updateRequestOrigin(),cf.selectRequestOriginById()andcf.createRequestOriginGroup(), which fails over to the second origin on its status codes, a timeout or a connection failure (GET, HEAD and OPTIONS only). An origin at an AWS host that MiniStack serves, such as<apiId>.execute-api.<region>.amazonaws.com, an S3 REST endpoint or a regional service endpoint, goes to MiniStack's own gateway, which also accepts AWS execute-api hosts now; other AWS hosts keep the502. Contributed by @antonie-popovic. - WAFv2 — web ACLs on CloudFront viewer requests — a distribution's web ACL now decides each viewer request: rule priority, Allow, Block with a custom response, Count, CAPTCHA and Challenge (405 and 202, no tokens), labels, rule groups with overrides, inserted headers, rate-based rules, and the byte, regex, size and IP set statements. Of the AWS managed rules, the Core rule set
SizeRestrictions_*andNoUserAgent_HEADERandPROPFIND_METHODare evaluated. A rule MiniStack cannot decide never matches and is logged once. Contributed by @antonie-popovic.
Fixed
- SQS — disabled, missing or pending deletion KMS key —
SendMessage,SendMessageBatchandReceiveMessageon a queue with a customer managed key ignored the key's state. They now answerKMS.DisabledException,KMS.NotFoundException,KMS.InvalidStateExceptionorKMS.AccessDeniedException(theaws/s3key, another account's key) with KMS's message, after the request checks and before a FIFO deduplication hit.SendMessageBatchfails every valid entry with the same error, after the entries that failed validation. A receive with messages to hand out is refused and leaves them visible. Sends and receives each keep their data key forKmsDataKeyReusePeriodSeconds, and a refusal repeats for 7 seconds before KMS is asked again. Reported by @kharabasz. - SQS — error envelopes — JSON errors carry
__typecom.amazonaws.sqs#<Code>, and query-protocol errors open with<?xml version="1.0"?>and carry<Detail/>. - EC2 —
DescribeVpcsCIDR block association filters —cidr-block-association.association-idandcidr-block-association.statewere ignored, so they returned every VPC in the region. They now match the VPC'sCidrBlockAssociationSet. Reported by @mkjung. - S3 — Object Lock on copies and multipart uploads —
CopyObjectgave the copy the source's retention and legal hold, and ignored the destination bucket's default retention and the request'sx-amz-object-lock-*headers. The copy now gets the lock the request names, or the destination's default retention, and never the source's. A multipart upload created with a retention or a legal hold now completes into an object under it, and one created with neither takes the bucket's default retention; before, the completed object was unlocked and could be deleted.PutBucketVersioningSuspendedon a bucket with Object Lock answers409 InvalidBucketState("An Object Lock configuration is present on this bucket, so the versioning state cannot be changed.") and versioning staysEnabled. Reported by @gaul. - S3 — governance bypass on a bucket without Object Lock —
DeleteObjectwithx-amz-bypass-governance-retentionon a bucket without Object Lock deleted the version. It now answers400 InvalidArgument("x-amz-bypass-governance-retention is only applicable to Object Lock enabled buckets.") and deletes nothing. - S3 —
CopyObjectconditions on the destination —If-MatchandIf-None-Matchwere ignored. As onPutObject,If-Matchon a missing destination (or a delete marker) answers404 NoSuchKey, a condition that does not hold answers412 PreconditionFailed, and the destination keeps its content.If-Match: *and anIf-None-Matchnaming an ETag answer501 NotImplemented, naming the header, before any other check on the destination. Reported by @gaul. - S3 —
UploadPartCopywith another key's upload ID — it added the part to that other key's upload. It now answers404 NoSuchUpload, asUploadPartdoes. Reported by @gaul. - RDS Data API — a literal
%next to named parameters —ExecuteStatement(andBatchExecuteStatement, which shares the substitution) now passes a%already in the SQL (LIKE 'step.%','100%',DATE_FORMAT(d, '%Y')) to the engine as written when named parameters are supplied; before, the driver's%formatting read it as a placeholder, failing withnot enough arguments for format string, turning'%%'into'%', or filling a'%(name)s'literal with the parameter's value. Matches real AWS forExecuteStatement(us-east-1, Aurora MySQL 3). Contributed by @skialpine. - Step Functions —
UpdateStateMachinereturnsrevisionIdwithoutpublish— the response now carries the state machine's newrevisionIdon every update, whichPublishStateMachineVersiontakes as its precondition; before, it was returned only withpublish: true. A stalerevisionIdnow fails with AWS's message,Failed to publish the State Machine version for revision <stale>. The current State Machine revision is <current>.Matches real AWS (us-east-1). Contributed by @skialpine. - Step Functions — executions started on a version or alias —
StartExecutionon a state machine version ARN, or on an alias, now runs that version's definition and records the version (and alias) ARN, whichDescribeExecutionand theExecutionStartedevent report, andDescribeStateMachineForExecutionreturns the version's definition; before, it ran the state machine's latest definition and reported neither ARN. Matches real AWS (us-east-1), where an execution started on version 1 after version 2 is published runs version 1. Contributed by @skialpine. - Lambda — S3 from a Docker container — a function's S3 client was pointed at
host.docker.internal, so an SDK that addresses buckets virtual-host style (.NET, JavaScript) called<bucket>.host.docker.internal, which didn't resolve, and an older .NET SDK signed for us-east-1. The container now getsAWS_ENDPOINT_URL_S3ats3.<function region>.host.docker.internal, and the names of the function account's buckets resolve under it, including buckets created after the container started. A function that setsAWS_ENDPOINT_URL_S3keeps its own. Reported by @kharabasz. - Lambda — end of a Docker invocation's log — the log of a RIE invocation was read as soon as RIE answered, so it could miss
ENDandREPORT, which RIE writes after the reply; theLogResulttail missed them. The log is now read until RIE'sREPORTline, for at most 250 ms, the hard cap of the warm worker's log drain. Contributed by @antonie-popovic. - Cognito —
expires_inof a refreshed token — therefresh_tokengrant of/oauth2/tokenansweredexpires_in: 3600whatever the app client'sAccessTokenValidity, while the token itself lived as long as the client allows. It now answers the token's lifetime. Contributed by @antonie-popovic. - Lambda — output of child processes — the in-process workers and the one-shot executor read their replies from the function's stdout, which child processes inherit, so a child that printed more than 200 lines at init or in the handler (
aws s3 syncin the CDKBucketDeploymenthandler) failed the invocation. Replies now use their own descriptor, and stdout and stderr are only the log. Aprovidedbootstrap in the one-shot executor that logged more than a pipe holds before it answered timed out; its log now goes to a file. Contributed by @antonie-popovic. - RDS — MySQL and Aurora MySQL TLS certificates — MySQL and Aurora MySQL databases now present a server certificate signed by the RDS CA served at
GET /_ministack/rds/ca.pem, naming their DNS endpoints, as PostgreSQL databases already did; before, they presented a certificate from the mysql image's own auto-generated CA, which no client verifying the server could trust. Matches real AWS (us-east-1, RDS MySQL 8.4 and Aurora MySQL 3), where the certificate chains to the regional RDS root and names the endpoint. Contributed by @skialpine. - AppSync Events — a channel namespace without auth modes — it took the API's
defaultPublishAuthModesfor both publish and subscribe, so a subscriber the API's subscribe default allows was refused. It now keeps no modes of its own:CreateChannelNamespaceleaves them out of its answer, reads report[], and each call takes the API's current publish or subscribe default, also afterUpdateApi. Reported by @Tanato. - Cognito — PostAuthentication on Hosted UI sign-in — a sign-in through
POST /loginnever invoked the trigger. It now runs before the authorization code is issued. A trigger that fails gives no code, and the sign-in page answers 401 with "PostAuthentication failed with error .".POST /loginalso runs off the event loop, so a trigger that calls MiniStack does not stall it. Reported by @Tanato. - Cognito —
identity_provider=COGNITOon/oauth2/authorize— it was looked up as a federated provider and answered "Identity provider COGNITO not found.". It now shows the pool's own sign-in page, as Amplify'ssignInWithRedirectexpects. Reported by @Tanato. - API Gateway —
requestContext.domainPrefixin HTTP API events — payload 2.0 proxy events and 2.0REQUESTauthorizer events now carry it, the first label ofdomainName. Reported by @Tanato. - API Gateway — JWT and Cognito authorizers under
USE_SSL— the keys of a MiniStack user pool were fetched over plain HTTP, which a TLS-only gateway refuses, so every token was rejected. They are now read in-process. Reported by @Tanato. - CloudFront — alternate domain names under the MiniStack host — an alias such as
docs.stage.localhostwas taken for an S3 virtual-hosted request and answeredNoSuchBucket. The distribution now serves it unless a bucket by that name exists. Reported by @Tanato. - CloudFront —
aws:SourceAccounton origin access control fetches — the request context carried onlyaws:SourceArn, so a bucket policy conditioned onAWS:SourceAccountdenied every fetch. It now also carries the distribution's account. Reported by @Tanato. - EventBridge —
ListEventSources— it always answered an empty list. It now lists the partner event sources offered to the account, withArn,CreatedBy,CreationTime,NameandState,PENDINGuntil the account creates the matching partner event bus andACTIVEafter. Reported by @Tanato. - EventBridge — tags on a rule of a partner event bus —
TagResourceandListTagsForResourceansweredResourceNotFoundExceptionfor an ARN likerule/aws.partner/<partner>/<source>/<rule>. They now resolve it. Reported by @Tanato. - Lambda — Node.js handlers and
*.localhosthosts — under the local executor only one label belowlocalhostresolved, so a host such as an Event API's<api>.appsync-api.<region>.localhostfailed withENOTFOUND. Any name underlocalhostnow reaches MiniStack. Reported by @Tanato. - Persistence — state files after a host stop — the state saved at shutdown was renamed into place without being synced, so a host that stopped right after could bring it back as an empty file. Each file is now synced before the rename. Reported by @Tanato.
- ALB — HTTPS target groups — the load balancer forwarded to them over plain HTTP, so a TLS-only target answered 502. It now connects over TLS and, as AWS does, does not validate the target's certificate. Reported by @rszabo50.
- DynamoDB Streams — TTL deletes — an item removed by TTL wrote no stream record. It now writes a
REMOVEwithuserIdentity{"PrincipalId": "dynamodb.amazonaws.com", "Type": "Service"}inGetRecords, and{"principalId": "dynamodb.amazonaws.com", "type": "Service"}in the Lambda event, so the TTL filter pattern matches. On a global table only the region that expired the item marks the record. Reported by @fdrvrtm.