Ministack: Free, open-source local AWS emulator - 60+ services, Terraform compatible, real databases. Free forever. MIT licensed.
Changelog
All notable changes to MiniStack will be documented here.
Format follows Keep a Changelog. Versioning follows Semantic Versioning.
[Unreleased]
Added
- Aurora DSQL —
AWS IAM GRANTandAWS IAM REVOKE— withDSQL_STRICT=1both were a syntax error, so a migration that maps a Postgres role to an IAM role stopped there. Sent on their own over the simple query protocol (psql, psycopg2), a GRANT maps one or more ARNs to a role and a REVOKE unmaps them; the mappings read back throughsys.iam_pg_role_mappingswith DSQL's six columns and types, a rollback undoes a GRANT, and a GRANT after other DDL in the same transaction answers DSQL's0A000. Re-granting raises DSQL's NOTICE and revoking a missing mapping its WARNING; an unknown role answers42704, a value that is not an ARN0P000, and granting the signed-in role to itself42501. Contributed by @toby6578.
Fixed
HTTP/2 — a connection is no longer cut after 1000 requests — Hypercorn's default
keep_alive_max_requests(1000) sent GOAWAY on an HTTP/2 connection's 1001st request and dropped its response, so a client that keeps one connection (Node's undici, gRPC) lost one request in every thousand (undici:other side closed). AWS closes client connections by keepalive duration, not request count; the limit is now 10,000,000, more than one connection sends in AWS's default hour.Step Functions —
aws-sdk:schedulertasks — a Task witharn:aws:states:::aws-sdk:scheduler:<action>failed withStates.Runtime("Service 'scheduler' is not supported in MiniStack aws-sdk integrations").createSchedule,getSchedule,updateSchedule,deleteSchedule,listSchedules,createScheduleGroup,getScheduleGroup,deleteScheduleGroupandlistScheduleGroupsnow call EventBridge Scheduler in the execution's account and region, as on AWS. The output keeps Scheduler's member names, timestamps are ISO-8601 UTC strings,StartDate/EndDateare read from ISO-8601 strings withZor a+hh:mmoffset (cut to milliseconds),listSchedulesfilters byGroupName,NamePrefixandState, and a JSON object or array given asTarget.Inputis sent as compact JSON text. A failed call reportsScheduler.<ErrorCode>with the cause suffix(Service: Scheduler, Status Code: <status>, Request ID: <id>) (SDK Attempt Count: 1). Contributed by @kharabasz.EventBridge Scheduler — schedule error messages —
GetSchedule,UpdateScheduleandDeleteSchedulefor a missing schedule now answerSchedule <name> does not exist., and a duplicateCreateScheduleanswersSchedule <name> already exists., as on AWS; the messages no longer name the group. Contributed by @kharabasz.RDS — Aurora cluster Performance Insights inheritance — explicit cluster PI settings now round-trip through create/modify/describe and propagate to existing and future members. Instance-managed clusters retain their independent settings until an explicit cluster handoff. Enabled responses include the retention and PI KMS key; cluster disablement survives removal of all members.
Athena — the result file is saved at the reported
OutputLocation— a query's<id>.csvand<id>.csv.metadataare now saved directly under the result location, at the path thatGetQueryExecutionreports, as AWS does. Before, they were saved one folder too deep, at<location>/<id>.csv/<id>.csv, so a client that read the reported path gotNoSuchKey.Athena — an enforced workgroup overrides the client-side result location — when a workgroup has
EnforceWorkGroupConfiguration: true,StartQueryExecutionnow writes results to the workgroup'sOutputLocation, even when the request gives its ownResultConfiguration.OutputLocation, as AWS does. Before, the request's location was used.S3 — with
AUTH=falsea presigned URL is accepted like a header-signed request — a SigV4 presigned URL signed with a key MiniStack did not know (for example a localaccessKey1/verySecretKey1pair), a wrong secret, or a missing or wrong session token got 403InvalidAccessKeyId,SignatureDoesNotMatchor 400InvalidTokeneven with auth off, while the same client's header-signed calls succeeded. WithAUTH=falsethe credential and signature are no longer checked; the key still selects the tenant, an expired URL still answers 403AccessDenied, andAUTH=trueverifies as before.Lambda — a partial ARN as the
FunctionName—123456789012:function:my-function[:qualifier]resolved to the account ID as the function name, soInvokeand the other function operations failed withFunction not found: ...:function:123456789012; it now resolves as the full ARN in the caller's region, as on AWS, and gives the same result as that full ARN.Lambda — event source mappings answer as AWS does — a Kinesis or DynamoDB Streams mapping now reports AWS's defaults (
BatchSize100,MaximumRetryAttemptsandMaximumRecordAgeInSeconds-1,BisectBatchOnFunctionErrorfalse,ParallelizationFactor1,TumblingWindowInSeconds0,DestinationConfig{"OnFailure": {}}),StateTransitionReasonUser action, andLastProcessingResultOKorPROBLEM: Function call failedinstead ofOK - N recordsandFAILED. An SQS mapping has noLastProcessingResult, as on AWS. Create, update and delete answer the transitional state (Creating,Updating,Enabling,Disabling,Deleting),UpdateEventSourceMappinganswers 202, a second mapping for the same source and function is refused withResourceConflictException, and an unknown mapping's message is AWS's. MiniStack's states settle at once, where AWS's SQS mappings stayCreatingfor a few seconds.Glue — Glue 5 file writes to the bucket that holds
--extra-py-files— a CSV (or other plain-file) write to that bucket stayed an open multipart upload, so the job succeeded but the output folder had only a 0-bytepart-*marker under__magic_job-…/.spark-submitdownloadss3://--extra-py-filesbefore Spark starts, and the S3A filesystem it makes for that bucket saved the magicv2 committer's upload list in S3, where the commit did not look. Every S3A filesystem now tracks these uploads in memory, so the commit completes them. Glue 4 jobs useDirectFileOutputCommitterand do not change.Step Functions — state events inside a Map or a Parallel branch — the states in an inline Map item or a Parallel branch wrote no
<Type>StateEnteredor<Type>StateExitedevents, soGetExecutionHistorydid not show them. They are now in the execution history, as on AWS; for a Distributed Map they are in each child execution's history and not in the parent's. Events added at the same time from several Map items or branches can no longer get the sameid.
[1.5.33] — 2026-10-26
Added
- Kinesis — stream and consumer resource policies —
PutResourcePolicy,GetResourcePolicyandDeleteResourcePolicyansweredInvalidAction; they now store a policy per stream or consumer, persisted and dropped with it, with AWS's checks in AWS's order: the ARN's region (InvalidArgumentException"The region specified in the ARN '' does not match the endpoint region"), the policy ("Policy validation error: This policy contains invalid Json", "Missing required field Version" or "Statement", and per statement the actions a stream or consumer can share and aResourceequal to the ARN, with the statement's line and column), then the resource ("Stream under account not found.").GetResourcePolicywithout a policy answers{"Policy": "{}"}andDeleteResourcePolicy"No resource policy found for resource ARN .". Reported by @Jolley71717. - Lambda — Kinesis event source mappings across accounts — a function can map a stream in another account in the same region;
CreateEventSourceMappingreads the stream first and answers "Received Exception while reading from provided stream. " with the reason ("No account found for the given parameters", "Stream under account not found.", or underAUTH=truethe read the stream's policy doesn't allow the function's execution role), and the policy is checked again on every poll. Another region's stream answers "Event source region must match Lambda region ". Reported by @Jolley71717. - CloudFormation —
AWS::Athena::WorkGroup— created with itsDescription,State,TagsandWorkGroupConfiguration, updated in place, replaced whenNamechanges and deleted with the stack;Refreturns the name andFn::GetAttCreationTimeand the effective engine version. Reported by @mishukdutta-cz.
Fixed
- S3 — GET, HEAD and DELETE error order and responses — under
AUTH=trueordinary header-signed downloads check the endpoint and signing region before the bucket's home region, then credentials and missing buckets, and HeadObject, HeadBucket and DeleteObject check the home region first; a DELETE sent to another regional endpoint no longer deletes the object. In both auth modes aNoSuchKeycarriesKey, HEAD errors have an empty body and noContent-Length, and HeadBucket reports the bucket's region (also on a denial) and its ARN. Iceberg REST HEAD requests keep their JSON errors. Contributed by @gakuto-cw21. - S3 — persisted keys that a file path can't hold survive a restart — with
S3_PERSIST=1a folder marker such asproject/Incoming/came back without its slash, and keys under it, a key under another key's object (a/bbesidea) or one with doubled or dot segments (x//y) were lost or rewritten; they are now stored by an encoded name under the bucket's.ministack-keysdirectory, and every other key keeps its path, so earlier data still loads. Reported by @jasonthagerty. - ALB — requests reach targets as sent — instance and IP targets now get the path with its percent-encoding, the query string unchanged, the client's
Hostas the load balancer sends it (no port on 80 or 443, the listener's port otherwise, unmodified withrouting.http.preserve_host_header.enabled), the client'sAccept-Encoding, and OPTIONS requests instead of a gateway-made CORS answer. A Lambda target's event carries the last value of a repeated query key, not decoded, no multi-value keys unless enabled, andbody: "". Contributed by @skialpine. - ALB — responses and actions — the load balancer's own responses (a Lambda target's, fixed-response, redirect, authentication, its errors) carry
Server: awselb/2.0unlessrouting.http.response.server.enabledisfalse, it writes its ownDateover an instance or IP target's, and the listener's response-header attributes (the CORS ones,strict_transport_security,content_security_policy,x_content_type_options,x_frame_options) are applied. A redirect fills#{protocol},#{port}and#{query}from the listener and request (http://host:80/path), andauthenticate-oidcon a 443 listener names its callback without the client's port. Contributed by @skialpine. - CloudFront — response headers — responses carry only the origin's headers plus CloudFront's own, with
X-Amz-Cf-Idas URL-safe base64 of 40 bytes andVia: 1.1 <32 hex>.cloudfront.net (CloudFront);Server: CloudFrontis added only when a viewer-response function ran and the origin sent none, and a Lambda Function URL origin's response carries a singlex-amzn-RequestId. Contributed by @skialpine. - All services — status line,
DateandServer— HTTP/1.1 status lines carry their reason phrase (HTTP/1.1 200 OK), every response carries oneDate, also a WebSocket handshake and Hypercorn's own errors, and no response carriesServer: hypercorn-h11. Contributed by @skialpine. - API Gateway — an HTTP API's
rawQueryStringis the query string as sent —?flagreached the function asflag=; the Lambda proxy and REQUEST authorizer events now carry the request's own query string. Contributed by @skialpine. - Lambda — packages, code caches and restore —
CreateFunction,UpdateFunctionCodeandPublishLayerVersionrefuse a package that is not a zip, an empty one included, withInvalidParameterValueException"Could not unzip uploaded file. Please check your file, then try to upload again.", leaving the function's code as it was. Two MiniStacks on one host no longer remove each other's extracted code, and restoring persisted state keeps one copy of code that versions share. Contributed by @skialpine. - Lambda — Kinesis event source mapping filters — a
FilterCriteriapattern never matched a Kinesis record, so a filtered mapping dropped everything; metadata fields such aspartitionKeynow match at the top of the pattern anddataas base64-decoded JSON, and data that isn't JSON still matches metadata patterns. Contributed by @Jolley71717. - DynamoDB —
TransactWriteItemsfollows DynamoDB's check order — anUpdatewhose condition failed is cancelled withConditionalCheckFailedeven when its update expression can't be applied to the item, an update-expression error on one member no longer hides a failed condition on another, a missing table answersResourceNotFoundException, and abegins_withcondition with a number operand answersValidationException. Contributed by @jun-ut. - Step Functions — JSONata on
Map,Paralleland variables — an inlineMapevaluatesItems,ItemSelector,MaxConcurrency,OutputandAssign(anItemsthat isn't an array fails withStates.QueryEvaluationError), aCatchonMaporParallelapplies itsOutputandAssign, and a variable assignednullreads back asnull. Contributed by @mishukdutta-cz. - Glue — Spark job arguments and botocore — Spark scripts get
--JOB_NAMEand--JOB_RUN_ID(a run'sArgumentsstill win,pythonshellscripts don't get them), and a job's own botocore loads from where the script asks, so a--py-fileszip that holds botocore no longer fails withDataNotFoundError. Contributed by @mishukdutta-cz. - OpenSearch — engine heap and the container reaper — engine containers run with a 512 MB heap instead of the image's 1 GB, and the reaper no longer removes a live domain's stopped engine. Contributed by @skialpine.
[1.5.32] — 2026-10-23
Added
- EC2 — Verified Access control plane — instances, trust providers (
oidc, andjamf,crowdstrikeandjumpclouddevices), groups,load-balancerandnetwork-interfaceendpoints, trust provider attachments, instance logging configuration, and group and endpoint policies, as theaws_verifiedaccess_*Terraform resources call them, with AWS's codes, messages and check order. UnderAUTH=trueeach call is authorized on every resource AWS checks it against. No access evaluation or Cedar parsing;rdsandcidrendpoints andNativeApplicationOidcOptionsanswerUnsupportedOperation. Contributed by @kharabasz. - Step Functions — Distributed Map — a Map whose
ProcessorConfigmode isDISTRIBUTEDran inline, with no map run and itsItemReaderignored; it now creates a Map Run (ListMapRuns,DescribeMapRun,UpdateMapRun,ListExecutionswithmapRunArn) whose items run as child executions under<state machine>/<label>, reads its items from S3 (s3:getObjectas JSON, JSONL or CSV,s3:listObjectsV2object metadata,MaxItems), and fails withStates.ExceedToleratedFailureThresholdpast its tolerated failures. Reported by @cupidchan. - SSM — service settings —
GetServiceSetting,UpdateServiceSettingandResetServiceSetting, per account and region, persisted.SettingValueis validated for the ids whose accepted values AWS documents, and/ssm/parameter-store/default-parameter-tiersets theTierof aPutParameterthat names none. Unblocks Terraform'saws_ssm_service_setting. Contributed by @skialpine. - Auth — SigV4a signatures are verified under
AUTH=true— requests signed withAWS4-ECDSA-P256-SHA256, which SDKs use for Multi-Region Access Points, were refused for every IAM user. Header and presigned S3 signatures are now checked with the P-256 key SigV4a derives from the secret, with their date or expiry, and anX-Amz-Region-Setthat leaves out the serving region is refused (RegionSetMismatchon S3, the unknown-key error elsewhere). Contributed by @iot-rocket.
Fixed
- Auth — requests without credentials are anonymous in every service — under
AUTH=truea request with noAuthorizationheader and no query signature ran as the account root everywhere but S3; it is now refused in the service's own error, as on AWS:MissingAuthenticationToken403 from Query and REST-XML services,MissingAuthenticationTokenExceptionfrom JSON services,AccessDenied403 from SQS,UnrecognizedClientExceptionfrom Secrets Manager. Operations the SDKs send unsigned (Cognito sign-in,GetId,AssumeRoleWithWebIdentity), SNSConfirmSubscriptionandUnsubscribe, API Gateway and Function URL invokes and S3 keep their behaviour. Contributed by @iot-rocket. - Auth — a query signed for
s3is refused by other services — underAUTH=truea SigV4 presigned query with ans3credential scope skipped the signature check when another service served it; it is now refused withSignatureDoesNotMatch"Credential should be scoped to correct service: ''. ", as AWS answers, while S3 keeps verifying its own presigned URLs. Reported by @iot-rocket. - S3 — access points and Multi-Region Access Points under
AUTH=true— an access point policy was stored but never applied, and unsigned requests, SigV2Authorizationheaders andPutBucketPolicy/DeleteBucketPolicythrough an access point were served; a request through an access point alias or ARN is now allowed on the access point by an identity policy or its policy, an unsigned or SigV2-header one gets 400InvalidRequest, bucket policy writes get 403AccessDenied, and SigV2 presigned URLs for an access point ARN verify. MRAP requests are authorized on the member bucket and then on the MRAP. Contributed by @iot-rocket. - S3 — ACLs and Block Public Access — on a
BucketOwnerEnforcedbucket ACL writes answered 200 and a stored grant still opened the bucket;PutBucketAclandPutObjectAclnow answer 400AccessControlListNotSupported, uploads refuse any ACL but an owner-only one, andCreateBucketor a switch toBucketOwnerEnforcedrefuses a granting ACL withInvalidBucketAclWithObjectOwnership. UnderAUTH=truea new bucket has all four Block Public Access settings on, as on AWS, so a public policy or ACL answers 403AccessDeniedandCreateBucketwith a public ACLInvalidBucketAclWithBlockPublicAccessError;RestrictPublicBucketsdrops a bucket policy only when it is public. Contributed by @iot-rocket. - S3 — CORS under
AUTH=true— every preflight answered 200 withAccess-Control-Allow-Origin: *, whatever the bucket's CORS configuration; a preflight now has to match one of the bucket's rules (403AccessForbiddenwithout a configuration or a match, 400BadRequestwithoutOrigin) and gets that rule's headers. Contributed by @iot-rocket. - S3 — presigned expiry and multipart object size — under
AUTH=truea presigned URL withoutX-Amz-Expiresnever expired; it now answers 400AuthorizationQueryParametersError"Query-string authentication version 4 requires the X-Amz-Algorithm, X-Amz-Credential, X-Amz-Signature, X-Amz-Date, X-Amz-SignedHeaders, and X-Amz-Expires parameters.", and a negative value "X-Amz-Expires must be non-negative".CompleteMultipartUploadchecksx-amz-mp-object-size: a size other than the parts' total answers 400InvalidRequest"The provided 'x-amz-mp-object-size' header value 11 does not match what was computed: 10", a non-numeric one "Value for x-amz-mp-object-size header is invalid: 'abc'". Reported by @adzcodemi. - CloudFront — origins that name a load balancer or a Function URL in this MiniStack — a custom origin at a load balancer's
DNSNameor a Function URL's<url-id>.lambda-url.<region>.on.awsanswered 502, as for any AWS hostname. A load balancer is now reached on its HTTP listener at the origin'sHTTPPortand a Function URL over HTTPS, with the origin's custom headers, so a target that checks a secret header works;OriginReadTimeoutapplies (504). A Function URL refuses a forwarded viewerHostwith 403{"Message":null}and an unsignedAWS_IAMURL answers 403{"Message":"Forbidden"}, as on AWS. Reported by @kinoh and @smiley-uriux. - CloudFront — functions — a viewer-request function that returned the request it was given rebuilt the query string, so
?flagreached the origin as?flag=; it is now rebuilt only when the returnedquerystringdiffers.CreateFunctionkeeps itsTags(deleted with the function), answers invalid base64 code withMalformedInput"Invalid Base64 encoding", and refuses a missing code, configuration, runtime or name and invalid tags in oneMalformedXMLbefore the name lookup, thenInvalidTaggingfor repeated,aws:or more than 50 keys. Contributed by @jeffreyheller and @kharabasz. - ALB —
X-Forwarded-*andX-Amzn-Trace-Idas the load balancer sets them — targets got an incomingX-Forwarded-Forunchanged and a client-sentX-Forwarded-Proto/X-Forwarded-Port, and Lambda targets none of them; all targets now getX-Forwarded-Forwith the client address appended (kept or dropped underrouting.http.xff_header_processing.modepreserve/remove),X-Forwarded-ProtoandX-Forwarded-Portfrom the listener, and anX-Amzn-Trace-Idwith a newRoot, or aSelfadded to or updated in the one sent. Reported by @kinoh. - Lambda — Function URLs as AWS serves them — URL ids are 32 lowercase letters and digits; the event's headers carry the URL's own
host,x-forwarded-for(the first address sent, or the caller),x-forwarded-port443,x-forwarded-protohttps,x-amzn-trace-idand the TLS fields;requestContext.accountIdisanonymousfor anAuthTypeNONEURL; and responses carryx-amzn-RequestIdandX-Amzn-Trace-Id, withx-amzn-ErrorTypeAccessDeniedExceptionon a 403. Reported by @smiley-uriux. - Lambda — versions, layers and containers —
Publish: trueon create or code update overwrote$LATEST'sVersion, so$LATESTdisappeared fromListVersionsByFunction; it now stays$LATEST. A layer MiniStack doesn't hold from another account, such as Datadog's, resolves as an empty layer instead ofAccessDeniedException. Function containers no longer publish port 8080 on every host address: none withDOCKER_NETWORK,127.0.0.1otherwise. Contributed by @skialpine and @kharabasz. Reported by @cupidchan. - API Gateway — HTTP API request ids and
AWS_IAMheaders — an HTTP API's responses carriedx-amzn-requestidandx-amz-request-id; they now carryapigw-requestid, 16 base64 characters, as AWS does. UnderAUTH=truea RESTAWS_IAMmethod served a bearer token or a lower-case algorithm; it now answers 403IncompleteSignatureExceptionwith API Gateway's message. Contributed by @jeffreyheller and @iot-rocket. - API Gateway v2 — WebSocket connections —
DeleteConnectionanswered 204 but left the socket open; it now closes it,GetConnectionandPostToConnectionanswer 410GoneException, and$disconnectruns after the close. A route whose Lambda is a container image or another runtime now runs it,PostToConnectionsends a text frame, and routes and stages keepRouteResponseSelectionExpression,ModelSelectionExpression,AccessLogSettings,ClientCertificateIdandDeploymentId. Contributed by @toby6578. Reported by @cupidchan. - AppSync Events —
AUTH=truechecks the Event API's authorization — an HTTP publish, a WebSocket connection or a subscription was accepted with any API key or none unlessAPPSYNC_EVENTS_ENFORCE_AUTHwas set; it now needs what the API or channel namespace accepts (an API key, a SigV4 signature, a Cognito or OIDC token), and a refused publish answers 401UnauthorizedException"You are not authorized to make this call.". Contributed by @iot-rocket. - Cognito — signing keys, managed login and federation — every pool signed with one shared key (
kidministack-key-1); each pool now has its own access and ID token keys at its JWKS URI. Managed login refuses PKCEplain, an unregisteredredirect_uriand an unknowngrant_type(400unsupported_grant_type); a federated user joins<user pool id>_<provider name>and carriesidentities; an OIDC provider with onlyoidc_issuertakes its endpoints from the issuer's/.well-known/openid-configuration. Contributed by @kinoh. Reported by @cupidchan. - Cognito —
client_credentials—/oauth2/tokenissued a token to a client withoutclient_credentialsinAllowedOAuthFlows; it now answersinvalid_grant(invalid_scopefirst for an unknown scope), and the pre token generation trigger runs for this grant only whenLambdaVersionisV3_0. Contributed by @iot-rocket. - IoT — MQTT delivery as AWS IoT does — an unacknowledged QoS 1 message was resent every 10 seconds with DUP set; it is now resent after 30 seconds with DUP 0, on the open connection and after a persistent session resumes, and a No Local subscription receives the client's own messages, as AWS IoT Core ignores that option. Contributed by @iot-rocket.
- IoT — thing-group membership by ARN —
AddThingToThingGroupandRemoveThingFromThingGroupignoredthingGroupArnandthingArnand were authorized on the request path; they now act on the group and thing the ARNs name, refuse a mismatched or foreign ARN with 400InvalidRequestException, and underAUTH=trueare checked on the group and then the thing. Contributed by @iot-rocket. - CloudWatch — alarm tags and
DatapointsToAlarm—PutMetricAlarmandPutCompositeAlarmdroppedTagson create; they are now stored over CBOR, JSON 1.0 and Query and ignored on update, as on AWS, with AWS'sValidationError,MalformedInputandaws:-key refusals. An alarm withoutDatapointsToAlarmno longer reports it asEvaluationPeriods. Contributed by @kharabasz. - DynamoDB — PartiQL statements are parsed as DynamoDB parses them — a parser replaces the regular-expression reader and answers malformed statements with AWS's messages (
Statement wasn't well formed, can't be processed: Unexpected term,Missing right-hand side expression of infix operator,Aliasing is not supported, positions asat <line>:<column>:<length>); it skips comments, reads every number literal form, and supportsORDER BY,attribute_exists,attribute_not_exists,size,attribute_type,IS,set_add,set_delete,FROM ... WHERE ... SETandEXISTS(SELECT ...)inExecuteTransaction. Reported by @hicksy (paritysuite.org). - DynamoDB — validation order, numbers and limits — transactions and batches report their member errors together before any table lookup; numbers are range-checked with their full exponent (
Number overflow) and duplicate set members reported in byte order; legacyExpectedconditions are validated; UpdateItem's 400KB check charges the request clause by clause before the condition;SET l[n]past the end appends instead of padding withNULL. Reported by @hicksy (paritysuite.org). - ElastiCache — transit encryption, AUTH tokens and subnet groups — a group with
TransitEncryptionEnabledand anAuthTokenserved plaintext without a password; it now serves TLS only, signed by the CA at/_ministack/elasticache/ca.pem, requires the token, andModifyReplicationGroupappliesROTATE,SETandDELETE.CreateCacheSubnetGroupnow keeps its subnets, VPC and tags, and answersInvalidSubnet,CacheSubnetGroupAlreadyExistsandCacheSubnetGroupInUse. Reported by @aditya-drizz. - ECS — capacity provider strategies — a service or task with
capacityProviderStrategydropped it and reportedlaunchTypeEC2; the strategy is now kept without alaunchType, the cluster's default applies when neither is given, both together are refused withInvalidParameterException"Specifying both a launch type and capacity provider strategy is not supported. Remove one and try again.", andAWS::ECS::Servicepasses it through. Reported by @aditya-drizz. - RDS —
MaxAllocatedStorageonly with storage autoscaling — every DB instance reportedMaxAllocatedStorageequal to its allocated storage; it is now present only when storage autoscaling was turned on. Reported by @aditya-drizz. - Reset —
/_ministack/resetno longer removes another MiniStack's containers — the OpenSearch, OpenSearch Serverless, DSQL, ECS and EKS resets removed every container with the service's label on the Docker daemon; they now remove only this instance's. Contributed by @jeffreyheller.
[1.5.31] — 2026-10-21
Added
- CloudFront — VPC origins and distribution web ACLs —
CreateVpcOrigin,GetVpcOrigin,UpdateVpcOrigin,DeleteVpcOriginandListVpcOriginsare implemented: a change answersDeployingand the next read showsDeployed, the endpoint must be a load balancer or instance that exists in MiniStack, and an origin a distribution names can't be deleted or changed (CannotDeleteEntityWhileInUse,CannotUpdateEntityWhileInUse).AssociateDistributionWebACLandDisassociateDistributionWebACLset and clear the distribution'sWebACLId, withIf-MatchandEntityNotFoundas on AWS. Contributed by @kharabasz and @OS-kiranmalsetty. - Cognito — auth events — on a pool with threat protection on, password, SRP and admin sign-ins, their MFA answers and password changes are logged as
SignInandPasswordChangeevents,AdminListUserAuthEventslists them newest first, andAdminUpdateAuthEventFeedbackandUpdateAuthEventFeedbackare implemented. Contributed by @iot-rocket. - Route 53 — private hosted zones —
CreateHostedZonewith aVPCmade a public zone and dropped the VPC; the zone is now private and keeps its VPCs, andAssociateVPCWithHostedZone,DisassociateVPCFromHostedZoneandListHostedZonesByVPCare implemented with AWS's refusals (PublicZoneVPCAssociation,ConflictingDomainExists,VPCAssociationNotFound,LastVPCAssociation). A Cloud Map private DNS namespace's zone carries the namespace VPC. Contributed by @kharabasz.
Fixed
- S3 — access points — under
AUTH=truea request through an access point alias or ARN is now checked on both the access point and its bucket, withs3:DataAccessPointArn,s3:DataAccessPointAccountands3:AccessPointNetworkOrigin, and the access point's Block Public Access settings apply to requests through it (BlockPublicAclsrefuses a public ACL with 403AccessDenied). Contributed by @iot-rocket. - S3 Control — access point, Object Lambda and Multi-Region Access Point requests authorize the operation they run — the IAM action was read from the path separately from the handler, so an extra segment, a double slash or a resource named
policyran an operation without its action; the action now comes from the route served, a method a resource lacks answers 405MethodNotAllowedand an unparseable path 400InvalidURI. Contributed by @iot-rocket. - S3 — replication rule options —
PutBucketReplicationdroppedSourceSelectionCriteria,EncryptionConfiguration,ReplicationTimeandMetrics; they are now stored, returned and validated with AWS's codes and order (MalformedXML,InvalidArgument,InvalidRequest). Contributed by @kharabasz. - S3 —
EUlocation constraint — eu-west-1 accepts the legacyEUconstraint again and homes the bucket in eu-west-1,GetBucketLocationanswersEUfor it, and other regional endpoints still refuse it. Contributed by @toby6578. - CloudFormation — S3 bucket CORS, Block Public Access and website —
AWS::S3::BucketdroppedCorsConfiguration,PublicAccessBlockConfigurationandWebsiteConfiguration; they are now stored on create, replaced on update and deleted when an update removes them. Contributed by @iot-rocket. - Lambda — Node.js functions — under
USE_SSL=1Node requests to the gateway keep TLS on the gateway port in both executors, socfn-responsecallbacks and SDK calls work, and the generated certificate nameshost.docker.internal. The local executor's SDK stubs now sign with the function's credentials, so a call lands in the function's account and runs as its execution role. Contributed by @iot-rocket. - ELBv2 — listener TLS settings and rule transforms — HTTPS and TLS listeners keep
SslPolicy(defaultELBSecurityPolicy-2016-08) and their certificate, and more than one certificate answersTooManyCertificates(Up to '1' certificate ARNs can be specified, but '2' were specified). Rules keep theirurl-rewriteandhost-header-rewriteTransforms, validated as AWS does, also fromAWS::ElasticLoadBalancingV2::ListenerRule. Contributed by @kharabasz. - Cognito — trigger events and user errors — the pre token generation event carries its version,
TokenGeneration_NewPasswordChallengeandClientCredentials, and every trigger'sawsSdkVersionisaws-sdk-unknown-unknown. Unknown users answerUser does not exist.(Username/client id combination not found.on the client calls withPreventUserExistenceErrorsLEGACY), andChangePasswordchecksPreviousPassword. Contributed by @iot-rocket and @jun-ut. - Step Functions — encryption and
aws-sdk:ec2snapshots — state machines keep and validateencryptionConfiguration(AWS_OWNED_KEYwhen unset, a 300-second key reuse period by default), also inAWS::StepFunctions::StateMachine, andaws-sdk:ec2snapshot results name their lifecycleState. Contributed by @kharabasz and @bandle. - SQS — message digests — a FIFO dedup hit answers the current request's
MD5OfMessageBodyandMD5OfMessageAttributes, andReceiveMessagecomputesMD5OfMessageAttributesover the attributes it returns, so SDKs that verify them no longer fail. Contributed by @vanessah07 and @Xevos117. - EventBridge — archive KMS keys —
CreateArchiveandUpdateArchivekeepKmsKeyIdentifierandDescribeArchivereturns it;ListArchivesentries carry only theArchivesummary fields. Contributed by @kharabasz. - WAF v2 — duplicate names —
CreateIPSetandCreateRuleGrouprefuse a name already used in the scope, and all four creates answerWAFDuplicateItemExceptionwithAWS WAF couldn’t perform the operation because some resource in your request is a duplicate of an existing one.Contributed by @OS-kiranmalsetty. - IoT —
#does not match the level above it — a filter ending in/#no longer receives messages published to the level above it, as on AWS IoT Core. Contributed by @iot-rocket. - SSM — public latest Amazon Linux AMI parameters —
/aws/service/ami-amazon-linux-latest/al2023-ami-kernel-default-x86_64and the Amazon Linux 2 parameter resolve, also as CloudFormationAWS::SSM::Parameter::Value<AWS::EC2::Image::Id>defaults. Contributed by @bandle. - Athena — CSV tables with DuckDB 2.0 — DuckDB 2.0's
type_pushdownoptimizer made the CSV reader'sTRY_CASTstrict, failing queries on values of another type; it is disabled on the Athena connection.
[1.5.30] — 2026-10-20
Added
- Auth — more calls are authorized under
AUTH=true— RDS Data calls are authorized asrds-data:<operation>on the cluster itsresourceArnnames, S3 ControlListTagsForResource,TagResourceandUntagResourceass3:<operation>on the bucket, and SES v2 calls asses:<operation>on the resource the path or create body names (*otherwise), each with AWS's 403 denial (AccessDeniedException, S3 ControlAccessDenied) naming the action and resource. S3 bucket and identity policies now sees3:x-amz-server-side-encryption(a part and the completion take theirCreateMultipartUpload's),s3:x-amz-acl,s3:x-amz-grant-*and, onGetObjectandHeadObject,s3:ExistingObjectTag/<key>. S3 Tables and Glue Iceberg REST calls at/icebergare authorized for the catalog that serves them, whatever service they are signed for: on a table bucket as thes3tablesactions AWS lists for the operation (loadTableneedsGetTableMetadataLocation, thenGetTableData) on the bucket or table (table/*for one that does not exist), on the Glue catalog as the route'sglueaction on the catalog, then the database, then the table, andtransactions/commitasupdateTableon each table it changes; a denial answers 403 in the Iceberg error shape naming the action and resource ("Access Denied" for a later S3 Tables action, no body forHEAD), a{prefix}that is neither a table bucket ARN nor<account>:s3tablescatalog/<bucket>answers 400bad_request, and a call that names a key is served from its own region only. Contributed by @iot-rocket. - IoT — MQTT over WebSocket follows the signer's IAM policies under
AUTH=true— a session signed with an IAM user or STS key could connect under any client id and publish, subscribe and receive anywhere; its CONNECT, will, PUBLISH, SUBSCRIBE and deliveries now neediot:Connect,iot:Publish(andiot:RetainPublish),iot:Subscribeandiot:Receiveon the client, topic and topic filter ARNs, with a certificate session's refusals. The handshake (and anAWS_IAMWebSocket$connect) has its signature, date and session token verified: IoT answers 403Forbiddenand expects the token after the signed part of the URL, API Gateway names the canonical string it expected, and the session runs in the signer's account. Contributed by @iot-rocket. - Cognito — user pool feature plans —
CreateUserPool,UpdateUserPoolandAWS::Cognito::UserPoolignoredUserPoolTier; a pool now stores and describes its tier (ESSENTIALSby default,PLUSwhen created with threat protection on), keeps it when an update omits it, and refuses threat protection onESSENTIALSand password history onLITEwithFeatureUnavailableInTierExceptionor, on a tier change,TierChangeNotAllowedException. Contributed by @iot-rocket.
Fixed
- Auth — unverifiable credentials under
AUTH=true— a request naming an IAM user's key in a SigV2 header, another SigV4 algorithm (AWS4-HMAC-SHA512), a header withoutCredential=or a queryX-Amz-Credentialthe signature does not cover was served as that user; it now answersIncompleteSignature(S3:InvalidRequest), and SigV2 header and presigned signatures are verified. A request that maps to no IAM action (SES v2, RDS Data, S3 Control, X-Ray) is authenticated and answers the service's credential error (InvalidSignatureException403 from SES v2 and RDS Data,SignatureDoesNotMatch403 from S3 Control), and an SES v2 call selected byX-Amz-Targeton a path without/v2/emailis authorized as the operation it performs. A SigV4 header or presigned query that names no access key ran as the account root; it now answersIncompleteSignaturenaming every missing part (Lambda:MissingAuthenticationTokenExceptionfor a part left out), and an empty key the unknown-key error. Contributed by @iot-rocket. - API Gateway — credentials under
AUTH=true— a REST method withNONEorCOGNITO_USER_POOLSauthorization, or an HTTP API route without authorization, refused a signed caller its policies or signature failed; such a call now reaches the method and its own authorizer whatever it is signed with, and a REST API policy judges aNONEmethod's caller as anonymous (ACCESS_DENIEDunless the policy allows everyone). A correctly presigned call (X-Amz-Signature) to anAWS_IAMmethod is served instead of 403MissingAuthenticationTokenException.CreateRestApi,GetRestApi,GetRestApisandUpdateRestApinow returnapiStatusAVAILABLEandrootResourceId, which Terraform AWS provider 6.x waits on. Contributed by @iot-rocket. Reported by @kharabasz. - AppSync — GraphQL authorization — under
AUTH=truea GraphQL call was authorized asappsync:UpdateGraphqlApiwhatever the API's authentication type, and anAWS_IAMAPI served anyAWS4-HMAC-SHA256header. On/v1/apis/{apiId}/graphqland on the API's own host an API key request now ignores its signature, and anAWS_IAMAPI needs a verified signature and authorizesappsync:GraphQLper top-level field (401Permission deniedwhen none is allowed, a field error per denied field, 400BadRequestExceptionfor a wrong signature). Contributed by @iot-rocket. - AppSync — data-plane errors — Event API
POST /eventrefusals answered{"__type", "message"}, and GraphQL answered 500 for a body that is not a JSON object or a non-stringqueryor non-objectvariables, a message-only 400 for a missing query and 200 for an unparseable one; both now answer AWS's{"errors": [{"errorType", "message"}]}envelope andx-amzn-ErrorType(SerializationException,MalformedHttpRequestException,ResourceNotFoundExceptionfor an unknown API or key,UnknownOperationExceptionfor another path on an Event API host), and publish answersapplication/json. Contributed by @iot-rocket. - Cognito — tokens under
AUTH=true—/oauth2/userInforeturned the user's attributes for any JWT with a user'ssub; it now refuses an ID token, an altered, revoked or expired token, a disabled or deleted user and a token without theopenidscope with 401invalid_token, AWS'serror_descriptionand aWWW-Authenticaterealm of the pool's issuer.AdminDisableUserrevokes the user's tokens (User is disabled., thenAccess Token has been revoked/Refresh Token has been revokedandinvalid_grantafterAdminEnableUser), a deleted user's access token getsUserNotFoundException: User does not exist., and refresh tokens are signature-checked and refused for a disabled user or a deleted user's successor. ID tokens carryemail_verifiedandphone_number_verifiedas JSON booleans, as AWS does; userInfo and the attributes keep them as strings. Contributed by @iot-rocket and @SAY-5. Reported by @proeben. - Cognito — identity
Loginsand OAuth scopes — underAUTH=trueGetId,GetCredentialsForIdentityandGetOpenIdTokentook any token inLogins; they now refuse an unsupported provider, a token that is no ID token of a trusted client, a bad signature, one expired over five minutes or another user's login withNotAuthorizedException(Access to Identity '<id>' is forbidden.withoutLogins),GetIdreturns the identity that holds the login, and the first login is linked. A call on an identity without a login answers for the identity that holds its login, an identity with a login takes the logins of the identities holding the others, and a merged-away identity is listed with["DISABLED", "<region>"](ListIdentitiesHideDisabledleaves it out)./oauth2/authorizewith anidentity_providerredirects witherror_description=invalid_scopefor a scope outsideAllowedOAuthScopes, andclient_credentialsignores undefined scopes once a defined one is requested (api/read bogus/xgetsapi/read). Contributed by @iot-rocket. - IoT — reserved MQTT topics — a client could subscribe to any
$filter and publish to the replies AWS IoT writes (fleet provisioning, Jobs, Device Defender, file delivery, Device Location, commands); the broker now refuses them before the policy check (SUBACK 0x8F, PUBACK 0x90 or DISCONNECT 0x90 at QoS 0, a closed connection on 3.1.1), judges a$share/<name>/<filter>subscription by its filter, and HTTPSPublishanswersTopic can't start with $for fleet provisioning and Device Location replies. Contributed by @iot-rocket. - IoT — Jobs — a stale
expectedVersionanswered 409 and now answers 400InvalidRequestException(VersionMismatchover MQTT); a status a device may not set is refused first withInvalidStateTransitionException; astatusDetailsthat is not a string map answers 400 instead of 500, an execution has none until a device reports some, and an empty map replaces it; MQTTgetandupdateanswerResourceNotFoundfor anotherexecutionNumber; describe and list calls time out expired executions; documents that are not JSON or nest over 1000 levels are refused; and Jobs MQTT messages are compact UTF-8 in AWS's member order,clientTokenfirst, characters outside the BMP escaped,"jobDocument":nullkept. Contributed by @iot-rocket. - IoT — shadows, topic rules, sessions and authorization —
NaNandInfinityin job documents and shadows are refused (Payload contains invalid json), and a number beyond a double is stored as"Infinity"; unknown topic rules answer 401UnauthorizedException(Access to topic rule '<name>' was denied) and bad names, including a trailing newline, AWS's validation message; unacknowledged QoS 1 messages survive a persistent session reconnect without reusing an in-flight packet id. UnderAUTH=truethe data plane answers 403ForbiddenException,aws:ResourceTagconditions read the resource's tags, tagging calls are checked on theresourceArn, and denials name the resource. Contributed by @iot-rocket. - S3 — ACLs and Block Public Access —
x-amz-grant-*headers were refused withMissingSecurityHeaderor dropped; on buckets with ACLs enabledPutBucketAcl,PutObjectAcl,CreateBucket,PutObjectandCopyObjectnow set exactly the named grants and refuse what S3 refuses, and aBucketOwnerEnforcedbucket answers 400AccessControlListNotSupported.BlockPublicAclsrefuses setting a public ACL (403AccessDenied),IgnorePublicAclsdrops public grants,RestrictPublicBucketsthe policy,BlockPublicPolicyrefuses a public bucket policy, and a bucket ACL grants only what its permission covers. Contributed by @iot-rocket. - S3 — copy and policy checks under
AUTH=true— a copy source in another account's bucket is checked for read access,x-amz-*headers sent in the query string are checked like headers, bucket policies for anonymous and cross-account callers use the request's own action and condition keys, ands3:ExistingObjectTagresolves through an access point alias. A header-signedPutObjectchecks the bucket name, regional endpoint and signing region before credentials and a missing bucket after them, answeringInvalidBucketName,PermanentRedirect,AuthorizationHeaderMalformed,InvalidAccessKeyId,SignatureDoesNotMatchorNoSuchBucketwith S3's XML fields. Contributed by @iot-rocket and @gakuto-cw21. - S3 — bucket configuration validation — out-of-enum values in
PutBucketVersioning,PutBucketLifecycleConfigurationandPutBucketEncryptionnow answer 400MalformedXML(The XML you provided was not well-formed or did not validate against our published schema), and a non-positiveDaysorNoncurrentDays400InvalidArgument('Days' for Expiration action must be a positive integer). - CloudWatch — composite alarms follow their rule — a composite alarm stayed in
INSUFFICIENT_DATA; it now evaluates itsAlarmRuleon create, update and every child state change, with AWS'sStateReason,StateReasonDataand history.PutCompositeAlarmrefuses an unknown child or a malformed rule (also one nested over 256 levels) withValidationError, a longAND/ORchain no longer answers 500,DeleteAlarmsand stack deletes refuse an alarm a composite depends on andDeleteAlarmsmore than one composite, andDescribeAlarmHistoryreturns composite items only forAlarmTypes=["CompositeAlarm"]. Contributed by @iot-rocket. - IAM — trust policies with
NotPrincipal—CreateRole,UpdateAssumeRolePolicyandAWS::IAM::Rolestored them; they now answerMalformedPolicyDocument(Allow with NotPrincipal is not allowed.,AssumeRole policy must not contain NotPrincipal field.). Contributed by @iot-rocket. - CloudTrail —
RecursiveLoggingon trails —CreateTrailandUpdateTrailignored it; trails now store it (defaulttrue, kept by anUpdateTrailwithout it) and return it from every trail response. Contributed by @iot-rocket. - CloudFormation — callback URLs under
USE_SSL=1— the custom resourceResponseURLand theWaitConditionHandleURL were alwayshttp://, which the TLS-only gateway drops, so a handler'surllibPUT never arrived and the stack waited outServiceTimeout; both are nowhttps://whenUSE_SSLis on, and MiniStack's Lambdas getSSL_CERT_FILEset to the gateway's CA bundle, which Python'ssslreads. Contributed by @iot-rocket.
[1.5.29] — 2026-10-17
Added
- Managed Service for Apache Flink — control plane —
kinesisanalyticsv2applications for theFLINK-*runtimes: create, describe, update and delete, start and stop with the model's status transitions, snapshots, CloudWatch logging options and tags, per account and region. Updates bumpApplicationVersionIdand theConditionalToken, and a stale one returnsConcurrentModificationException. CloudFormation creates, updates and deletesAWS::KinesisAnalyticsV2::Application,AWS::KinesisAnalyticsV2::ApplicationCloudWatchLoggingOptionandAWS::Logs::LogStream, so a CDK Flink stack deploys. Contributed by @Jolley71717. - Managed Service for Apache Flink — job execution — with Docker available, starting a
FLINK-1_19orFLINK-1_20application runs its jar from MiniStack S3 in the official Apache Flink image (1.19.1 or 1.20.5, Java 11) with a JobManager and a TaskManager, its runtime properties at/etc/flink/application_properties.json, its configured parallelism and checkpointing, and its AWS calls pointed at MiniStack in the application's account. Snapshots are Flink savepoints, restores resume the job's state, and a job that fails to start returns the application toREADY. Jars in/opt/ministack/flink-lib(for example a mountedaws-kinesisanalytics-runtime) are added to every cluster. Without Docker the control plane behaves as before. Contributed by @Jolley71717. - S3 Access Points — S3 Control
CreateAccessPoint,GetAccessPoint,ListAccessPoints,DeleteAccessPointandPut/Get/DeleteAccessPointPolicy. The bucket must be in the request's region, names are unique per account and region, and errors follow AWS (AccessPointAlreadyOwnedByYou,NoSuchAccessPoint). Requests through an access point ARN (<name>-<account>.<host>) or its-s3aliasalias reach the bucket, including as aCopyObjectsource; signing for another region gets the bucket-region redirect with the access point's region.DeleteBucketrefuses a bucket with access points. CloudFormation provisionsAWS::S3::AccessPoint, and underAUTH=trueeach operation needs itss3:action. Contributed by @fabio-andre-rodrigues. - S3 Object Lambda — S3 Control
Create/Get/List/DeleteAccessPointForObjectLambda,Get/PutAccessPointConfigurationForObjectLambdaand the policy operations, with the supporting access point and Lambda in the same account and region.GetObjectthrough an Object Lambda ARN or--ol-s3alias invokes the Lambda with the documentedgetObjectContext(a presignedinputS3Urlthrough the supporting access point,outputRoute,outputToken) and returns what it writes withWriteGetObjectResponse.HeadObject,ListObjectsandListObjectsV2transformations return the Lambda's JSON result; operations without a transformation pass through;RangeandpartNumberneedAllowedFeatures; Lambda failures map toLambdaRuntimeError,LambdaResponseNotReceived,LambdaTimeoutandLambdaNotFound. CloudFormation provisionsAWS::S3ObjectLambda::AccessPointandAccessPointPolicy. AWS no longer onboards new Object Lambda customers, so the data plane follows the S3 user guide. Contributed by @fabio-andre-rodrigues. - Lambda —
AWS_DISABLE_HOST_PREFIX_INJECTION=trueby default — Lambda environments set it unless the function does, so boto3 in a handler reachesWriteGetObjectResponsewithout the<route>.<host>prefix, which doesn't resolve locally. SDKs that ignore the variable need their host-prefix injection turned off in client config. Contributed by @fabio-andre-rodrigues.
Fixed
- Cognito / API Gateway — OAuth scope refusals — a client credentials grant that named a scope the client lacks, or one that doesn't exist, dropped it and issued a token;
/oauth2/tokennow refuses the whole request with 400invalid_grantorinvalid_scope, and a REST API method whose authorization scopes match none in the access token answers 401Unauthorized(theUNAUTHORIZEDgateway response) instead of 403. Contributed by @gakuto-cw21. - S3 — browser POST policies are enforced — a form upload was written whatever its policy said; an expired policy, a field that fails a condition or a field the policy doesn't cover now answers 403
AccessDenied(Invalid according to Policy: …), and underAUTH=truethe SigV4 or SigV2 signature and the signer'ss3:PutObjectpermission are checked. Contributed by @kinoh. - CloudWatch Logs — event order across streams and pages —
FilterLogEventsstopped atlimitbefore sorting across streams, so a newer event could displace an older match; events now merge across streams by timestamp, then ingestion time, andsearchedLogStreamsis empty, as on AWS.GetLogEventsexcludes events atendTime, and its tokens no longer repeat or skip events when late events arrive. Contributed by @kinoh. - Lambda —
RevisionIdon updates —UpdateFunctionCode,UpdateFunctionConfigurationandUpdateAliasignoredRevisionId; a stale one now answers 412PreconditionFailedExceptionbefore anything changes. Contributed by @kinoh. - SQS — an empty policy removes it —
SetQueueAttributeswith an emptyPolicyorRedriveAllowPolicystored the empty string, and an emptyRedrivePolicywas refused; each now removes the attribute, as Terraform's policy resources expect. Contributed by @kinoh. - AppSync Events —
eventis a string — subscribers'datamessages carriedeventas a one-element array; it is now the JSON-encoded string, as AWS sends it. Contributed by @edbramwell. - S3 — Object Lock is per version — retention and legal holds were stored per key, so a lock on one version blocked permanent deletes of the key's other versions; they now belong to the version they were set on,
GetObjectRetention,PutObjectRetentionand the legal-hold calls takeversionId, and aDeleteObjectorDeleteObjectswithout aVersionIdon a locked key adds a delete marker instead of answering 403. Reported by @bettiah. - S3 — Object Lock headers need an Object Lock bucket —
PutObject,CopyObject,CreateMultipartUploadand browser POST uploads withx-amz-object-lock-*headers on a bucket created without Object Lock applied the lock; they now answer 400InvalidRequestBucket is missing ObjectLockConfiguration. Reported by @bettiah. - KMS —
ScheduleKeyDeletionwindow — aPendingWindowInDaysoutside 7–30 was accepted; it now answersValidationExceptionPendingWindowInDays must be between 7 and 30. Reported by @bettiah. - KMS — RSASSA-PSS salt — signatures used a maximum-length salt; they now use a salt as long as the digest, as AWS does, and
Verifyexpects the same. Reported by @bettiah. - KMS — RSA encryption algorithms —
EncryptandDecryptused OAEP SHA-256 whateverEncryptionAlgorithmnamed; they now useRSAES_OAEP_SHA_1orRSAES_OAEP_SHA_256as named, so a mismatchedDecrypt, or one withoutEncryptionAlgorithm, answersInvalidCiphertextException, and anEncryptwith an algorithm the key doesn't support answersInvalidKeyUsageException. Reported by @bettiah. - KMS —
SignandVerifyinput checks — a digest of the wrong length or an algorithm the key spec doesn't support crashed with a 500; they now answer 400ValidationException(Digest is invalid length for algorithm …) andInvalidKeyUsageException, and an unknown algorithm name answers the enumValidationException. Reported by @bettiah. - CloudFormation —
AWS::S3::MultiRegionAccessPointRefwhen the access point exists — a create that found an existing Multi-Region Access Point of the same name returned its alias as the physical id;Refnow returns the name in that case too.
[1.5.28] — 2026-10-16
Added
- RDS —
DescribeEventswith reboot events —DescribeEventsreturns theavailabilityeventDB instance restarted.once aRebootDBInstancehas finished, filtered by source, source type, category and time, paged withMarkerand kept for 14 days; other RDS lifecycle events are not recorded yet. Contributed by @jayjanssen. - S3 Control — Multi-Region Access Points —
CreateMultiRegionAccessPoint,DeleteMultiRegionAccessPoint,PutMultiRegionAccessPointPolicy,DescribeMultiRegionAccessPointOperation,GetMultiRegionAccessPoint,GetMultiRegionAccessPointPolicy,ListMultiRegionAccessPoints,GetMultiRegionAccessPointRoutesandSubmitMultiRegionAccessPointRoutes. The async operations apply at once andDescribereportsSUCCEEDED, orFAILEDwith AWS'sErrorDetailsfor a missing bucket, two buckets in one region or a name already in use. Management is served fromus-west-2and route operations fromus-east-1,us-west-2,eu-west-1,ap-northeast-1andap-southeast-2, as on AWS; other regions get301 PermanentRedirect.DeleteBucketon a member returnsBucketHasAccessPointsAttached. UnderAUTH=trueeach operation needs itss3:IAM action andx-amz-account-idmust name the caller's account. Access points fromAWS::S3::MultiRegionAccessPointappear in the API. Contributed by @fabio-andre-rodrigues. - S3 — Multi-Region Access Point failover — a request through the MRAP host goes to the member with a traffic dial of 100 that is homed in
MINISTACK_REGION, else the first active member. Setting a dial to 0 moves traffic to the other member, and an update that leaves every dial at 0 is refused. Contributed by @fabio-andre-rodrigues. - CloudFormation —
DescribeEvents— returns the validation errors of a create that fails pre-deployment validation, which the stack'sCREATE_FAILEDevent tells the caller to look up; every request member is optional. Contributed by @fabio-andre-rodrigues. - WAF v2 — regex pattern sets —
CreateRegexPatternSet,GetRegexPatternSet,UpdateRegexPatternSet,DeleteRegexPatternSetandListRegexPatternSetsnow manage regional and CloudFront-scoped regex pattern sets, with their ARN (regexpatternset), tags andLockTokenchecks on update and delete (WAFOptimisticLockExceptionfor a stale token), as AWS does. Web ACL and rule group rules are stored as sent, so aRegexPatternSetReferenceStatementpointing at a pattern set ARN round-trips; the statement is not evaluated, as MiniStack does not inspect requests. Contributed by @OS-kiranmalsetty. - IoT — job rollout rates —
jobExecutionsRolloutConfigwas stored but every execution was created at once; a job now createsmaximumPerMinuteexecutions a minute, or a rate that starts atbaseRatePerMinuteand grows byincrementFactorfor everyrateIncreaseCriteriastep of notified or succeeded things, notifies each thing when its execution is created, reportsisConcurrentuntil the last batch and stops when the job is canceled or deleted. Contributed by @iot-rocket. - Health —
authfield —/_ministack/healthreports"auth": "enabled"or"disabled", the effectiveAUTHmode. Contributed by @jgrumboe. - Auth — REST API resource policies are evaluated under
AUTH=true— an API Gateway resource policy took no part in the decision; for anexecute-api:Invokea statement naming the calling user or role now allows the call without an identity policy, a statement naming only the account still needs one, a Deny wins over an identity Allow, and a call without a SigV4 signature (none, or a bearer token) to a method without authorization passes only when the policy, if any, allows everyone, else it answersACCESS_DENIEDwith API Gateway's message. Contributed by @iot-rocket. - Auth — KMS key policies are evaluated under
AUTH=true— a key policy took no part in the decision; it now has to allow even in the key's own account: a statement naming the calling user or role allows the call without an identity policy, identity policies count only when the key policy has a statement for the account (the default key policy does), and a Deny wins over an identity Allow. Contributed by @iot-rocket. - Auth — ECR repository policies count under
AUTH=true— a repository policy took no part in the decision; a statement naming the calling user or role now allows the call without an identity policy, a statement naming only the account still needs one, and a Deny wins over an identity Allow. Contributed by @iot-rocket. - Auth — Secrets Manager resource policies count under
AUTH=true— a secret's resource policy took no part in the decision; a statement naming the calling user or role now allows the call without an identity policy, a statement naming only the account still needs one, and a Deny wins over an identity Allow. Contributed by @iot-rocket. - Auth — Lambda function policies count under
AUTH=true— anAddPermissionstatement naming the calling user or role did not let a caller without an identity policy in; it now allows the actions it names (InvokeFunction,GetFunction, ...), while a statement naming only the account still needs an identity Allow, and a call that names the function by ARN is checked against that ARN. Contributed by @iot-rocket. - Auth — bucket policies count under
AUTH=truein the owner's account — a bucket policy was consulted only for another account's requests; in the owner's account a statement naming the calling user or role now allows the request without an identity policy, a statement naming only the account still needs one, and a Deny wins over an identity Allow, CDK'saws:SecureTransportDeny on the bootstrap bucket included. Contributed by @iot-rocket. - Auth — queue and topic policies count under
AUTH=true— a queue or topic policy statement naming the calling user or role did not let a caller without an identity policy in; in the owner's account it now allows the call, a statement naming only the account still needs an identity Allow, and across accounts both have to allow. A denial answersAuthorizationErroron SNS and reportsAccessDeniedto SDKs on SQS, its message says "with an explicit deny in a resource-based policy" when the resource's policy denied, and the check reads the queue of the account theQueueUrlnames. Contributed by @iot-rocket. - IoT —
EnableTopicRuleandDisableTopicRule— both calls were missing (POST /rules/{ruleName}/enableansweredInvalid ruleName), so a rule could only be switched off by replacing it; they now setruleDisabled, whichGetTopicRuleandListTopicRulesreport and which stops the rule from acting on matching publishes and Basic Ingest until it is enabled again. Contributed by @iot-rocket. - IoT — job documents from S3 —
CreateJobandCreateJobTemplateread adocumentSource(s3://or an S3 object URL) from MiniStack's S3 once, at creation, where they stored a{"documentSource": "<url>"}placeholder. A missing bucket or object, an object that is not JSON or is over 32 KB and a URL that names no S3 host are refused with AWS's messages, andCreateJobrefusesdocumenttogether withdocumentSource. Devices get every job document re-serialized as AWS sends it, without spaces and without object members that are null, whileGetJobDocumentkeeps the stored text. Contributed by @iot-rocket. - IoT — presigned URLs in job documents — devices got
${aws:iot:s3-presigned-url:<url>}and${aws:iot:s3-presigned-url-v2:<url>}placeholders as written; theiot-jobs-dataAPI and the MQTT jobs topics now replace each with a SigV4 presigned GET URL of MiniStack's S3, signed with a session ofpresignedUrlConfig.roleArnand valid forexpiresInSec, andCreateJobandCreateJobTemplaterefuse a placeholder without a role or an S3 object URL with AWS's messages. Contributed by @iot-rocket. - IoT — fleet provisioning by claim —
CreateProvisioningClaimissues a five-minute claim certificate that the mTLS listener accepts until it expires, and a device connected with it (or with any registered certificate) gets a certificate from$aws/certificates/create/jsonand registers itself through$aws/provisioning-templates/<name>/provision/json: the template's parameters,RefandFn::Joinare resolved, the thing is created or checked against itsOverrideSettings, and the certificate is activated and attached to the thing and the template's policies, with AWS's replies and rejections on the requesting connection; withAUTH=truea claim connection is limited to the certificate topics and its own template's, as on AWS. Contributed by @iot-rocket. - IoT — pre-provisioning hook —
RegisterThingover MQTT now invokes the template'spreProvisioningHookLambda before the template is resolved and applies its answer the way AWS does:parameterOverridesare merged into the device's parameters,allowProvisioning: falseis rejected asAccessDenied, and a function that fails, answers in another shape, takes longer than six seconds or may not be invoked gets AWS'sInvocationErrororInvalidResult.CreateProvisioningTemplateandUpdateProvisioningTemplatecheck the hook like AWS (a Lambda function ARN, payload version2020-04-01, no hook on JITP templates, and an invoke permission foriot.amazonaws.comthat covers the template) and store the default payload version. Contributed by @iot-rocket. - IoT — provisioning template versions —
CreateProvisioningTemplateVersion,ListProvisioningTemplateVersions,DescribeProvisioningTemplateVersionandDeleteProvisioningTemplateVersionansweredUnsupported IoT pathandUpdateProvisioningTemplaterefused everydefaultVersionIdbut 1; a template now keeps up to five versions whose ids are never reused,setAsDefaultanddefaultVersionIdchoose the version thatDescribeProvisioningTemplatereturns andRegisterThingapplies, the default version cannot be deleted, and anAWS::IoT::ProvisioningTemplatewhoseTemplateBodychanges gets a new default version (deleting the oldest at the limit), all with AWS's errors, including its message for a body that is not JSON. Contributed by @iot-rocket. - Cognito —
UpdateUserPoolDomainandAWS::Cognito::UserPoolDomainstack updates —UpdateUserPoolDomainwas an unknown action; it now changes a domain'sManagedLoginVersionand a custom domain's certificate,CreateUserPoolDomainandDescribeUserPoolDomainreturn the version, and a second prefix domain on a pool is refused as on AWS. A stack update appliesManagedLoginVersionandCustomDomainConfigthrough it instead of running the create again, aDomainorUserPoolIdchange replaces the domain, the create keepsCustomDomainConfig,Refreturns the domain name andFn::GetAttreturnsCloudFrontDistribution. Contributed by @iot-rocket. - CloudFormation — SES configuration set updates —
AWS::SES::ConfigurationSetandAWS::SES::ConfigurationSetEventDestinationstored none of their options, tags or destinations, and a change re-ran the create; both now provision through the SES v2 calls and update in place, a removed option goes back to its default as on AWS, and only aNameorConfigurationSetNamechange replaces them. Contributed by @iot-rocket. - SES v2 — configuration set options and event destinations —
GetConfigurationSetreturned only the name and the tags given at creation; it now returns the tracking, delivery, reputation, sending, suppression, VDM and archiving options thatCreateConfigurationSetand the sevenPutConfigurationSet*Optionscalls set, and a call clears the members it leaves out, as on AWS.CreateConfigurationSetEventDestination,GetConfigurationSetEventDestinations,UpdateConfigurationSetEventDestinationandDeleteConfigurationSetEventDestinationare new.CreateConfigurationSetwith a name already in use is refused withAlreadyExistsExceptioninstead of replacing the set. Contributed by @iot-rocket. - IoT — job abort criteria — a job's
abortConfigwas stored but never acted on; once a device report, aCancelJobExecution, aDeleteJobExecutionor a timeout meets one of its criteria, the job is now canceled with reasonCodeABORT_CANCELand AWS's comment, together with itsQUEUEDexecutions.CreateJobandCreateJobTemplatestored anyabortConfig; they now refuse whatUpdateJobrefuses, and all three refuse a missing criterion member, a threshold of 0 or less or with more than two decimals, and a failure type given twice. ACancelJobwithoutforcenow reportsforceCanceledas false. Contributed by @iot-rocket.
Changed
- RDS — real instance reboot —
RebootDBInstancenow returnsrebooting, stops and starts its backing database container, and waits for SQL readiness before reportingavailable. Data and endpoint bindings are preserved. An instance that is notavailableanswersInvalidDBInstanceState, and a Docker failure reportsfailedrather than a successful reboot. Contributed by @jayjanssen.
Fixed
- CloudFront — function status follows publish and association —
DescribeFunctionandListFunctionsreported theDEVELOPMENTstage asUNPUBLISHEDeven afterPublishFunction, so Terraform'saws_cloudfront_function.status, which reads that stage, never leftUNPUBLISHED; once the current development version is published it now reportsUNASSOCIATED, orDEPLOYEDwhile a distribution's cache behavior references the function, and anUpdateFunctionmakes itUNPUBLISHEDagain until the next publish. Contributed by @fabio-andre-rodrigues. - S3 — bucket home region is enforced — a request signed for a region other than the bucket's now returns
301 PermanentRedirectwithx-amz-bucket-region, which SDKs follow; at the bucket's own regional endpoint it returns400 AuthorizationHeaderMalformedor, presigned,AuthorizationQueryParametersError, with<Region>. HEAD gets the bodiless forms.GetBucketLocation,ListBuckets,CreateBucket, unsigned, SigV2 and SigV4a requests, MRAP requests and internal callers are exempt, andCopyObjectfrom a source in another region still works. Contributed by @fabio-andre-rodrigues. - S3 —
CreateBucketlocation constraint (breaking) — a request signed for a region other thanus-east-1must name that region asLocationConstraint, or getsIllegalLocationConstraintException;LocationConstraint=us-east-1returnsInvalidLocationConstraint. Clients that created buckets in another region without a constraint now need one.BucketAlreadyOwnedByYouandBucketAlreadyExistscarry AWS's message and<BucketName>. Contributed by @fabio-andre-rodrigues. - S3 —
ListBucketsbucket-regionfilter —BucketRegionlists only that region's buckets, with pagination inside the filter; a filter for another region than the endpoint's returnsInvalidArgument. Contributed by @fabio-andre-rodrigues. - S3 — replication — delete markers replicate for V1 rules (no
Filter) and for V2 rules withDeleteMarkerReplicationenabled and no tag filter, fromDeleteObjectandDeleteObjects; version-id deletes don't. Rules withFilter.TagorFilter.And.Tagsreplicate only objects carrying those tags. Contributed by @fabio-andre-rodrigues. - SigV4a requests no longer land in region
s3— the region was read from a credential scope that SigV4a doesn't have; a single-regionX-Amz-Region-Setis used, else the default region. Contributed by @fabio-andre-rodrigues. - Lambda — S3 code from another region —
CreateFunction,UpdateFunctionCode,PublishLayerVersionand CloudFormation return AWS'sInvalidParameterValueExceptionwhen the code bucket is homed elsewhere. Contributed by @fabio-andre-rodrigues. - Resource Groups Tagging — S3 buckets by region —
GetResources,GetTagKeysandGetTagValueslist only buckets homed in the region they are called in. Contributed by @fabio-andre-rodrigues. - CloudFormation —
User Initiatedon stack events — the stack'sCREATE_IN_PROGRESSandUPDATE_IN_PROGRESSevents ofCreateStackandUpdateStackcarried no reason; they now carryUser Initiated, as AWS does. - CloudFormation —
AWS::S3::Bucketand existing names — anAWS::S3::BucketwhoseBucketNamealready exists, in this account or another, was adopted (another account's became a second bucket of that name); it now fails pre-deployment validation withNAME_CONFLICT_VALIDATION, or withDisableValidationthe resource's create with<name> already exists, as on AWS, and auto-named buckets get a new name for each stack instance.CreateStack,UpdateStackandCreateChangeSettakeDisableValidation, and an update now runs the same pre-deployment validation, ending inUPDATE_ROLLBACK_COMPLETEwithout touching a resource (a bucket the stack already owns is not a conflict). With rollback disabled, a failed validation emits AWS's secondCREATE_FAILEDevent (breaking: a stack no longer adopts a bucket left over from an earlier stack or an S3-only restore). Contributed by @fabio-andre-rodrigues. - AppSync — GraphQL requests on the API's own host — a
POST /graphqlto{apiId}.appsync-api.{region}.{host}, the endpointuris.GRAPHQLreports, was routed to AppSync Events when unsigned and found its API only byx-api-keywhen signed, so anAWS_IAMAPI could not be called there once a second API existed; the host label now selects the API (in the host's region for an unsigned request) and/graphqlon an Event API host answers404 ResourceNotFoundException, as on AWS. Contributed by @iot-rocket. - Cognito — no ID token without
openid— the/oauth2/tokenauthorization code and refresh token grants returned anid_tokenwhatever was granted; they now return one only when the grant carriesopenid, as AWS does, and a refresh token fromInitiateAuthorAdminInitiateAuthstill gets one. Contributed by @iot-rocket. - Cognito — token endpoint access tokens carry the granted scopes —
/oauth2/tokenwroteaws.cognito.signin.user.admininto every access token whatever was granted; the authorization code, client credentials and refresh token grants now write the requested scopes the app client allows (all of them when none are requested, only resource server scopes for client credentials) in the order AWS lists them, refreshed tokens keep the original scopes, and the pre token generation event'srequest.scopeslists them, so API Gateway scope checks decide as on AWS. Contributed by @iot-rocket. - S3 — object ACL grants answer another account's read — a bucket owned by another account refused every read that only the object ACL granted: the ACL was looked up under the wrong version, and a grant to the caller's canonical ID was never read. With ACLs enabled, a
READgrant to the account or a group now opensGetObjectandHeadObjectof the version it was set on,?versionId=included, andREAD_ACPopensGetObjectAcl; a grant to one account is not public, so Block Public Access leaves it in force. Contributed by @iot-rocket. - CloudWatch —
DescribeAlarmsandDescribeAlarmHistorypaging — both returned at mostMaxRecordsitems (default 100) and never aNextToken, so a paginator stopped after the first page; they now return aNextTokenwhile more items match, default to 50 items and refuse aMaxRecordsoutside 1 to 100 withValidationError.DescribeAlarmsnow lists metric and composite alarms in one name-ordered sequence thatMaxRecordscounts together, andDescribeAlarmHistorylists the newest items first unlessScanByisTimestampAscending.DescribeAlarmswithoutAlarmTypesnow returns metric alarms only, as on AWS; composite alarms needAlarmTypes=["CompositeAlarm"]. Contributed by @iot-rocket. - CloudWatch Logs — a log group's resource policy by
resourceArnalone —PutResourcePolicyandDeleteResourcePolicyrefused aresourceArnwithoutpolicyName; they now take it, store the group's policy without a name and with a countingrevisionId, and answer a request with neither field or a revision conflict with AWS's errors.AWS::Logs::LogGroupnow creates, rewrites and removes the group's own policy fromResourcePolicyDocument. Contributed by @iot-rocket. - CloudTrail — trail read-backs and recording switched on at runtime —
GetTrailandDescribeTrailsreturned the storedIsLogging,_StartedAtand_StoppedAtkeys and emptyS3KeyPrefixandSnsTopicNamemembers, andGetTrailStatusleft out the six deprecated string members and movedStopLoggingTimewhen a stopped trail was stopped again; they now answer in AWS's shapes, with the start and stop times in milliseconds, and keep the last stop time. Recording switched on through/_ministack/configbegan only after the first CloudTrail API call and now starts with the next request. Contributed by @iot-rocket. - ACM / Signer — certificate key and in-use refusals —
ImportCertificateaccepted a call without aPrivateKeyand now answers AWS'sValidationException;DeleteCertificateremoved a certificate an Active Signer signing profile uses and now answersResourceInUseException, with those profiles listed inDescribeCertificate'sInUseBy;CancelSigningProfileanswered 200 with{}and now answers 204 with an empty body, as on AWS. Contributed by @iot-rocket. - IoT — not-found messages match AWS — a call naming a thing, thing type, thing group, certificate, CA certificate, principal, policy, policy version, job, job execution, job target or provisioning template that does not exist answered
ResourceNotFoundExceptionwith a generic<Resource> '<name>' not found, and the device jobs plane (HTTP and MQTT/rejected) withNo job execution found for thing … and job …; each now carries the wording AWS uses for that operation, with the same error code and status. Contributed by @iot-rocket. - IoT Jobs — terminal job executions on the device plane — a device's
DescribeJobExecution(HTTP and the MQTTgettopic) of a SUCCEEDED, FAILED, REJECTED, TIMED_OUT, CANCELED or REMOVED execution answered with the execution; it now answersTerminalStateException(410) andTerminalStateReachedover MQTT, as AWS does.UpdateJobExecutionandCancelJobExecutionof a terminal execution now refuse with AWS's messages (over MQTTInvalidStateTransitionwith theexecutionState), a refused status such as QUEUED is checked first, and a device that reports SUCCEEDED or FAILED straight from QUEUED now stampsstartedAt. Contributed by @iot-rocket. - IoT / CloudFormation — stack tags and provisioning templates — stack-level tags never reached IoT resources; they now reach thing types, thing groups, policies, topic rules, CA certificates and provisioning templates without the
aws:cloudformation:tags (job templates get none, as on AWS), and an update that only changes tags no longer adds a policy version. AnAWS::IoT::ProvisioningTemplateEnabledof"false"from a parameter or the template enabled the template; it now disables it.CreateProvisioningTemplateand the CloudFormation type accepted any certificate resource; they now refuse one without aStatusofActiveorInactive(any case) or whoseCertificateIdis not a reference toAWS::IoT::Certificate::Id, a second certificate resource and a resource withoutProperties, with AWS's messages. Contributed by @iot-rocket. - IoT — device certificates take the mode of their CA — a device certificate registered under a CA in
SNI_ONLYmode, with or withoutcaCertificatePem, or created by just-in-time registration reportedcertificateModeDEFAULT; it now takes its CA's mode, and RegisterCertificateWithoutCA staysSNI_ONLY. Contributed by @iot-rocket. - IoT — deletes of unknown resources and
DeleteThingexpectedVersion—DeleteThing,DeleteThingType,DeleteThingGroup,RemoveThingFromThingGroupwith an unknown group andDetachPolicywith an unknown policy answeredResourceNotFoundException, andDeleteThingignoredexpectedVersion; they now answer 200 as AWS does, andDeleteThingrefuses a wrongexpectedVersionwithVersionConflictExceptionbefore the attached-principal check. Contributed by @iot-rocket. - CloudFormation — IoT policy and thing type deletes check what still uses them — a stack delete removed an
AWS::IoT::PolicyorAWS::IoT::ThingTypedirectly, even while a certificate outside the stack had the policy attached or a thing used the type; the policy delete now removes the non-default versions and then callsDeletePolicy, the thing type delete deprecates the type and then callsDeleteThingType, so a resource still in use fails its delete with the service's message and the stack ends inDELETE_FAILED, as on AWS. Contributed by @iot-rocket. - IoT — MQTT 5 message expiry — the broker forwarded the Message Expiry Interval unchanged and never expired a message; a subscriber now receives the seconds left (60 arrives as 59, 0 counts as 1, intervals above seven days are capped at 604800), an expired retained message is no longer replayed to new subscribers or returned by
GetRetainedMessageandListRetainedMessages, and a QoS 1 message queued for an offline persistent session is dropped once it expires (the queue also keeps the MQTT 5 properties now). Contributed by @iot-rocket. - IoT — HTTP
Publishkeeps the MQTT 5 properties and a literal%in the topic —PublishignoreduserProperties,payloadFormatIndicator,contentType,responseTopic,correlationDataandmessageExpiry, so MQTT 5 subscribers got none of them andGetRetainedMessagereturned nouserProperties; they now reach subscribers and the retained message, and invalid values are refused with AWS'sInvalidRequestExceptionmessages.Publish,GetRetainedMessageand theAUTH=truetopic ARN decoded the topic a second time, sop%41qbecamepAq; the topic is now kept as sent./_ministack/resetkept messages retained over MQTT when no iot-data call had loaded that module; it now clears them. Contributed by @iot-rocket. - IoT Core — MQTT 5 PUBACK reports Success without subscribers — a QoS 1 PUBLISH that no subscriber matched (including a topic only a rule reads, Basic Ingest and a retained publish) was acknowledged with reason code
0x10No matching subscribers; it now gets0x00Success, as AWS IoT answers over both MQTT over TLS and MQTT over WebSocket. Contributed by @iot-rocket. - CloudFormation — AppSync data sources and resolvers keep their configuration —
AWS::AppSync::DataSourcedroppedDescription,HttpConfigandEventBridgeConfigand storedDynamoDBConfigandLambdaConfigin the template's PascalCase, andAWS::AppSync::ResolverdroppedKind,Runtime,Code,PipelineConfigandMaxBatchSize, so a DynamoDB resolver from a stack answerednulland anAPPSYNC_JSresolver never ran; both now go throughCreateDataSourceandCreateResolverand read back as on AWS, and a new data sourceNameor resolverTypeNameorFieldNameis reported as a replacement.GetDataSourceandGetResolverleave out a description, service role or mapping template that was never set, a DynamoDB data source reportsuseCallerCredentialsandversioned, an EventBridge one keepseventBridgeConfig, and a resolver reportsmaxBatchSize. Contributed by @iot-rocket. - CloudFormation —
AWS::AutoScaling::LifecycleHookupdates — a stack update ran the create again, so a member dropped from the template went back to its default and a hook with a generated name moved to another group stayed on the old group too; the hook now updates in place and keeps a dropped member, and anAutoScalingGroupNameorLifecycleHookNamechange replaces it.NotificationMetadatais stored and returned byDescribeLifecycleHooks, and a group deleted by its stack takes its lifecycle hooks along. Contributed by @iot-rocket. - IoT — mTLS refusals close without a CONNACK under
AUTH=true— withAUTH=truethe mTLS listener closes the connection of an unknown, inactive, revoked or doubly-registered client certificate after its CONNECT without sending a CONNACK, as AWS does on MQTT 3.1.1 and 5; withoutAUTHit still answers a "not authorized" CONNACK, and the log names the reason either way. Contributed by @iot-rocket. - IoT —
AttachPolicyto a target that does not exist —AttachPolicyandAttachPrincipalPolicyaccepted any target string; they now answerResourceNotFoundExceptionfor an unknown certificate or thing group,InvalidRequestExceptionfor anything else that is not a certificate, a thing group (AttachPolicyonly) or a Cognito identity id, andAccessDeniedExceptionfor another account's certificate, which also fails anAWS::IoT::PolicyPrincipalAttachmentnaming such a principal. Contributed by @iot-rocket. - IoT —
SetDefaultPolicyVersion— the call was missing (PATCH /policies/{policyName}/version/{policyVersionId}answeredUnsupported policy path), so onlyCreatePolicyVersionwithsetAsDefaultcould move a policy's default version; it now sets the default thatGetPolicy,GetPolicyVersion,ListPolicyVersionsand the MQTT policy evaluation underAUTH=trueuse, deleting the default version answersDeleteConflictException(409) instead of 400, andListPolicyVersionslists the newest version first. Contributed by @iot-rocket. - STS — session policies and
GetFederationToken—AssumeRoleignoredPolicyandPolicyArnsandGetFederationTokenansweredInvalidAction; underAUTH=truea role session now gets only what both the role and its session policies allow, aDenyin them denies, andAssumeRolerejects a malformed policy withMalformedPolicyDocumentand an unknown policy ARN withValidationError.GetFederationTokenis added: its federated user gets the calling user's permissions within the session policies (none without one) and itsTags, not the user's tags, asaws:PrincipalTag/*; it checks itsName, policies and tags, and underAUTH=truea temporary caller answersAccessDenied. Contributed by @iot-rocket. - IAM — permissions boundaries are enforced — the boundaries of users and roles were stored and never applied; under
AUTH=truea boundary now limits what the identity policies allow and aDenyin it denies, a boundary must name a known managed policy (ValidationErrorfor a malformed ARN, CloudFormationAWS::IAM::Userincluded), deleting an absent boundary answersNoSuchEntity, and a policy in use as a boundary cannot be deleted.ListUsersandListRolesleave the boundary out,ListEntitiesForPolicylists boundary users and roles and honoursPolicyUsageFilter, and a managed policy reportsPermissionsBoundaryUsageCount. Contributed by @iot-rocket. - API Gateway —
GetExportincludes Lambda authorizers — a REST API export had no security scheme for aTOKENorREQUESTauthorizer and nosecurityfield on its methods, so tools such as Swagger UI showed no "Authorize" button. Each authorizer that aCUSTOMmethod uses is now a scheme incomponents.securitySchemes(OAS 3.0) orsecurityDefinitions(Swagger 2.0), and the method hassecurity. Withextensions=authorizersorextensions=apigateway, the scheme also has thex-amazon-apigateway-authorizerblock. Checked against a real AWS export and thex-amazon-apigateway-authorizerdocs. Contributed by @mishukdutta-cz. - STS — trust policies see principal tags, session tags and web identities under
AUTH=true—AssumeRoletrust conditions had noaws:PrincipalTag/*, aServiceprincipal matched any IAM user whose ARN contained the service name,Tagspassed withoutsts:TagSessionin the trust policy, andAssumeRoleWithWebIdentityskipped the trust policy; trust conditions now see the caller's keys and the session tags asaws:RequestTag/*andaws:TagKeys, aServiceprincipal no longer matches an IAM user, session tags needsts:TagSession, and a web identity needs aFederatedprincipal naming its issuer, with<issuer>:aud,:suband:amrevaluated. UnderAUTH=truesession tag keys that differ only in case answerInvalidParameterValue. Contributed by @iot-rocket. - IAM —
aws:ResourceTag/*underAUTH=true— the key was always absent outside CloudWatch Logs, so a tag-scoped grant denied every request; a request on an existing SQS queue, SNS topic, DynamoDB table, Lambda function, IAM user or role, SSM parameter, Secrets Manager secret or KMS key now sees that resource's tags. Contributed by @iot-rocket. - IAM —
aws:RequestTag/*andaws:TagKeysunderAUTH=true— only CloudWatch Logs filled them; a call whose API takesTagsorTagKeys(create, tag and untag calls such asCreateQueue,CreateTable,CreateUser,PutParameter,CreateSecret,CreateKey) now carries the tags it sets and the keys it names,aws:TagKeysis absent on a call that names none, and LambdaTagResource,UntagResourceandListTagsare authorized against the ARN in the path instead of skipped. Contributed by @iot-rocket. - IAM — caller and transport condition keys under
AUTH=true— identity policies saw none of the caller's keys and a fixed127.0.0.1over plain HTTP; they now seeaws:username,aws:userid,aws:PrincipalTag/*(the user's or role's tags,AssumeRolesession tags taking precedence; inrds-db:connecttoo), for temporary credentialsaws:MultiFactorAuthPresentandaws:TokenIssueTime, the client's address asaws:SourceIpandaws:SecureTransportastrueover HTTPS or behind a proxy that sendsX-Forwarded-Proto: https, andAssumedRoleIdstarts with the role'sRoleIdwith or withoutAUTH. Contributed by @iot-rocket. - S3 — requests without credentials are anonymous under
AUTH=true— an unsigned request (noAuthorizationheader, presigned query or POST form credential) ran as the root key, so a private bucket in the caller's own account answered 200 to anyone; it is now anonymous, and only the owner's public grants let it in: anAllUsersACL grant or a bucket policy that allows*, unless Public Access Block shuts them off. Anything else answers 403AccessDenied. Apublic-readobject ACL is now also found for an unversioned object, which the grant check missed for cross-account callers too. WithoutAUTHnothing changes. Contributed by @prandogabriel. - Cognito —
InboundFederationuserName— the trigger received<provider>_<NameID>for SAML and<provider>_<sub>for OIDC; it now receives the bare SAMLNameIDor OIDCsub. Contributed by @kjdev. - S3 Tables —
CreateTablekeeps Iceberg column types — aschemaorschemaV2field type other thanstring,int,long,boolean,date,timestamp,floatordoublewas stored asstring, andtimestampastimestamptz; every Iceberg v2 type, nestedlist,structandmapincluded, is now stored as AWS stores it (lowercase,decimal(P, S)), and any other type answersBadRequestExceptionThe specified metadata is not valid. Reported by @anatollius. - S3 Tables — the Iceberg REST catalog takes the table bucket prefix — a request without the
{prefix}searched every table bucket, so two buckets with the same namespace and table name answered with the first one; such a request now answers 404<UnknownOperationException/>,GET /v1/configwithout a table bucket ARNwarehouseanswers 400The specified table bucket ARN is not valid., and the url-encoded ARN comes back asprefixindefaults.
[1.5.27] — 2026-10-13
Added
- API Gateway — failed SigV4 authentication answers through the gateway responses — under
AUTH=truea REST API invoke that failed authentication got the generic JSON error and ignored the API's gateway responses; a wrong secret, a skewed clock or a credential date other than the request date now answersINVALID_SIGNATURE(InvalidSignatureException), an expired sessionEXPIRED_TOKEN(ExpiredTokenException), and an unknown key or a malformedAuthorizationheaderDEFAULT_4XXwith the matchingx-amzn-ErrorType, 403 with{"message": ...}. Contributed by @iot-rocket. - Auth — the request time of a header-signed request is checked — under
AUTH=truea request signed with an IAM user or STS session key was served whatever its time; one signed more than 15 minutes (STS, IAM, SNS, SQS, DynamoDB, S3, ECR, RDS, ElastiCache) or 5 minutes (the default for other services) from the server clock answersSignatureDoesNotMatch/InvalidSignatureExceptionwith AWS'sSignature expiredorSignature not yet currentmessage,RequestTimeTooSkewedfrom S3 andAuthFailurefrom EC2. Contributed by @iot-rocket. - Auth — the session token of a header-signed request is checked — under
AUTH=truean STS session key sent without its token was accepted and now answers as an unknown key, and a wrong token, or a token with an IAM user key, answersInvalidClientTokenId(UnrecognizedClientExceptionfrom JSON services,InvalidToken400 from S3), as on AWS. Contributed by @iot-rocket. - Auth — header signatures are verified for IAM user and STS session keys — under
AUTH=truea request signed with such a key and the wrong secret, or changed after signing, was served; it now answersSignatureDoesNotMatch(or the service'sInvalidSignatureException), anAuthorizationheader without itsSignatureorSignedHeadersanswersIncompleteSignature(LambdaMissingAuthenticationTokenException, S3AuthorizationHeaderMalformed) and a credential date other than the request dateSignatureDoesNotMatch(S3AuthorizationHeaderMalformed), S3 unsigned, streaming and signed-chunk payloads are checked the same way, and the root key still accepts any secret. Contributed by @iot-rocket. - IoT — MQTT publish, subscribe and receive evaluate IoT policies under
AUTH=true— after the CONNECT a certificate session could publish, subscribe and receive on any topic; it now needsiot:Publishon the topic (andiot:RetainPublishfor a retained message or will),iot:Subscribeper topic filter andiot:Receiveper delivered message. A refused PUBLISH or SUBSCRIBE closes an MQTT 3.1.1 connection (disconnect reasonCLIENT_ERROR), MQTT 5 answers PUBACK 0x87, DISCONNECT 0x87 at QoS 0 (AUTH_ERROR) or 0x87 for the refused filter, which thesubscribedevent leaves out (no event when none is granted), a refused will refuses the CONNECT, and a message the subscriber may not receive is dropped. Contributed by @iot-rocket. - IoT — MQTT connections evaluate
iot:ConnectunderAUTH=true— a device certificate on the mTLS listener connected under any client id, with or without a policy; withAUTH=truethe CONNECT now needs an attached policy that allowsiot:Connectonclient/<client id>and none that denies it, with${iot:ClientId},${iot:Connection.Thing.ThingName},iot:Connection.Thing.IsAttachedand${iot:Certificate.Subject.CommonName}resolved. A refusal closes an MQTT 3.1.1 connection without a CONNACK, answers MQTT 5 with CONNACK 0x87 and publishes$aws/events/presence/connect_failed/{clientId}. Contributed by @iot-rocket. - IoT —
TagResource,UntagResourceandListTagsForResource— the three operations answeredUnsupported IoT path, so the tags the Create calls accept could not be read back. They now work on thing types, thing groups, policies, topic rules, jobs, job templates, CA certificates, provisioning templates and domain configurations with AWS's limits and errors, Create calls and CloudFormationTagswrite the same tags, and deleting a resource drops them. Contributed by @iot-rocket. - IoT — retained messages —
GetRetainedMessageandListRetainedMessagesanswered 501not yet implemented; they now return the broker's retained messages (newest first, paged bymaxResultsandnextToken, with the user properties of an MQTT 5 publish), and aPERSIST_STATE=1restart keeps each message'slastModifiedTimeand user properties. Contributed by @iot-rocket. - IoT —
ListJobExecutionsForJob—GET /jobs/{jobId}/thingsanswered 400Unsupported IoT path; it now lists every execution of the job, earlier ones of a rejoined thing included, most recently updated first, with thestatusfilter andmaxResults/nextTokenpaging. Contributed by @iot-rocket. - IoT —
DeleteJobExecution—DELETE /things/{thingName}/jobs/{jobId}/executionNumber/{executionNumber}answered 400Unsupported IoT path; it now deletes the execution (anIN_PROGRESSone only withforce), drops it from the job's lists and counts, completes the job when only finished executions are left, and publishes thedeletedjob execution event and the thing'sjobs/notifytopics; aCONTINUOUSjob's thing left with no execution gets none back until it leaves the group, which leaves aREMOVEDexecution 1. Contributed by @iot-rocket. - Cognito —
InboundFederationtrigger on SAML and OIDC sign-in —LambdaConfig.InboundFederationwas stored but never invoked; SAML and OIDC federated sign-in now call the Lambda withInboundFederation_ExternalProvider, the provider-prefixeduserNameand the IdP'ssamlResponseoridToken. A non-emptyuserAttributesToMapreplaces the IdP attributes beforeAttributeMapping,{}keeps them, and a failing or missing function fails the sign-in withUserLambdaValidationException. Contributed by @kjdev.
Fixed
- Step Functions — aws-sdk Parameters for JSON-protocol services take the wire names —
ecsandecrreceived an aws-sdk task's PascalCaseParametersas sent, so their handlers ignored them (describeClusterswithClustersdescribeddefault,describeRepositorieswithRepositoryNamesreturned every repository), andsfnandcloudwatchlogslowercased every key, map keys included, sotagResourcestoredTeam-Nameasteam-Name; the parameters are now renamed by the operation's input model, with map keys such as tag keys kept as written. Reported by @lucasmfraser. - Step Functions — aws-sdk results for JSON-protocol services keep the SDK's shape at every depth — only the result's top-level keys took the SDK's names, so nested members kept their wire casing (
Executions[].executionArn,SecretList[].ARN), timestamps stayed epoch numbers and absent members came back asnull; the result is now shaped by the service's output model: structure members renamed at every depth (DynamoDB'sBOOL,NULLandSSasBool,NulandSs), map keys such as attribute names and tag keys kept as sent, timestamps as ISO 8601 with milliseconds, and absent members left out. A leading acronym is now lowered in every aws-sdk result, including two-letter names and ones with digits (IDasId,EC2InstanceIdasEc2InstanceId,MD5OfMessageBodyasMd5OfMessageBody). Contributed by @lucasmfraser. - S3 —
s3:prefix,s3:delimiterands3:max-keysunderAUTH=true—ListObjects,ListObjectsV2andListObjectVersionsset none of the three condition keys, so aListBucketorListBucketVersionsgrant scoped by them, such asStringLikeons3:prefixfor one user's home folder, never matched and the listing answeredAccessDenied; they now carry the request'sprefix,delimiterandmax-keys, path-style and virtual-hosted. Reported by @bettiah. - Idle memory — the IoT mTLS listener built its TLS context at boot, which imported
cryptographyand minted the broker certificate before any device connected. It now binds port 8883 without TLS and builds the context on the first connection, andx509_utilsimportscryptographyon first use: an idle container drops from about 36.7 to 32.8 MiB. - Cognito — token lifetimes follow the app client — access and ID tokens,
ExpiresInand the/oauth2/tokenexpires_inwere always one hour; they now follow the client'sAccessTokenValidity,IdTokenValidityandTokenValidityUnits(one hour when unset, as on AWS), a client created without the two validities no longer reports60for them, and an expired token is refused by API Gateway's Cognito and JWT authorizers and, withAUTH=true, an expired access token by Cognito withAccess Token has expired. Contributed by @iot-rocket. - Cognito — access tokens are verified under
AUTH=true—GetUserand the other calls that take anAccessTokenaccepted any JWT carrying a user'ssub, including an ID token, a token with an altered payload and a token revoked byGlobalSignOut,AdminUserGlobalSignOutorRevokeToken; withAUTH=truethey now answerNotAuthorizedExceptionwithInvalid Access Token,Could not verify signature for Access TokenorAccess Token has been revoked, as AWS does. Contributed by @iot-rocket. - IAM — user and role tag keys are case-insensitive —
TagUserandTagRolewithdepartmentadded a second tag besideDepartment, andUntagUserandUntagRolemissed a key spelled differently; user and role tag keys now compare without case and keep the spelling last written, andCreateUser,CreateRole,TagUserandTagRolerefuse keys that repeat without case withInvalidInputDuplicate tag keys found. Please note that Tag keys are case insensitive., as does anAWS::IAM::UserorAWS::IAM::Rolewhose stack tag differs from one of its own tags only in case. Other IAM resources keep case-sensitive keys. Contributed by @gakuto-cw21. - Signer — signing material checks in
PutSigningProfile—PutSigningProfileaccepted any certificate ARN, or nosigningMaterialat all, on every platform; the Lambda and Notation platforms now refuse anysigningMaterial(InvalidProfileParameters), and withAUTH=truethe IoT and FreeRTOS platforms refuse a profile withoutsigningMaterialand a certificate ARN that is malformed, in another region or account, unknown to ACM or not issued, with AWS's errors. Contributed by @iot-rocket. - Step Functions — JSONata Fail and Wait fields are evaluated — a JSONata Fail state raised its
ErrorandCauseexpressions as literal text, a JSONata Wait failed on aSecondsexpression, ignored aTimestampexpression and dropped itsOutputandAssign, and JSONPathErrorPath/CausePathwere ignored; they are now evaluated, with AWS'sStates.QueryEvaluationErrororStates.Runtimefor a result of the wrong type, aSecondsthat is not a non-negative integer and an unparsableTimestamp. Contributed by @lucasmfraser. - S3 — presigned URLs keep AWS's time limits under
AUTH=true— anX-Amz-Expiresover 604800 seconds or not a number, or a malformedX-Amz-Date, answers 400AuthorizationQueryParametersError, and a URL dated more than 15 minutes ahead answers 403AccessDeniedRequest is not yet valid, where they were served. Contributed by @iot-rocket. - Auth — credential failures in the service's protocol — under
AUTH=truean unknown, inactive or expired access key answeredUnrecognizedClientException403 from every service; it now gets the code, status andContent-TypeAWS sends for the service's protocol, for exampleInvalidClientTokenId403 from IAM and SQS,UnrecognizedClientException400 from DynamoDB,InvalidAccessKeyId403 from S3 andAuthFailure401 from EC2. Contributed by @iot-rocket. - Step Functions —
ListExecutionsorder and pagination — executions came back oldest first, somaxResults=1returned the oldest, andnextTokenwas an offset; they now come back most recent first (running executions bystartDate, the rest bystopDate), the token resumes after the last execution returned so one started between pages is not repeated, an unreadable token answersInvalidTokenandmaxResults=0uses the default, as on AWS. Contributed by @lucasmfraser. - Cognito — confirmation codes are checked under
AUTH=true—ConfirmSignUpandConfirmForgotPasswordaccepted any code, andConfirmForgotPasswordchanged the password even when no reset was requested; withAUTH=truethey take only the issued code (123456for sign-up and654321for a password reset, as before), answer a wrong one withCodeMismatchExceptionand a code that was never issued withExpiredCodeException, andConfirmSignUprefuses a user who is notUNCONFIRMEDwithNotAuthorizedException, as AWS does. Contributed by @iot-rocket. - Cognito —
ExplicitAuthFlowsis enforced for the password flows underAUTH=true— withAUTH=truea client that lists its auth flows now refusesUSER_PASSWORD_AUTH,ADMIN_USER_PASSWORD_AUTHandADMIN_NO_SRP_AUTHunless the list enables them (the legacyUSER_PASSWORD_AUTHandADMIN_NO_SRP_AUTHnames included), with theInvalidParameterExceptionAWS returns. Contributed by @iot-rocket. - Cognito —
CUSTOM_AUTHon clients withoutALLOW_flows — a client created withoutExplicitAuthFlows, or with only the legacy names, refusedCUSTOM_AUTH; it is now enabled, as on AWS, and a client whoseALLOW_list leaves it out answersCUSTOM_AUTH is not enabled for the client.as AWS does. Contributed by @iot-rocket. - CloudFormation — API Gateway v2 stage
Ref—Refreturned<apiId>/<stageName>, causing anAWS::ApiGatewayV2::ApiMappingusing the reference as itsStageto fail withInvalid stage identifier specified; new stages now return the stage name. Stage updates, replacement onApiIdorStageNamechanges, and deletion use the resolved resource properties, including for stacks with legacy physical IDs. Contributed by @matuscongrady. - IoT — republish inside the rule's own topic filter —
CreateTopicRuleandReplaceTopicRuleaccepted arepublishaction whose topic the rule'sFROMfilter matches, so the rule fed on its own output; they now refuse it with AWS'sInvalidRequestException, and anAWS::IoT::TopicRulewith such an action fails its stack. Contributed by @iot-rocket. - IoT — deleting things, certificates, policies and thing types still in use —
DeleteThingdetached a thing's certificates and deleted it, andDeleteCertificaterefused only anACTIVEcertificate. NowDeleteThingrefuses a thing with a certificate attached,DeleteCertificaterefuses a certificate with things attached and, withoutforceDelete, one with policies attached (forceDeletedetaches them),DeletePolicyrefuses a policy with non-default versions andDeleteThingTypeone that things still use, all with AWS's messages. Contributed by @iot-rocket. - IoT —
RegisterCertificateunder an inactive CA — a certificate issued by a CA that is notACTIVEregistered anyway; it is now refused withCertificateStateException, with or withoutcaCertificatePem. An unregistered CA and a CA that did not issue the certificate are refused with AWS's codes and messages. Contributed by @iot-rocket. - IoT — rule SQL
principal()andtraceid()— both resolved to Undefined;principal()now returns the client certificate id for mTLS, the caller'sGetCallerIdentityUserIdfor HTTP Publish and SigV4 WebSocket sessions (also their lifecycle events'principalIdentifier) and the rule role's session for a republish, andtraceid()returns a per-message id that the errorAction document carries ascloudwatchTraceId. Contributed by @iot-rocket. - CloudFormation —
AWS::Logs::LogGroupdelete — a stack delete or aLogGroupNamereplacement removed only the group record, so a metric filter or resource policy added through the Logs API stayed and came back with a new group of the same name; the group is now deleted throughDeleteLogGroup. Contributed by @iot-rocket. - Cognito Identity —
GetOpenIdTokenclaims — the token was a user-pool ID token with an empty audience; it is now issued byhttps://cognito-identity.amazonaws.comwith the identity pool id asaud, the identity id assub, anamrlist naming the login providers and the user-pool sign-in, the pool ARN inhttps://cognito-identity.amazonaws.com/identity-pool-arnand a 10-minute lifetime. An identity id that no pool knows getsResourceNotFoundExceptioninstead of a token. Contributed by @iot-rocket. - CloudTrail — new trails start with logging off —
CreateTrailleft a new trail logging, andGetTrailStatusreported aStartLoggingTimean hour back and aLatestDeliveryTimeof now. A new trail now reportsIsLoggingfalse untilStartLogging, andGetTrailStatusreturns only theStartLoggingTimeandStopLoggingTimeof calls made (a restart keeps the last stop time), withoutLatestDeliveryTimeor empty error strings. Contributed by @iot-rocket. - CloudFormation — EventBridge rules accept a bus ARN —
AWS::Events::Rulestored an ARN-valuedEventBusNameas the bus name, soPutEventssucceeded without delivering to its targets. Create, update, delete and drift detection now resolve the ARN through the existing EventBridge parser and use the bus name internally. Contributed by @matuscongrady. - Cognito — SAML
/oauth2/authorizewithMetadataFile— a SAML provider created with onlyMetadataFilewas refused withInvalidParameterException; the IdP sign-in URL now comes fromIDPSSOEndpoint, then the metadata's HTTP-RedirectSingleSignOnService, thenMetadataURL. Contributed by @kjdev.
[1.5.26] — 2026-10-11
Fixed
- Docker image —
ensurepipis back in the slim image — 1.5.24 removedensurepipfrom the Alpine image, sopython -m venvcould not install pip in images built on top of MiniStack. Reported by @jin-gizmo. - ECS —
DescribeServiceson a missing cluster — returned success with every service listed asMISSING; it now returnsClusterNotFoundException. - Startup memory without Docker — the Docker Hub pull fallback imported the Docker SDK at boot even when no Docker socket was available. It now loads only when a socket is present.
[1.5.25] — 2026-10-10
Added
- CloudFormation —
AWS::IAM::User— templates with an IAM user now provision it withPath,Groups,ManagedPolicyArns, inlinePolicies,LoginProfile,PermissionsBoundaryandTags; every property updates in place exceptUserName, which replaces the user.Refreturns the user name andFn::GetAttreturnsArn. IAM gainsPutUserPermissionsBoundaryandDeleteUserPermissionsBoundary, andCreateUserandGetUsercarry the boundary. Reported by @gakuto-cw21. - DocumentDB — a new service for the
docdbAPI:CreateDBCluster,CreateDBInstance,DescribeDBClusters,DescribeDBInstances,ModifyDBCluster,ModifyDBInstance,RebootDBInstance,StartDBCluster,StopDBCluster,FailoverDBCluster,DeleteDBCluster,DeleteDBInstanceand the tag operations. Each cluster runs adocumentdb-localcontainer serving the MongoDB protocol over TLS. Defaults follow AWS: engine8.0.0, port27017, thedefault.docdb8.0parameter group anddocdb.amazonaws.comendpoints. Thedocdbclient reaches it on the normal endpoint, and an unfilteredDescribeDBClustersorDescribeDBInstanceslists RDS and DocumentDB together, as on AWS. Subnet and parameter groups are shared with RDS. CloudFormation provisionsAWS::DocDB::DBCluster,DBInstance,DBSubnetGroupandDBClusterParameterGroup, andAWS::SecretsManager::SecretTargetAttachmentaccepts DocumentDB targets. Contributed by @xPTM1219. - CloudFormation —
AWS::Logs::MetricFilter— templates with a metric filter failed withUnrecognized resource types; the filter now provisions, updates in place and is replaced on aFilterNameorLogGroupNamechange. Contributed by @iot-rocket. - DynamoDB — vector search —
CreateTableacceptsVectorIndexes,UpdateTabletakesVectorIndexUpdates(resource allocation, then backfilling, thenACTIVE), andDescribeTablereports them.SearchVectorsscores withCOSINE,EUCLIDEANorDOT_PRODUCTat 32-bit float precision and filters on theSearchSchema. Writes are checked against each vector index,INDEXEScapacity reportsVectorWriteRequestByteson single, batch and transactional writes, and a PartiQLSELECTorScanon a vector index returns "Scan operation not supported on this index type". Backups record the indexes inSourceTableFeatureDetails,RestoreTableFromBackupandRestoreTableToPointInTimerestore them or applyVectorIndexOverride, andImportTablecreates them fromTableCreationParameters. Reported by @hicksy and the paritysuite.org project. - S3 Tables — bucket and table configuration — table bucket encryption, maintenance, policy, storage class and metrics; table encryption, maintenance, maintenance job status, policy and storage class;
RenameTable; andTagResource,UntagResourceandListTagsForResource. Unset configurations return the documented defaults: SSE-S3,STANDARD, unreferenced file removal after 3 and 10 days, compaction at 512 MB with theautostrategy, and snapshot management keeping 1 snapshot for 120 hours. - IoT — job and job execution events — completed, canceled and deleted jobs and finished, removed or deleted executions publish to
$aws/events/job/...and$aws/events/jobExecution/...whenUpdateEventConfigurationsenables them. Contributed by @iot-rocket. - IoT —
UpdateJob—PATCH /jobs/{jobId}updates anIN_PROGRESSjob's description, presigned URL, rollout, abort, timeout and retry configuration with AWS's checks; running executions keep their timeout.CreateJobrefuses a bad timeout with the same message. Contributed by @iot-rocket. - Signer — real signatures on the IoT platform — when ACM holds the key of the profile's certificate,
StartSigningJobonAWSIoTDeviceManagement-SHA256-ECDSAwrites AWS's signed document instead of a JSON receipt, and an RSA key fails the job. Without a key the receipt stays and a warning is logged. Contributed by @iot-rocket.
Fixed
- ELBv2 —
http-headerrule conditions keep theirHttpHeaderConfig— the header name and values were dropped when a rule was created, modified or provisioned through CloudFormation, soDescribeRulesreturned an empty condition and requests never matched. Matching follows AWS: the header name and values compare case-insensitively,*and?are the only wildcards, and a request without the header does not match. Reported by @kinoh. - Firehose — dynamic partitioning and Parquet conversion on S3 delivery —
PutRecord,PutRecordBatchand Kinesis-sourced records ignoredDynamicPartitioningConfigurationandDataFormatConversionConfiguration. ThePrefixandErrorOutputPrefixnow evaluate!{timestamp:...},!{firehose:random-string},!{firehose:error-output-type},!{partitionKeyFromQuery:...}(JQMetadataExtraction) and!{partitionKeyFromLambda:...}(Lambdametadata.partitionKeys), withyyyy/MM/dd/HH/appended when the prefix has no timestamp. Records convert to Parquet against the Glue table schema with the configured compression and land as<stream>-<version>-<timestamp>-<uuid>.parquetor theFileExtension. Failed records go to the error prefix as AWS's error document underprocessing-failedorformat-conversion-failed. Parquet output needs DuckDB (the full image); ORC is not supported. Reported by @mintel-hgli. - CloudWatch Logs —
DescribeMetricFiltersby metric —metricNameandmetricNamespacenow select the filters that publish that metric,filterNamePrefixapplies only withlogGroupName, andDeleteLogGroupremoves the group's filters. Contributed by @iot-rocket. - Cognito —
Usernameis thesubin pools withUsernameAttributes—AdminCreateUserandSignUpnow use thesubas theUsername, keep the email or phone number as an alias, and refuse aUsernamethat is not a sign-in attribute, a differing email or phone attribute and a caller-suppliedsub. Contributed by @iot-rocket. - Athena — S3 Tables, Glue table data and result shapes — queries reach S3 Tables as
"s3tablescatalog/<bucket>".<namespace>.<table>or throughQueryExecutionContext.Catalog. Glue tables read every object under theirLOCATIONfrom the S3 store withoutS3_PERSIST, skipping files and folders that start with_or.; CSV columns map to the Glue schema by position with the SerDe delimiter andskip.header.line.count, and Avro tables are readable.StartQueryExecutionwithout a result location returnsInvalidRequestException, andGetQueryResultsreturnsNULLas aDatumwithoutVarCharValue. - Athena — partitioned Glue tables and qualified columns — partition columns take their Glue types instead of the types DuckDB inferred from the path, and
db.table.columnreferences resolve. Contributed by @mayuriphad. Reported by @mintel-hgli. - Error responses use each protocol's
Content-Type—application/x-amz-json-1.1or1.0for JSON services by theirjsonVersion,text/xmlfor query services (text/xml;charset=UTF-8for EC2),application/jsonfor rest-json except SESv2 (application/x-amz-json-1.1), andtext/xmlfor rest-xml except S3 (application/xml). Errors are normalized at dispatch from the botocore service model. Contributed by @pingedbrain. - Unimplemented services no longer answered by S3 — a request signed for a service MiniStack does not implement (for example Glacier or Pinpoint) fell through to S3 and returned
NoSuchBucket; it now returnsUnsupported service: <name>. Contributed by @pingedbrain. - CloudFormation — error namespace —
ErrorResponseuseshttp://cloudformation.amazonaws.com/doc/2010-05-15/, the botocore API version, instead of2010-05-08. Contributed by @pingedbrain. - EC2 —
DescribeInstanceschecks the ID format first — a malformedInstanceIdreturnsInvalidInstanceID.Malformed; a well-formed unknown ID still returnsInvalidInstanceID.NotFound. Contributed by @pingedbrain. - ELBv2 —
DescribeLoadBalancerschecks name length first — aNamesentry over 32 characters returnsValidationError. Contributed by @pingedbrain. - WAFv2 —
GetWebACLchecks theIdfirst — anIdthat is not a UUID or is longer than 36 characters returnsValidationExceptionlisting the failed constraints; a well-formed unknown ID still returnsWAFNonexistentItemException. Contributed by @pingedbrain. - Docker images fall back to public mirrors — when a Docker Hub pull fails, MiniStack retries from ECR Public and then
mirror.gcr.ioand tags the image with the requested name, so a Docker Hub rate limit no longer stops RDS, ElastiCache, ECS and the other container-backed services. - Step Functions — optimized DynamoDB error names — conditional failures and other service errors now use the
DynamoDB.prefix so exactCatchandRetryhandlers match AWS. Contributed by @jayjanssen. - Step Functions — Lambda
GetFunctionSDK integration — workflows can read function configuration, code metadata and tags throughaws-sdk:lambda:getFunction, including qualified reads. Contributed by @jayjanssen. - Secrets Manager — force delete of a secret scheduled for deletion —
DeleteSecretwithForceDeleteWithoutRecoveryreturnedInvalidRequestExceptionfor a secret already scheduled for deletion. It now deletes the secret permanently. Contributed by @fabio-andre-rodrigues. - DynamoDB —
RestoreTableToPointInTimekeeps secondary indexes — the restored table now carries the source table's GSIs and LSIs, orGlobalSecondaryIndexOverride/LocalSecondaryIndexOverridewhen given. - DynamoDB — item size limits per operation — numbers are sized as base-100 digit pairs, so the 400 KB limit is exact to the byte.
UpdateItemcounts only the attributes it writes plus a cost per clause and answers "Item size to update has exceeded the maximum allowed size". PartiQLINSERTandUPDATEnow enforce the limit, and an oversized transactedUpdatecancels the transaction. Reported by @hicksy and the paritysuite.org project. - DynamoDB — nesting depth and key length — values nested beyond 32 levels return "Nesting Levels have exceeded supported limits: Attributes in the item have nested levels beyond supported limit", including in
UpdateItemandTransactWriteItemsexpression values. Over-long keys are refused on reads too. Reported by @hicksy and the paritysuite.org project. - DynamoDB — validation messages — overlapping
ProjectionExpressionpaths are refused onGetItem,Query,ScanandBatchGetItem. EmptyRequestItems,Select,Limit,Segment,ExclusiveStartKey,CreateTable, PartiQL and transaction errors use AWS's wording, andUpdateItemreports only the first invalid enum. Reported by @hicksy and the paritysuite.org project.
[1.5.24] — 2026-10-08
Added
- API Gateway v1 — richer SQS request templates — templates now support
#set,##and#* *#comments, quiet$!references, double-quoted strings with interpolation and""escapes, and$context.authorizervalues including Cognito claims. Reported by @teruyukisuda.
Fixed
- API Gateway —
CreateApiKeykeepsvalueandcustomerId— the key always got a generated value. A value under 20 characters returnsBadRequestException"API Key value should be at least 20 characters". Reported by @mjuen. - CloudWatch — CBOR timestamps — timestamps from clients using the CBOR protocol are now read as UTC. Reported by @DimQ1.
- Container reaping — failed removals are logged — containers the reaper could not remove are logged at
WARNINGwith their ids. Reported by @iot-rocket. - DynamoDB Streams — iterator expiry and
GetRecordslimits — shard iterators expire after 15 minutes withExpiredIteratorException, a page stops at 1 MB, a position behind the trim horizon returnsTrimmedDataAccessException, and an unknown shard returnsResourceNotFoundException. Reported by @DimQ1. - Lambda — a returned string is JSON-encoded —
Invokereturnedhelloinstead of"hello". Reported by @edu-shippo. - Lambda — local Node.js console logs — the one-shot local executor mixed stdout into the
Invokeresponse. Logs now go to the invocation log and stdout carries only the return value. Contributed by @gakuto-cw21. - Pipes — SNS FIFO targets are refused —
CreatePipeandUpdatePipenow return "SNS FIFO topics are not supported as a pipe target.". Reported by @DimQ1. - S3 Tables — Iceberg REST catalogs and commits — every catalog read the first catalog's warehouse; each is now scoped to its table bucket ARN. Commits now check update requirements (
CommitFailedException, 409) and keep snapshot sequence numbers consistent. - SES — non-ASCII addresses — an address with non-ASCII characters returns
InvalidParameterValue"Missing final '@domain'". Reported by @DimQ1. - SNS — filter policies —
FilterPolicyScopeMessageBodywas ignored andsuffixandequals-ignore-casenever matched. Both scopes now apply, withwildcard,cidrand"exists": falsetoo. Reported by @DimQ1. - SQS — retention and dead-letter moves — messages now expire after
MessageRetentionPeriod. A message moved to a dead-letter queue keeps its enqueue time on standard queues and carriesDeadLetterQueueSourceArn. Reported by @DimQ1. - Step Functions — a Lambda that returns
nulloutputsnull— the Task output was{}. Reported by @edu-shippo.
[1.5.23] — 2026-10-07
Added
- AppConfig — gradual rollout and alarm rollback — deployments completed as soon as they started. They now move through
DEPLOYING,BAKINGandCOMPLETEon the strategy's schedule, a CloudWatch alarm in the environment'sMonitorsthat goes toALARMrolls the deployment back, and a concurrent or stale deployment returnsConflictException. Contributed by @Jolley71717. - API Gateway v1 —
AWSintegrations targeting SQS — a non-proxy integration whose URI issqs:path/{account}/{queue}now renders itsrequestTemplates, sends the message to the queue and maps the reply throughintegrationResponses; otherAWSservice URIs still take the Lambda path. Contributed by @pingedbrain. Reported by @teruyukisuda. - CloudFormation — IoT things, certificates and attachments —
AWS::IoT::Thing,AWS::IoT::Certificate,AWS::IoT::ThingPrincipalAttachmentandAWS::IoT::PolicyPrincipalAttachmentfailed withUnrecognized resource types; they now provision onto the IoT registry with AWS'sRefandFn::GetAttvalues.CreateCertificateFromCsrwas added, andDescribeCertificatenow reportscertificateMode. Contributed by @iot-rocket. - CloudFormation — enum properties are validated before provisioning — a value outside a resource schema's enum was refused only by that resource's create, after earlier resources existed; it now fails the stack with
VALIDATION_FAILEDbefore anything is provisioned. Contributed by @iot-rocket. - CloudFront — custom error responses —
CustomErrorResponseswere stored but never applied; when the origin answers a configuredErrorCode, the data plane now returnsResponsePagePathwithResponseCode. Contributed by @skialpine. - Cognito —
CustomMessage_AdminCreateUsertrigger —AdminCreateUsernow invokes the pool'sCustomMessageLambda before sending the invitation, and{username}expands to the email or phone number in pools withUsernameAttributes. Contributed by @kjdev. - DynamoDB — multi-attribute GSI keys — a GSI with several
HASHorRANGEattributes failed everyQuerywith "Query condition missed key schema element".Querynow needs equality on every partition-key attribute and takes sort-key attributes left to right, only the last with a range condition. Reported by @jun-ut. - IoT — domain configurations —
CreateDomainConfiguration,DescribeDomainConfiguration,ListDomainConfigurations,UpdateDomainConfiguration,DeleteDomainConfigurationandAWS::IoT::DomainConfiguration. Contributed by @iot-rocket. - IoT — job templates —
CreateJobTemplate,DescribeJobTemplate,ListJobTemplates,DeleteJobTemplate,CreateJobwithjobTemplateArn, andAWS::IoT::JobTemplate. Contributed by @iot-rocket. - SES — identity notifications —
SetIdentityNotificationTopicstored topics that nothing published to; v1 sends now publish aDelivery,BounceorComplaintnotification per recipient, following the mailbox simulator. Contributed by @kjdev. - SES — receipt rule sets and rules — rule sets can be created, activated, described, listed and deleted, and rules created, described and deleted; they are stored only, since inbound mail is not emulated. Contributed by @AdrianAcala. Reported by @wparad.
- SES v2 — tenants and resource associations —
CreateTenant,GetTenant,ListTenants,DeleteTenant,PutTenantSuppressionAttributesand the tenant resource association operations; a resource with associations cannot be deleted. Contributed by @AdrianAcala. Reported by @wparad. - SES v2 — dedicated IP pools —
CreateDedicatedIpPool,GetDedicatedIpPool,ListDedicatedIpPoolsandDeleteDedicatedIpPool, with tags on the pool ARN. Reported by @wparad. - Signer — CloudFormation profiles, profile permissions and
CancelSigningProfile—AWS::Signer::SigningProfileandAWS::Signer::ProfilePermissionprovision, andAddProfilePermission,ListProfilePermissions,RemoveProfilePermissionandCancelSigningProfileare routed. Contributed by @iot-rocket.
Fixed
- API Gateway — management IAM actions — with
AUTH=true, management requests were checked against SDK operation names; they now useapigateway:GET,POST,PUT,PATCHandDELETEon the requested resource path, so scoped grants and stage denies apply. Contributed by @AdrianAcala. - AppConfig —
GetLatestConfigurationandStopDeployment— a poll returned the full configuration every time, andStopDeploymentmarked any deploymentROLLED_BACK. An unchanged poll now returns an empty body, andStopDeploymentfollows the documented states. Contributed by @Jolley71717. - CloudWatch —
Values/CountsandStatisticValues— values were stored once per count and statistic sets as their average, soSampleCount,Sum,MinimumandMaximumwere wrong. They now aggregate weighted, and percentiles are omitted for negative values and for statistic sets that are not one repeated value. Contributed by @DimQ1. - CloudWatch Logs — IAM tag conditions — with
AUTH=true, authorization now includes existing and requested tags, and ARN-based tagging APIs authorize the supplied ARN instead of*. Contributed by @AdrianAcala. - Cognito —
RESET_REQUIREDusers cannot sign in with a password — afterAdminResetUserPassword, password and SRP sign-in with the old password succeeded; they now returnPasswordResetRequiredException. Contributed by @prandogabriel. - Container reaping — one unreadable container no longer stops the sweep — if one container's inspect failed, the boot sweep removed no leftover containers; containers are now listed without inspecting each one. Reported by @iot-rocket.
- DynamoDB — Query and Scan stop each page at 1 MB — without
Limit, every matching item came back in one response with noLastEvaluatedKey; a page now stops at 1 MB of data read and returnsLastEvaluatedKey. Contributed by @DimQ1. - DynamoDB — index Query and writes no longer slow down as a table grows — a GSI or LSI
Queryread every item in the table and every write recounted it; index partitions andItemCountare now kept per write. Contributed by @DimQ1. - DynamoDB —
ClientRequestTokenexpires after 10 minutes — transaction tokens were kept forever; after 10 minutes a reused token is a new request. Contributed by @DimQ1. - DynamoDB — transactions are authorized per item — with
AUTH=true,TransactWriteItemsandTransactGetItemswere checked as non-existent IAM actions on the first table; each item is now checked asPutItem,UpdateItem,DeleteItem,ConditionCheckItemorGetItemon its own table. Contributed by @drakeo338. Reported by @Zordrak. - DynamoDB Streams — no-op writes and closed streams — a write that changed nothing produced a
MODIFYrecord, and a disabled or deleted stream vanished. No record is written now, and a closed stream stays readable for 24 hours asDISABLED. Contributed by @DimQ1. - IoT — the gateway certificate names the
DescribeEndpointhosts —https://<endpointAddress>failed hostname verification underUSE_SSL=1; the certificate now carries the IoT data and credentials hosts. Contributed by @iot-rocket. - Kinesis —
SubscribeToShardkeeps its position across retention pruning — removing expired records could skip newly appended ones. Contributed by @AdrianAcala. - Lambda — one request ID per Docker invocation — RIE logs carried a second START/END/REPORT set under a different RequestId; MiniStack's ID now reaches RIE and the logs are saved once. Contributed by @gakuto-cw21.
- Lambda —
invoked_function_arnkeeps the alias or version invoked. Contributed by @jayjanssen. - Lambda — event source mappings pick up new work at once — a new SQS message, Kinesis record or DynamoDB stream record waited for the poller's idle tick; it now wakes the poller. Contributed by @antonie-popovic.
- RDS — global cluster tags —
CreateGlobalClusterdroppedTags; they are now stored and returned inTagList. Contributed by @jayjanssen. - RDS Data API — MySQL
generatedFields— it was always empty; it now holds theAUTO_INCREMENTid. Contributed by @skialpine. - S3 — cross-account replication — the destination bucket was looked up only in the caller's account, so every replica
FAILED; it is now found in its owner's account, and its bucket policy must grant the replication role. Contributed by @pingedbrain. - S3 — re-creating a bucket you own — outside us-east-1 it returned 200; it now returns
BucketAlreadyOwnedByYou(409). Contributed by @DimQ1. - S3 — truncated uploads — a body shorter than
Content-Lengthor a malformedaws-chunkedupload was stored as a partial object; it now returnsIncompleteBody(400). Contributed by @DimQ1. - SES —
SendEmailvalidation — an address without a domain returnsInvalidParameterValue"Missing final '@domain'", and an unknown configuration set returnsConfigurationSetDoesNotExist. Contributed by @DimQ1. - SES —
SendRawEmailrelay sends oneMessage-ID— a clientMessage-IDwas kept next to MiniStack's. Contributed by @kjdev. - SNS — published messages are no longer retained — every publish was kept on its topic and persisted. Contributed by @DimQ1.
- SQS — FIFO delays and
MaxNumberOfMessages— FIFO queues ignoredDelaySecondsand accepted per-message delays, andMaxNumberOfMessageswas clamped. A FIFO message now waits the queue delay, a nonzero per-message delay returnsInvalidParameterValue, andMaxNumberOfMessagesoutside 1–10 returnsInvalidParameterValue. Contributed by @DimQ1. - SQS — queue
DelaySecondsapplies to messages from other services — deliveries from SNS, EventBridge, S3 notifications and Lambda were visible at once. Contributed by @DimQ1. - SSM —
PutParametervalidation — a parameter withoutType, a name starting withawsorssm, andTagswithOverwritewere accepted; they are now refused, and an overwrite withoutTypekeeps the stored type. Contributed by @fabio-andre-rodrigues. Reported by @jin-gizmo. - Step Functions —
$$.State.RetryCount— it resolved tonull; it now counts a state's retries, and a Task'sParametersare evaluated for each attempt. Contributed by @skialpine. - Step Functions — the first matching retrier decides — a retrier that had used its
MaxAttemptswas skipped, so a laterStates.ALLretried anyway. Contributed by @skialpine. - Step Functions —
StopExecutionkeeps itserrorandcause—DescribeExecutionreturned neither; it now returns both. Contributed by @skialpine. - Step Functions — a retried
StopExecutionsucceeds — stopping an already-aborted execution returnedValidationException; it now returns the originalstopDate. Contributed by @jayjanssen. - TLS — the generated certificate works with rustls — it was a CA certificate, which rustls refuses as a server's; it is now a server certificate. Contributed by @antonie-popovic.
[1.5.22] — 2026-10-05
Added
- Bedrock AgentCore — Memory data plane — the
bedrock-agentcoredata-plane endpoint now serves the short-term event log (CreateEvent,GetEvent,ListEvents,DeleteEvent,ListActors,ListSessions), the long-term record store (BatchCreateMemoryRecords,BatchUpdateMemoryRecords,BatchDeleteMemoryRecords,GetMemoryRecord,ListMemoryRecords,DeleteMemoryRecord) andRetrieveMemoryRecords(token-overlap scoring, no embeddings); extraction does not run soStartMemoryExtractionJobreturnsResourceNotFoundException; a cross-account memory ARN is refusedAccessDeniedExceptionunderAUTH=true. Shapes verified against botocorebedrock-agentcore. Contributed by @pingedbrain. - AWS Budgets —
CreateBudget,DescribeBudget,DescribeBudgets,UpdateBudget,DeleteBudget,CreateNotification,UpdateNotification,DeleteNotification,DescribeNotificationsForBudget,CreateSubscriber,UpdateSubscriber,DeleteSubscriber,DescribeSubscribersForNotification,TagResource,UntagResourceandListTagsForResource. Account-scoped JSON 1.1 service; omittedTimePeriod.Startdefaults to the period start, omittedEndto06/15/87 00:00 UTCand omittedThresholdTypetoPERCENTAGE; the 10-notification/budget and 11-subscriber/notification limits are enforced withCreationLimitExceededException; deleting the last subscriber of a notification deletes it. Budget Actions andDescribeBudgetPerformanceHistoryare out of scope. Contributed by @skialpine. - OpenSearch Serverless — collections, security and access policies, and a proxied data plane —
CreateCollection,BatchGetCollection,ListCollections,UpdateCollection,DeleteCollection;Create/Get/Update/Delete/ListSecurityPolicy(encryption,network);Create/Get/Update/Delete/ListAccessPolicy(data);GetPoliciesStats; tag operations; enough for Terraform'saws_opensearchserverless_collection,_security_policyand_access_policyto apply and destroy; a collection requires a matching encryption policy (exact name orprefix*), an update must name the currentpolicyVersion, a data policy refuses empty or wildcard principals,TIMESERIEScollections refuse custom ids and updates, and withOPENSEARCH_DATAPLANE=1each collection is backed by an OpenSearch container on a named Docker volume, otherwise 503; data access and network policies are stored but not enforced. Contributed by @skialpine. - CloudFormation —
AWS::RDS::DBSubnetGroup,AWS::RDS::DBParameterGroup,AWS::RDS::DBClusterParameterGroupandAWS::SecretsManager::SecretTargetAttachment— these CDKrds.DatabaseInstance/rds.DatabaseClustertypes were refused asUnrecognized resource types; they now create, update and delete via the RDS and Secrets Manager APIs.Refreturns the group name or the secret ARN;Fn::GetAttgivesDBSubnetGroupArn,DBParameterGroupNameandDBParameterGroupArn; a parameter requiring a reboot goespending-reboot; the attachment writesengine,host,portanddbnameinto the secret JSON and removes them on delete. Reported by @fabio-andre-rodrigues. - Aurora DSQL — partial indexes —
CREATE INDEX ASYNC ... WHERE predicatewas refused0A000; the predicate now reaches the backend (unique partial indexes scope uniqueness to covered rows). A volatile-function predicate fails42P17and a subquery fails0A000at submit time, in the order the live service checks (eu-central-1, 2026-10-04). Contributed by @vivedo. - Aurora DSQL —
dsql.enable_batched_nestloopand the reserveddsql.prefix — the setting showsonby default,RESETreturns toon, and a non-Boolean value or value list is refused22023; any otherdsql.*name is refused42602"reserved prefix";work_mem,statement_timeoutanddefault_statistics_targetcan no longer be set (0A000), as on the live service. Plans remain Postgres-shaped. Contributed by @vivedo. - Aurora DSQL — extended statistics limits — a sixth
CREATE STATISTICSon a table fails54000"more than 5 extended statistics per table are not allowed"; targets above 100 are refused22023;ALTER TABLE ... ALTER COLUMN ... SET STATISTICSis refused0A000, as on the live service. Contributed by @vivedo. - IoT —
ListCertificatesByCA—GET /certificates-by-ca/{caCertificateId}answeredUnsupported IoT path; it now lists device certificates under the CA in every status, newest first (or ascending withisAscendingOrder=true), withpageSize(1–250) andnextMarkerpagination; an unknown CA returns an empty list; invalid page sizes, ids or markers returnInvalidRequestException. Contributed by @iot-rocket. - IoT — lifecycle events — the broker publishes
$aws/events/presence/connected|disconnected/{clientId}and$aws/events/subscriptions/subscribed|unsubscribed/{clientId}with the AWS payload (sessionIdentifier,principalIdentifier,versionNumber,disconnectReason,clientInitiatedDisconnect); rules or subscriptions with a#/+prefix filter do not receive$aws/eventsmessages, and client ids containing#or+get none. Contributed by @iot-rocket. - Cognito —
SetUICustomizationandGetUICustomization— store and return the hosted UI CSS per user pool or per app client (client falls back to pool default); the pool needs a domain first, as on AWS.ImageFileis accepted but not stored. Supports Terraform'saws_cognito_user_pool_ui_customization. Contributed by @antonie-popovic.
Fixed
- Cognito — app client secret hashes —
GenerateSecret=trueclients now require a validSecretHashon signup, confirmation, password recovery and auth; missing/wrong hashes returnNotAuthorizedExceptionbefore any user change. Clients without a secret reject a hash on self-service and initial auth; refresh/challenge ignore it. Refresh auth verifies the token owner and custom challenges cannot be answered through a different client. Applies underAUTH=true. Contributed by @AdrianAcala. - Cognito —
/oauth2/tokenrefreshes tokens issued by the API — therefresh_tokengrant answeredinvalid_grantfor tokens fromInitiateAuth,AdminInitiateAuth,RespondToAuthChallengeor federated sign-in; it now validates them asREFRESH_TOKEN_AUTHdoes, refusing revoked, signed-out or wrong-client tokens withinvalid_grantand returning new ID and access tokens. A missing or wrong client secret or unknown client returnsinvalid_client. Contributed by @Pintouch. - Bedrock — foundation model agreement offers —
ListFoundationModelAgreementOffersreturned an empty list, so there was noofferTokenforCreateFoundationModelAgreement; it now returns one offer for third-party models (Amazon models have none),CreateFoundationModelAgreementrequiresofferTokenand returnsResourceNotFoundExceptionfor an unknown model, andGetFoundationModelAvailabilityreportsAVAILABLEonly while an agreement exists, so the Terraformaws_bedrock_foundation_model_agreementresource can be destroyed. Reported by @wparad. - SES — an unreachable SMTP relay no longer blocks the emulator — with
SMTP_HOSTset, a relay that drops packets held every service request for the OS connect timeout (~2 min). The relay now runs in the background with a 10-second timeout after SES returns theMessageId; Cognito email delivery uses the same relay. Reported by @bawdo. - RDS — MySQL instances apply their DB parameter group — parameters were stored but never reached the server; a MySQL or MariaDB instance now starts with its group's parameters as server options.
ModifyDBParameterGroupwithApplyMethod=immediaterunsSET GLOBALon running instances;ResetDBParameterGrouprestores engine defaults; a static parameter withimmediateis refusedInvalidParameterCombination; apending-rebootchange showsParameterApplyStatus: pending-rebootuntil next start. Names, values and formula values are not validated. Contributed by @skialpine. - RDS — creating an existing parameter group is refused —
CreateDBParameterGroupandCreateDBClusterParameterGroupwith a name already in use replaced the group with an empty one, dropping its parameters; they now returnDBParameterGroupAlreadyExists, as AWS does. Contributed by @skialpine. - RDS — a backup retention period of 0 turns binary logging off — on RDS for MySQL,
BackupRetentionPeriod=0turns binary logging off; MiniStack's MySQL 8.0/8.4 instances kept the image default, binary logging on. Such an instance now starts with binary logging off. Contributed by @skialpine. - RDS —
ModifyDBInstancesettings that are not pending modifications apply immediately — withoutApplyImmediately,DeletionProtection,CopyTagsToSnapshot,PreferredBackupWindow,PreferredMaintenanceWindow,PubliclyAccessible,MaxAllocatedStorage,MonitoringIntervalandMonitoringRoleArnwere queued inPendingModifiedValues, which has no such members, and never applied. They now apply at once on every instance. Contributed by @AdrianAcala. - RDS — the MySQL master user gets the privileges AWS gives it — the master user was granted
ALL PRIVILEGESincludingSUPERandSYSTEM_VARIABLES_ADMIN, soSET GLOBAL/SET PERSISTworked where RDS denies them; an instance started in the background got no global grant at all. Every start path now grants the RDS/Aurora master user privileges for the engine and versionWITH GRANT OPTION. Contributed by @skialpine. - API Gateway —
GetApiKeysfilters bynameQuery—GetApiKeysignorednameQueryand returned all the API keys, so a lookup by name could get the wrong key. It now returns only the keys whose names start withnameQuery. Contributed by @mishukdutta-cz. - API Gateway v2 — JWT claims reach a Lambda as strings —
requestContext.authorizer.jwt.claimsholds every claim as a string, as on AWS: numbers as digits, booleans astrue/falseand arrays as their items in brackets, e.g.[admin dev]. Typed event models (for exampleaws_lambda_eventsin Rust, or Go'smap[string]string) parse the event. Contributed by @antonie-popovic. - API Gateway v2 (WebSocket API) —
$connectwithAWS_IAM— an unsigned handshake is refused with 403Missing Authentication Token, and underAUTH=truethe caller needsexecute-api:Invokeonarn:aws:execute-api:<region>:<account>:<api-id>/<stage>/$connect. Contributed by @iot-rocket. - ALB — repeated HTTP target response headers — forwards every
Set-Cookieas a separate header, preserving cookie attributes and repeated fields even when their names use different casing; previously only the first value survived. Contributed by @AdrianAcala. Reported by @bawdo. - IoT —
CreateThingGroupon an existing name returns the group when nothing differs — a repeatedCreateThingGroupalways failed withResourceAlreadyExistsException. It now returns the existing group's name, ARN and id when the description, attributes (in any order), parent and tags match, and answers 409 with AWS's message otherwise, leaving the group unchanged, as AWS does. AnAWS::IoT::ThingGroupthat names an existing group still fails its stack, with or without matching properties, now with AWS's name-conflict message. Contributed by @iot-rocket. - IoT — just-in-time registration under a CA in
SNI_ONLYmode — a device certificate signed by a CA registered withcertificateModeSNI_ONLYand auto-registration enabled was refused on its first mTLS connect, so onlyDEFAULTCAs auto-registered. Such a CA now registers the certificatePENDING_ACTIVATIONand publishes the registered event when the device's TLS ClientHello carries a server name, and does nothing without one. Under either mode, an endpoint name with another account's prefix auto-registers nothing. Contributed by @iot-rocket. - IoT —
RegisterCertificatelinks the CA that signed the certificate — a certificate registered withoutcaCertificatePemcarried nocaCertificateId, even when a registered ACTIVE CA had signed it, soDescribeCertificatenamed no CA andListCertificatesByCAleft it out. It is now linked to that CA, as AWS does; when several registered CAs share a subject, the signature decides. Contributed by @iot-rocket. - IoT — a CONTINUOUS job runs again for a thing that rejoins its target group — executions were one per thing/job, so a thing that finished, left and rejoined a group never got another execution. Rejoining now queues the next execution number; leaving moves a QUEUED execution to
REMOVED; both publishjobs/notify(-next);notify-nextomitsthingNameand emptystatusDetails; andListJobExecutionsForThing,DescribeJobExecutionandjobProcessDetailsinclude earlier executions. Contributed by @iot-rocket. - IoT — a
#region no longer widens topic filters — a WebSocket session whose credential names#as its region received every message published under that region, whatever its filter, because filters were matched with the account and region prefix in front of them. Contributed by @iot-rocket. - Lambda — a timed-out invocation reports
Sandbox.Timedout— functions past theirTimeoutreturnedRuntime.ExitError, so Step FunctionsRetry/CatchonSandbox.Timedoutnever matched; all executors now returnSandbox.TimedoutwithTask timed out after N.00 seconds; a runtime that exits before responding still reportsRuntime.ExitError. Contributed by @mishukdutta-cz. - Lambda — throttle
retryAfterSecondsis a string — aTooManyRequestsExceptionreturnsretryAfterSecondsas a string, as the Lambda API model declares, so SDK clients such as the AWS SDK for Rust parse the response as a throttle. Contributed by @antonie-popovic. - Step Functions —
TimeoutSecondsapplies to Lambda and service integration tasks — only.waitForTaskTokentasks respectedTimeoutSeconds; Lambda and service integration tasks now failStates.TimeoutafterTimeoutSeconds; activity tasks andTimeoutSecondsPathunchanged. Contributed by @mishukdutta-cz. - Step Functions —
States.TaskFailedno longer matchesStates.Timeout—States.TaskFailedmatched timeouts, so retries/catches ran where AWS doesn't; it now matches every error exceptStates.Timeout. Contributed by @mishukdutta-cz. - AppConfig — predefined deployment strategies —
AppConfig.AllAtOnce,AppConfig.Linear50PercentEvery30Seconds,AppConfig.Canary10Percent20MinutesandAppConfig.Linear20PercentEvery6Minutesnow exist in every account/region and cannot be updated or deleted;StartDeploymentandAWS::AppConfig::DeploymentfailResourceNotFoundExceptionfor an unknown strategy id. Contributed by @koh-sh. - Aurora DSQL — the 8-key index limit comes first — measured live, DSQL reports
54011before the mode, key-expression andINCLUDErules; the proxy reported those first, so a plainCREATE INDEXon nine columns drew "unsupported mode".sys.jobs.detailsis now NULL for a job that succeeded, where it was an empty string. Contributed by @vivedo. - Aurora DSQL —
CALL sys.wait_for_job($1)with a bound job id — a bound job id went to the backing Postgres and failed3F000; it now works forsys.wait_for_jobandsys.jobs ... WHERE job_id = $1,CALLreturnssucceededwith theCALLtag (eu-central-1, 2026-10-04), and a malformed id is refused22P02;CREATE INDEX ASYNC/ALTER TABLE ASYNCreturn the matching tags,sys.jobsdeclaresoidandtimestamptzcolumns, a constraint validation job carriesclass_id2606, and a failing unique index reports the service'sdetails. Contributed by @vivedo. - Aurora DSQL —
TimeZonemissing at startup — the proxy's startup greeting reported noTimeZone, so a driver that decodestimestamptzby it could stall on the first value; it now reportsTimeZone,IntervalStyleand the rest of the parameters the live service does. Contributed by @vivedo. - OpenSearch — data-plane containers are named per account — containers were named
ministack-opensearch-<region>-<domain>, causing Docker name conflicts across accounts and erroneous cleanup; names now include an account and region hash, as RDS does. Contributed by @skialpine. - ElastiCache — serverless caches run in cluster mode — MiniStack's container ran without cluster mode, accepting multi-key commands that hash to different slots where AWS fails with
CROSSSLOT; the container now runs as one cluster-mode shard holding all slots, andCLUSTER SLOTSreports the cache endpoint. Contributed by @skialpine. - CloudTrail —
PutEventSelectorsstoresAdvancedEventSelectorsand setsHasCustomEventSelectors— advanced selectors were dropped instead of stored; they are now stored in place ofEventSelectors, a request with both kinds, neither, or an empty or oversized list failsInvalidEventSelectorsException, basic selectors fill in omitted members, andGetTrail/DescribeTrailsreportHasCustomEventSelectors: truewhen non-default selectors exist. Contributed by @iot-rocket. - CloudTrail —
GetEventSelectorsreturns the default selector of a new trail — a trail that never hadPutEventSelectorsanswered an emptyEventSelectorslist instead of the default selector that logs all read and write management events. Contributed by @iot-rocket. - STS —
GetAccessKeyInfoanswers the account that owns the key — it always returned the caller's account; it now returns the owning account for known keys, or decodes it from the key id for anyAKIA/ASIAkey as AWS does, and returnsValidationErrorfor a key id that encodes no account or violates constraints. Contributed by @iot-rocket. - STS —
GetAccessKeyInfois authorized like other actions — underAUTH=trueit was allowed likeGetCallerIdentityandGetSessionToken, whatever the caller's policies said. It now needs an identity policy that allows it and no deny, and otherwise answersAccessDenied, as AWS does; the other two stay allowed. Contributed by @iot-rocket. - SNS —
CreateTopickeeps its tags — the handler readTag.member.Nwhere the API sendsTags.member.N, so tags given at creation were dropped. Contributed by @iot-rocket.
[1.5.21] — 2026-10-03
Added
- API Gateway v2 — custom domain names and API mappings —
CreateDomainName,GetDomainName,GetDomainNames,UpdateDomainName,DeleteDomainNameandCreate/Get/Update/DeleteApiMapping(s), with domain tags throughTagResource, list pagination, andBadRequestException"Invalid stage identifier specified" for a mapping to a missing stage;AWS::ApiGatewayV2::DomainNameandAWS::ApiGatewayV2::ApiMappingin CloudFormation. A domain and its mappings are the same resource as the API Gateway v1 domain and base path mappings, and a request whoseHostis the domain reaches the mapped HTTP API. Reported by @wparad. - CloudFormation — stack updates replace resources — a change to a property the change set reports as
RequiresRecreation: Alwaysnow creates a new resource under a new generated name, points its dependents at it and deletes the old one after the update succeeds (a rollback deletes the new one instead). With an explicit, unchanged name the update fails with the AWS message naming the physical id; this now also coversAWS::Lambda::Function. A named SQS queue or SNS topic fails with AWS's already-exists error instead and keeps its messages or subscriptions. Contributed by @iot-rocket. - CloudFormation —
AWS::EFS::FileSystem,AWS::EFS::MountTargetandAWS::EFS::AccessPoint— the three types create, update in place and are replaced on create-only changes through the EFS store, withRefandFn::GetAttas in the template reference, so CDKefs.FileSystemstacks deploy. Contributed by @fabio-andre-rodrigues. - EFS — file system policy, protection and replication —
PutFileSystemPolicy,DescribeFileSystemPolicy,DeleteFileSystemPolicy,UpdateFileSystemProtectionandCreate/Describe/DeleteReplicationConfiguration;CreateMountTargetchecks the subnet, security groups, zone and address (SubnetNotFound,SecurityGroupNotFound,MountTargetConflict,AvailabilityZonesMismatch,IpAddressInUse), andDeleteFileSystemwith mount targets answers 409. Contributed by @fabio-andre-rodrigues. - Bedrock AgentCore — Memory resources —
CreateMemory,GetMemory,ListMemories,UpdateMemoryandDeleteMemory; memory strategies are recorded without extraction. Contributed by @pingedbrain. - Athena — databases, DDL, and Trino-style table references —
ListDatabasesandGetDatabaseread the Glue Data Catalog;CREATE EXTERNAL TABLEandDROP TABLEapply to it, creating the Glue table Athena would (formats, SerDe, TBLPROPERTIES);CREATE TABLEwithoutEXTERNALis rejected as Athena rejects it, and Iceberg tables are not supported; a query may name a table as"awsdatacatalog"."db"."t"ordb.t. Contributed by @sjincho. - CloudFront — distributions serve traffic, plus the AWS-managed policies and monitoring subscriptions — a request to
<label>.cloudfront.net(or<label>.cloudfront.<MINISTACK_HOST>) is served: ordered cache behaviors,ViewerProtocolPolicy,AllowedMethods,DefaultRootObject, cache and origin request policy forwarding (and legacyForwardedValues),viewer-request/viewer-responseCloudFront Functions, response headers policies, and S3 or custom origins; an S3 origin is read only as the bucket policy allows it (OAC, OAI or public).DomainNamehas the AWSd+ 13-character shape.List*Policiesreturn the AWS-managed cache, origin request and response headers policies, andCreate/Get/DeleteMonitoringSubscriptionare implemented. Not modelled: caching, WAF, logging, geo restrictions, custom error pages, signed URLs and cookies, Lambda@Edge. Contributed by @skialpine. - CloudFormation — EKS cluster and node group updates —
AWS::EKS::ClusterappliesVersion,Logging,ResourcesVpcConfig,AccessConfig.AuthenticationModeandTagsin place andAWS::EKS::NodegroupappliesScalingConfig,Labels,Taints,UpdateConfig,LaunchTemplate,Version,ReleaseVersionandTags, where every such change used to reportUPDATE_COMPLETEand was dropped. Contributed by @iot-rocket. - CloudFormation —
AWS::Pipes::PipeandAWS::Scheduler::ScheduleGroupupdate in place — a pipe keeps its stream position andCreationTimewhenDescription,Target,RoleArn,DesiredStateorTagschange, getsDescriptionandTagson create and refuses a create-only source change under an explicitName, and a schedule group takes template and stack tag changes while keeping tags added throughTagResource. Contributed by @iot-rocket. - CloudFormation — ECR repositories are replaced — an
EncryptionConfigurationchange onAWS::ECR::Repositoryreplaces the repository under a new generated name (generated names now carry the usual suffix) and is refused for an explicitRepositoryName, where it used to be ignored. Contributed by @iot-rocket. - CloudFormation — IAM roles and managed policies are replaced — a
Pathchange onAWS::IAM::Roleand aPathorDescriptionchange onAWS::IAM::ManagedPolicyreplace the resource under a new generated name, a named role refuses it as a custom-named replacement, a named policy fails with the IAM duplicate-name error as on AWS, also when only itsPathchanges, generated policy names get the suffix other generated names have, and both ARNs include thePath. Contributed by @iot-rocket. - CloudFormation —
IMPORTchange sets execute — existing SQS queues, SSM parameters, S3 buckets, DynamoDB tables, IAM roles, log groups, Lambda functions, IoT policies, IoT CA certificates and Cognito user pools are adopted into a new or existing stack without being changed (IMPORT_IN_PROGRESStoIMPORT_COMPLETE, or a rollback when a resource is gone), and an import that changesOutputsor stack tags is refused, as on AWS. Contributed by @iot-rocket.
Fixed
- Docker — the image healthcheck probes
GATEWAY_PORT— it always requestedlocalhost:4566, so a container started on another port reportedunhealthywhile serving; it now resolves the port as the server does (GATEWAY_PORT, thenEDGE_PORT, then4566). Contributed by @skialpine. - Lambda — Node.js and Python functions start in the code directory —
process.cwd()andos.getcwd()were MiniStack's own directory, so libraries that read files relative to it (such asnode-config) missed the function's files; the working directory is now the code root (LAMBDA_TASK_ROOT), as on AWS. Contributed by @drakeo338. Reported by @shane-patzlsberger. - STS —
AssumeRolehonors trust-policy denies and conditions — withAUTH=true, a matchingDeny(includingNotAction) overrides anAllow, andsts:ExternalIdandsts:RoleSessionNameconditions are evaluated; a denied call returnsAccessDeniedand creates no session. Contributed by @AdrianAcala. - Cognito — federated sign-in tokens — the ID token carries the
noncefrom/oauth2/authorize, both tokens carrycognito:groups, and a user linked by a PreSignUp trigger signs in as the linked profile instead of a new one. Contributed by @kjdev. - CloudFormation — nested stack with a
Transform— underAUTH=true, a nested stack whose template declares aTransformor callsFn::Transformfails withRequires capabilities : [CAPABILITY_AUTO_EXPAND]unless the parent acknowledgedCAPABILITY_AUTO_EXPAND, as on AWS. Contributed by @iot-rocket. - CloudFormation —
AWS::RDS::DBClusterandAWS::RDS::DBInstanceupdate in place — a stack update re-ran the create, which gave the resource a new endpoint, resource id and create time and emptied the cluster's member list; the properties the create stores now change on the existing record, a create-only orEnginechange replaces the resource or, under a custom identifier, is refused, a clusterMasterUsernamechange leaves the cluster as it is, change sets report which properties replace, and a stack-created cluster can now be described and answersFn::GetAtt DBClusterResourceId. Contributed by @iot-rocket. - SES — a sandboxed account sends only to verified or simulator recipients — SES v2
PutAccountDetailswithProductionAccessEnabled=falseputs the account (per region) in the sandbox, as on AWS, andGetAccountreports it with the submittedDetails. A sandboxed send to a recipient that is neither a verified address or domain identity nor a@simulator.amazonses.comaddress fails withMessageRejected"Email address is not verified. The following identities failed the check in region …" for v1SendEmail,SendRawEmailandSendTemplatedEmailand v2SendEmail; bulk sends reject only the affected entries. Accounts stay in production by default. Reported by @skialpine. - CloudFormation —
AWS::ECS::ClusterandAWS::ECS::TaskDefinitionupdate in place — a cluster change keeps the cluster (settings or configuration dropped from the template stay), and a task definition change registers the next revision of the family and deregisters the old one instead of overwriting revision 1. Contributed by @iot-rocket. - CloudFormation — more
IMPORTtypes — SNS topics, KMS keys and aliases, IoT thing types, Cognito user pool clients, groups, resource servers and identity pools, and API Gateway REST APIs and stages can be imported, including two-key identifiers, andFn::GetAtton an identity pool'sIdresolves. Contributed by @iot-rocket. - CloudFormation —
ImportExistingResources— aCREATEorUPDATEchange set imports an added resource whose static custom name already exists (it needsDeletionPolicyRetainorRetainExceptOnCreate), and a rollback releases imported resources instead of deleting them. Contributed by @iot-rocket. - ECS —
UpdateServicewithforceNewDeploymentreplaces the tasks — it was ignored when the task definition did not change. Rolling deployments now pin image digests from the first task, honorversionConsistencydisabled, userepositoryCredentialsfor private registries, and reportimageDigestand the Fargate platform version; a task falls back to the local image when the pull fails. Contributed by @AdrianAcala. - AutoScaling — target tracking alarms —
PutScalingPolicywithTargetTrackingScalingcreates theTargetTracking-<group>-AlarmHigh-<uuid>alarm and, unlessDisableScaleInis set, theAlarmLowone on the tracked metric, lists them inAlarmsofPutScalingPolicyandDescribePolicies, replaces them when the policy is updated and deletes them with the policy or its group. AnAWS::AutoScaling::ScalingPolicyin a template does the same. Contributed by @iot-rocket. - IoT — mTLS trusts every registered device certificate — the listener no longer fails the TLS handshake for an ACTIVE certificate whose CA was deactivated or deleted before its first connect, or that was registered without a CA; as on AWS, only the certificate's own status refuses it. Contributed by @iot-rocket.
- API Gateway — usage plan throttling — a REST API request carrying an API key from a usage plan on the stage is throttled with
429 Too Many Requestsby the plan'sthrottleand its per-methodapiStages[].throttle, in addition to the stage's method settings, and a throttled response carriesx-amzn-ErrorType: TooManyRequestsException. Contributed by @iot-rocket. - API Gateway — request body validation follows JSON Schema draft 4 — a request validator checks the body against the draft 4 keywords of the model (
enum,pattern, length, range andmultipleOfbounds,integerversusnumberversusboolean,items,additionalProperties,patternProperties,dependencies,allOf/anyOf/oneOf/not, formats, and$refto local definitions and to other models of the API); an empty body and a body nested more than 1000 levels deep are refused, and a schema that applies itself to the same value again answers 500.BAD_REQUEST_BODYandBAD_REQUEST_PARAMETERSread{"message": "..."}and carryx-amzn-ErrorType: BadRequestException. Contributed by @iot-rocket. - API Gateway v2 (WebSocket API) —
$connectauthorization — aCUSTOM$connectroute ran no authorizer. It now runs its REQUEST authorizer, refuses the handshake with 401, 403 or 500 and passesprincipalIdand the context torequestContext.authorizerof the connection's events.CreateAuthorizer,CreateRoute,UpdateRouteand the CloudFormation resources refuse a JWT authorizer, JWT route authorization and authorization on a route other than$connectwithBadRequestException, as AWS does; a JWT$connectroute kept in saved state refuses the handshake with 500 instead of validating the token.requestContext.stagenames the stage in the connection URL instead of$default. Contributed by @iot-rocket. - Lambda — Docker executor under
USE_SSL=1when MiniStack runs in a container — the gateway certificate, CA bundle and Java truststore were bind-mounted into every Lambda container from MiniStack's own filesystem (MINISTACK_SSL_CERT, or the generatedministack-tls/server.crtunder the temp directory), paths the host Docker daemon cannot see, so every invocation failed withbind source path does not exist. In a container they are now copied into the Lambda container, as function code already is. Contributed by @skialpine. - RDS —
DescribeDBClusterSnapshotAttributes— was unimplemented (InvalidAction: Unknown RDS action), so Terraform'saws_db_cluster_snapshotresource failed on read (reading RDS DB Cluster Snapshot … attribute) after creating the snapshot. Returns therestoreattribute with no shared accounts (the manual-snapshot default);ModifyDBClusterSnapshotAttributeis not implemented. Unknown snapshot ids answerDBClusterSnapshotNotFoundFault. Contributed by @skialpine. - SES — a send from an unverified sender is rejected — v1
SendEmail,SendRawEmail,SendTemplatedEmailandSendBulkTemplatedEmailand v2SendEmailandSendBulkEmailaccepted anySource/FromEmailAddress. AWS requires the sender to be a verified identity in the account and region, in production as well as the sandbox, and now so does MiniStack: the send fails withMessageRejected"Email address is not verified. The following identities failed the check in region …". A verified domain covers its addresses and subdomains, domain names compare case-insensitively and email addresses case-sensitively, as AWS documents. Tests that send from an address they never created as an identity need aVerifyEmailIdentity/CreateEmailIdentityfirst. Reported by @skialpine. - CloudFormation — a change set with only new stack tags lists them — it ended
FAILEDwith "didn't contain changes"; it now lists each resource the stack holds, other than a custom resource or wait condition, as aModifywithScope: Tags, and stack tags given in another order are no change for a change set orUpdateStack. Contributed by @iot-rocket. - CloudFormation — change sets list what a change reaches — a resource that references a replaced resource, an attribute of a modified resource or a changed parameter is now listed as a
Modifywhose detail names the cause (ChangeSourceResourceReference,ResourceAttributeorParameterReference, withCausingEntity). Contributed by @iot-rocket. - ECS —
DescribeClustersstatistics —include=["STATISTICS"]returns the sixteen running/pending task and active/draining service counters per launch type instead of an empty list. Contributed by @iot-rocket. - ECS —
DescribeClustershonoursinclude—settingsandtagscome back empty andattachmentsandconfigurationare left out unless requested,CreateClusterkeepsconfiguration, and a CloudFormation cluster reports its tags and the defaultcontainerInsightssetting. Contributed by @iot-rocket. - CloudFormation —
AWS::S3::MultiRegionAccessPointandAWS::AutoScaling::LaunchConfigurationare replaced on update — every property of both types is create-only, so a change now creates the resource under a new generated name and deletes the old one after the update (aRegionschange was dropped and the stack reported the alias as the physical id, a launch configuration was overwritten under its old name), fails with the custom-named-resource error when the name is explicit, and is reported asReplacement: Truein a change set. Contributed by @iot-rocket. - CloudFormation —
AWS::SQS::QueuewithFifoQueuegets a generated.fifoname —FifoQueue: truewithout aQueueNamecreates a FIFO queue with a generated.fifoname instead of a standard queue, and aQueueNamewhose.fifosuffix disagrees withFifoQueuefails the resource. Contributed by @iot-rocket. - CloudFormation —
Fn::Selectin a condition — a condition such as!Not [!Equals [!Select [2, !Ref KeySpec], ""]]was always true; conditions now resolveFn::Select, and an index outside the list fails withTemplate error: Fn::Select cannot select nonexistent value at index N, in conditions and in properties. Contributed by @mishukdutta-cz. - CloudFormation —
Refto a list parameter — aRefto aCommaDelimitedListorList<...>parameter gave the raw string, so a list property got one item per character; it now gives the space-trimmed list. A list in a nested stack'sParametersor in anAWS::SSM::ParameterValuefails the resource. Contributed by @mishukdutta-cz.
[1.5.20] — 2026-10-01
Added
- DynamoDB — global table replicas through
UpdateTableReplicaUpdates— aCreatewas accepted and ignored, so Terraform / OpenTofuaws_dynamodb_tablewith areplicablock waited forever. ACreatenow copies the table and its items to the other region and turns onNEW_AND_OLD_IMAGESstreams;DescribeTablereportsGlobalTableVersion2019.11.21and the other regions underReplicasasACTIVE; writes and TTL settings replicate;Deleteremoves the replica. Reported by @wparad. - IoT — registry events — with a type enabled through
UpdateEventConfigurations, the thing, thing type, thing type association, thing group, thing group hierarchy and thing group membership operations publish the AWS payload to$aws/events/..., where MQTT subscribers and topic rules receive it. Contributed by @iot-rocket. - ElastiCache — serverless caches —
CreateServerlessCache,DescribeServerlessCaches,ModifyServerlessCacheandDeleteServerlessCacheforvalkey(major 7, 8 or 9) andredis(major 7). With Docker each cache gets a TLS-only Valkey or Redis container whose certificate chains to the CA atGET /_ministack/elasticache/ca.pem.ModifyServerlessCacheallows a same-engine major upgrade, redis to valkey, and valkey 7 to redis 7. Memcached serverless caches and serverless snapshots are refused withInvalidParameterValue. Contributed by @skialpine. - CloudFormation —
AWS::Lambda::VersionupdatesFunctionScalingConfigin place — a stack update re-ran the create, which published a new version for every change; aFunctionScalingConfigchange now keeps the version, also when the update rolls back. Contributed by @iot-rocket. - CloudFormation —
AWS::Glue::Database,Table,Partition,Connection,Crawler,JobandTrigger— they failed withUnrecognized resource types; they now create, update and delete through the Glue API, so Athena and the Glue API read a stack's tables. Ref andFn::GetAttfollow the CloudFormation reference, as do replacing and in-place properties; aDatabaseInput.Namechange fails withDatabase <name> not foundand rolls back, as on AWS. Crawlers and jobs are only recorded, never run. Contributed by @fabio-andre-rodrigues. - CloudFormation —
AWS::ElastiCache::SubnetGroup,ParameterGroup,CacheCluster,ReplicationGroup,UserandUserGroup— they failed withUnrecognized resource types; they now go through the ElastiCache API, so a stack's cluster or replication group gets a real container-backed endpoint to pass to a Lambda function or ECS task. Replacement follows the CloudFormation reference (includingNumCacheNodeswhen no Availability Zone is given), everything else updates in place, andFn::GetAtton an endpoint the resource does not have fails, as the reference says. Contributed by @fabio-andre-rodrigues. - IoT —
DescribeEventConfigurationsandUpdateEventConfigurations— both answeredUnsupported IoT path; they now store the registry event switches per account and region, every type starting disabled, an update changing only the types it names, andcreationDate/lastModifiedDateset from the first update on, as on AWS. Contributed by @iot-rocket. - CloudFormation —
AWS::ServiceDiscovery::HttpNamespace,PrivateDnsNamespace,PublicDnsNamespace,ServiceandInstance— they failed withUnrecognized resource types, which blocked the CDK ECS Cloud Map constructs; they now go through the Cloud Map API, with Ref,Fn::GetAttand replacement as in the CloudFormation reference. Namespaces now storeProperties.DnsProperties.SOA.TTL, andDeleteNamespaceremoves the namespace's hosted zone, as on AWS. Contributed by @fabio-andre-rodrigues. - Bedrock AgentCore — runtime version history and endpoint pinning — runtime updates now retain version snapshots,
GetAgentRuntimeretrieves a selected version, andListAgentRuntimeVersionspaginates the history.DEFAULTadvances with the latest version while named endpoints stay pinned until updated; invocations use the selected snapshot, with containers isolated by version. Contributed by @pingedbrain. - Bedrock AgentCore —
ListAgentRuntimesandListAgentRuntimeEndpointspaginate — both takemaxResultsandnextTokenand return anextTokenonly when another page exists. Contributed by @pingedbrain.
Changed
- botocore 1.43.106 — the service models MiniStack reads move from 1.43.63 to 1.43.106; the images keep
awscli1.45.63, installed on the same botocore instead of its pinned one.
Fixed
- SES v2 —
ListEmailIdentitiesandListConfigurationSetsanswer the routes newer SDKs use — botocore 1.43.106 sends them asPOST /v2/email/list-identitiesandPOST /v2/email/list-configuration-setswithNextToken,PageSizeandFilterin the body; those paths answeredNotFoundException. Both forms page, and theFilterkeys are applied. - Kinesis —
ApproximateArrivalTimestampkeeps milliseconds — it was truncated to whole seconds, so anAT_TIMESTAMPiterator from an SDK that sends fractional seconds skipped records written earlier in the same second. - CloudFormation — an empty
Capabilitieslist is accepted — botocore sends it as a bareCapabilities=, which was read as one empty value and refused, soaws cloudformation deploywithout--capabilitiesandCapabilities=[]from an SDK failed with aValidationErrorsince 1.5.11. - API Gateway v2 (HTTP API) — the request path keeps a
%25escape —/items/a%252Ebreached the Lambda'srawPathas/items/a%2Eb, because the path was fully percent-decoded. The HTTP API path now keeps%25and decodes every other escape as before;rawPath,requestContext.http.path,pathParametersand route matching all use it. Contributed by @skialpine. - Step Functions — JSONPath
$$.paths read the context object — a Choice rule'sVariableand its variable-to-variable comparison paths (including insideAnd,OrandNot), and a state'sInputPath,OutputPathand MapItemsPath, resolved$$.against the state input, so a Choice on$$.Execution.Inputsilently took its default branch. They now read the context object, as the AWS context object reference lists for those fields. Contributed by @jayjanssen. - CloudFormation —
AWS::EC2::VPCGatewayAttachmentupdates in place — a changedInternetGatewayIdorVpnGatewayIdmoves the attachment under the sameIGW|vpc-…/VGW|vpc-…physical id,VpnGatewayIdis attached at all, and aVpcIdchange leaves the gateway attached to the new VPC, or to the old one when the update rolls back.AttachInternetGatewayon a gateway already attached to a VPC answersResource.AlreadyAssociated, and a stack attaching it to a second VPC leaves it on the first, as AWS does. Contributed by @iot-rocket. - CloudFormation —
AWS::Lambda::Versionpublishes throughPublishVersion— the version takes itsDescription, a version of a function unchanged since its latest version fails with theAlreadyExistserror AWS reports,FunctionScalingConfigon a function without a capacity provider is refused, and a function keeps itsCapacityProviderConfig. Contributed by @iot-rocket. - AppConfig — hosted configuration version numbers are never reused — a version created after a delete, and the replacement CloudFormation makes for a changed
HostedConfigurationVersion, get the next unused number instead of overwriting the live one, and aLatestVersionNumbermismatch reports the AWS message. Contributed by @iot-rocket. - CloudFormation — a deleted
AWS::AppConfig::Deploymentstays inListDeployments— the stack delete removed the deployment, so a replaced deployment left the environment's history and the next one reused its number; it now stays until its environment is deleted, which, through the API or with its stack, also removes its deployments and their tags. Contributed by @iot-rocket. - CloudFormation —
AWS::ECS::ServicestoresNetworkConfigurationandLoadBalancersin the ECS API shape —DescribeServicesreturns them in camelCase on create and update, and a service from a template registers its tasks in its target groups. Contributed by @iot-rocket. - SESv2 —
CreateEmailIdentity/GetEmailIdentityreturn Easy DKIM tokens for a DOMAIN identity — a domain identity created withoutDkimSigningAttributesanswered an emptyTokenslist withStatus: NOT_STARTED. AWS provides a set of DKIM tokens for its CNAME records in that case (Easy DKIM), so the Terraformaws_sesv2_email_identityresource'sdkim_signing_attributes[0].tokensindexing failed. A DOMAIN identity now gets three tokens,SigningAttributesOrigin: AWS_SESandStatus: PENDING, unlessDkimSigningAttributesbrings its own key (BYODKIM); EMAIL_ADDRESS identities are unchanged. Contributed by @skialpine. - Lambda — functions reach a
USE_SSL=1gateway — the gateway listener serves only HTTPS, but a function's defaultAWS_ENDPOINT_URLwas plain HTTP in every executor (Docker, the warm worker and the local subprocess), and the Docker executor's Node shim downgraded a function'shttps.requestto the gateway to HTTP, which the listener resets. The default endpoint now follows the gateway's scheme, the shim keeps TLS, and a host process trusts the gateway's certificate throughAWS_CA_BUNDLE/REQUESTS_CA_BUNDLE/NODE_EXTRA_CA_CERTSunless they are already set. WithoutUSE_SSLnothing changes. Contributed by @skialpine. - RDS —
MINISTACK_RDS_PUBLIC_ENDPOINT=1works with a Composehostname:— a containerised MiniStack whose container sets a hostname left instancescreating, because the self-lookup byHOSTNAMEfound no container. A containerised MiniStack now detects its network as with the setting off (DOCKER_NETWORK, then the self-lookup). Contributed by @skialpine. - IoT —
DeleteThingGrouprefuses a group with child groups — the delete went through and left the children pointing at a missing parent; it now fails withInvalidRequestException"Cannot delete thing group : {name} when there are still child groups attached to it", and a CloudFormation stack delete that reaches such a group ends inDELETE_FAILED. Contributed by @iot-rocket. - IoT —
UpdateThinghonoursremoveThingType— the flag was ignored, so the thing kept its type, and an update withoutattributePayloadcleared the attributes. Contributed by @iot-rocket. - API Gateway v2 (HTTP API) — a doubled leading slash still selects the route — a request to
//items/abcmatched no route and answered404 {"message":"Not Found"}. Route selection andpathParametersnow ignore the extra leading slashes;rawPathkeeps the path as received. Contributed by @skialpine. - Cloud Map —
DeleteNamespacerefuses a namespace that still has services — it deleted the namespace (and now its hosted zone) anyway. It answers400 ResourceInUse"Namespace has associated services; delete the services before deleting the namespace", as on AWS. - Lambda —
PublishVersionof an unchanged function returns the latest version — it published a new version every time; AWS doesn't publish when the code and configuration haven't changed since the last version, and returns that version with its original description. - API Gateway v2 (HTTP API) — REQUEST authorizer identity sources — a declared identity source missing from the request answers
401 {"message":"Unauthorized"}without invoking the authorizer, cached or not (it required caching).$context.*sources such as$context.routeKeyare resolved from the request instead of counting as missing, so an authorizer caching per route no longer answered 401 to every request. Contributed by @skialpine. - ECS — optional task-definition fields stay omitted — registering an EC2 task definition without task-level
cpu,memory, orrequiresCompatibilitiesno longer invents256,512, or["EC2"]in register, describe, and deregister responses. Explicitly supplied values remain in the definition. Contributed by @AdrianAcala. - IAM — customer-managed permissions use the explicit account — policy evaluation now resolves the complete policy ARN in the principal's account, so a different ambient request account cannot hide that policy or supply a foreign account's document. Permissions continue to follow the policy's current default version. Contributed by @AdrianAcala.
- Cognito —
USER_SRP_AUTHchecks the password —PASSWORD_VERIFIERaccepted any response, so a wrong password or a disabled or unconfirmed user got tokens. The challenge now carries SRP-6a parameters with a stable salt per user, and a response whose signature does not prove the stored password is refused withNotAuthorizedException;TIMESTAMPmust readEEE MMM d HH:mm:ss z yyyy, and a temporary password leads toNEW_PASSWORD_REQUIRED.CUSTOM_WITH_SRPgets the same check. Contributed by @iot-rocket. - Cognito — refresh tokens are checked against the pool and client —
REFRESH_TOKEN_AUTH(InitiateAuth,AdminInitiateAuth) andGetTokensFromRefreshTokenissued tokens for the first user in the pool when the refresh token was malformed, from another pool or of a deleted user, and accepted a token issued to another client; they now answerNotAuthorizedExceptionwith the message AWS gives for each case, and the refresh token from a SAML or OIDC federated sign-in now refreshes the federated user's session. Contributed by @iot-rocket. - CloudFormation —
AWS::S3Tables::TableBucketandAWS::S3Tables::Tableupdate in place — a stack update re-ran the create, which reset the bucket'screatedAtand rebuilt the table with a newcreatedAtand its initial metadata location, dropping committed metadata; a maintenance setting or tag change now keeps both, and a create-only table change under an unchanged name fails with the conflict AWS reports. Contributed by @iot-rocket. - RDS —
DescribeGlobalClusterslists clusters asGlobalClusterMember— each cluster was a<GlobalCluster>element, so SDKs that match the list member name, such as aws-sdk-go-v2, found none. Contributed by @IamYipi. - Amazon MQ —
DescribeBrokerInstanceOptionsreturnssupportedEngineVersionsas strings — they were{"name": ...}objects, which aws-sdk-go-v2 could not deserialize. Contributed by @IamYipi. - EventBridge —
UpdateEventBusreturns the bus — it answeredEventBusArnandLastModifiedTime, which are not response members, so SDKs returned nothing; it now returnsArn,Nameand the bus'sDescription,KmsKeyIdentifier,DeadLetterConfigandLogConfig. Contributed by @IamYipi. - CloudFormation —
AWS::CodeBuild::ProjectstoresSource,ArtifactsandEnvironmentunder CodeBuild API names — the template's PascalCase members andBuildSpecwere stored as written, soBatchGetProjectsdropped them and a build of a stack's project found no buildspec, image or environment variables. Contributed by @IamYipi. - Inspector2 — responses aws-sdk-go-v2 can read — timestamps are epoch seconds,
ListFiltersreturnscriteria,ownerId,createdAtandupdatedAt,CreateFilterreturnsarn, and coveragescanStatusis{statusCode, reason}. Saved state is converted on restore. Contributed by @IamYipi. - EventBridge —
PutEventsrefusesaws.*sources — an entry whoseSourcestarts withaws.fails withNotAuthorizedForSourceException(Not authorized for the source.) in its result entry and counts inFailedEntryCount, while the rest of the batch is delivered, as on AWS. Events published with anaws.*source throughPutEventsto simulate AWS services now get this error. Contributed by @iot-rocket. - SQS —
QueueUrlmatches the gateway's TLS scheme (USE_SSL=1) —CreateQueue/GetQueueUrl/ListQueuesalways returnedhttp://URLs, and the AWS SDK v3 uses the QueueUrl itself as the request endpoint (useQueueUrlAsEndpointdefaults true), so a client handed that URL left the TLS-only gateway. TheAWS::SQS::QueueCloudFormation provisioner built the same hardcoded scheme and now reuses the shared helper. Contributed by @skialpine. - API Gateway v2 (HTTP API) — a request no stage or route matches answers AWS's exact 404 body — an unmatched route answered
{"message": "No route found"}and an unknown stage{"message": "Stage '…' not found"}; both now answer{"message":"Not Found"}(compact JSON), as AWS does. Contributed by @skialpine. - API Gateway v2 —
apiEndpointfollows the gateway's TLS scheme — withUSE_SSL=1the gateway listener serves only HTTPS, but CreateApi and theAWS::ApiGatewayV2::ApiCloudFormation resource always returned anhttp://apiEndpoint, which nothing answers. They now returnhttps://, orwss://for a WebSocket API, as AWS does. WithoutUSE_SSLthe endpoint keepshttp://. Contributed by @skialpine. - IAM — condition value lists and request-tag key matching — negated conditions now match only when none of their policy values match, so a
StringNotEqualsdeny listing permitted values no longer denies one of those values. Request-tag condition keys match every tag name without regard to case, including names that differ only by case; affirmative conditions match any of those values and negated conditions match none. Comparisons of tag values keep the selected operator's case rules. Contributed by @AdrianAcala. - SSM — parameter tag actions authorize the parameter named by
ResourceId— withAUTH=true,AddTagsToResource,RemoveTagsFromResource, andListTagsForResourcecheckedNameinstead, so an exact ARN allow could fail and an exact ARN deny could be missed under a broad allow. Accepted parameter-name and ARN aliases now use the canonical parameter ARN for the IAM check. SSM authorization denials now match AWS's HTTP 400 JSON 1.1 response, including the canonical resource and explicit-deny reason. Contributed by @AdrianAcala. - Bedrock AgentCore — a missing runtime answers AWS's message — the control-plane runtime operations answered
Agent runtime <id> not found; they now answerResourceNotFoundException"Agent '' was not found. Please check the agent ID and try again.", as AWS does.
[1.5.19] — 2026-09-30
Added
- RDS — IAM database authentication for MySQL and Aurora MySQL — users created
IDENTIFIED WITH AWSAuthenticationPlugin AS 'RDS'log in with an SDK-generated token overmysql_clear_password, as on AWS. The instance or cluster must haveIAMDatabaseAuthenticationEnabled; withAUTH=truethe token and therds-db:connectpolicy are verified too.ModifyDBInstanceacceptsEnableIAMDatabaseAuthentication. Contributed by @Areson. - Kinesis —
SubscribeToShard— enhanced fan-out: a registered consumer receives the shard's records asSubscribeToShardEvents over an event stream (HTTP/1.1 or HTTP/2) for up to 5 minutes, from anyStartingPosition, withContinuationSequenceNumberfor resuming andChildShardswhen the shard is split or merged. A second call for the same consumer and shard within 5 seconds is aResourceInUseException; a later one takes the subscription over. - CloudWatch Logs — resource policies —
PutResourcePolicy,DescribeResourcePoliciesandDeleteResourcePolicy, account-scoped (up to 10) or scoped to one log group throughresourceArn, withexpectedRevisionIdchecks.AWS::Logs::ResourcePolicystacks now create real policies. Contributed by @fabio-andre-rodrigues. - CloudFormation —
RollbackStack— rolls a stack leftCREATE_FAILEDorUPDATE_FAILEDwith rollback disabled back to its last stable state: a failed create endsROLLBACK_COMPLETE, a failed update reverts its changes, deletes what it added and endsUPDATE_ROLLBACK_COMPLETE.RetainExceptOnCreateis honoured. Contributed by @fabio-andre-rodrigues. - CloudFormation — stack drift detection —
DetectStackDrift,DescribeStackDriftDetectionStatus,DetectStackResourceDriftandDescribeStackResourceDriftscompare the properties a template sets, plus stack-level tags, with the service's current record (IN_SYNC,MODIFIEDwithPropertyDifferences,DELETED); stacks and resources reportDriftInformation. Contributed by @fabio-andre-rodrigues. - Bedrock AgentCore — resource-based policies —
PutResourcePolicy,GetResourcePolicyandDeleteResourcePolicypersist policies for runtimes and endpoints. WithAUTH=true, runtime invocation evaluates caller principals, explicit denies and the runtime-plus-endpoint policy requirement for cross-account calls. This emulates the documented AgentCore policy contract locally; it does not validate behavior against AWS. Contributed by @pingedbrain. - KMS — grants —
CreateGrant,RevokeGrantandRetireGrant;ListGrantsnow returns the grants they create, filtered byGrantId/GranteePrincipaland paged withLimit/Marker.CreateGrantfollows the key state, rejects operations the key type cannot perform, and is idempotent for a named grant. Grants persist with the key and are not evaluated for authorization. Contributed by @DaviReisVieira. - RDS — IAM database authentication for MySQL and Aurora MySQL — users created
IDENTIFIED WITH AWSAuthenticationPlugin AS 'RDS'log in with an SDK-generated token overmysql_clear_password, as on AWS. The instance or cluster must haveIAMDatabaseAuthenticationEnabled; withAUTH=truethe token and therds-db:connectpolicy are verified too.ModifyDBInstanceacceptsEnableIAMDatabaseAuthentication. Contributed by @Areson.
Fixed
- Bedrock AgentCore — runtime and endpoint ARNs match AWS —
CreateAgentRuntimereturned…:agent/{uuid}:{version}and endpoints…:agentEndpoint/{uuid}, so identity and resource policies written for AWS never matched and every update changed the runtime ARN. Runtimes are now…:runtime/{agentRuntimeId}, stable across updates, endpoints are…:runtime/{agentRuntimeId}/runtime-endpoint/{name}, and theDEFAULTendpoint is created with the runtime and follows its latest version. Saved state moves to the new ARNs on restore. - Bedrock AgentCore —
InvokeAgentRuntimeenforces IAM policies — withAUTH=true, a runtime invocation resolves tobedrock-agentcore:InvokeAgentRuntimeand is authorized against both the runtime ARN and its runtime-endpoint ARN (thequalifier, orDEFAULT), as AWS requires, so a policy can allow one runtime and deny another. Before, the action was not extracted and the invocation skipped policy evaluation. Contributed by @pingedbrain. - IAM — a negated condition operator is true when its key is absent — the evaluator treated an absent key as a failed condition for every operator, so a
Denyguarded byStringNotEquals,StringNotLike,ArnNotLike,NotIpAddressor another negated operator never applied to a request without that key. AWS evaluates such a condition as true and denies. The single-valued negated operators now do the same, whileForAnyValueand the affirmative operators still fail on an absent key. Contributed by @iot-rocket. - Secrets Manager —
BatchGetSecretValuereturns only the secrets the caller may read — underAUTH=truea grant onsecretsmanager:BatchGetSecretValuealone returned every secret in the request, andFilterswere ignored, so a filtered call returned the whole store. Each secret now needssecretsmanager:GetSecretValueand lands inErrorsasAccessDeniedExceptionwithout it, a call byFiltersalso needssecretsmanager:ListSecrets, and the filters select the secrets as inListSecrets. Contributed by @iot-rocket. - CloudFormation — change set members follow the action —
AddandRemovechanges carriedReplacement: False, aRemovehad no physical id,PolicyActionwas never sent and aMetadataor policy detail had noRequiresRecreation.RemoveandModifynow name the physical resource, aRemoveanswersPolicyAction: Deleteand a replacingModifyReplaceAndDeleteunless the resource retains or snapshots, and attribute details answerNever.PolicyActionalso reportsRetain,Snapshotand theirReplaceAndforms from the resource's policy. Contributed by @iot-rocket. - CloudFormation —
AWS::SQS::Queueapplies every queue property —RedrivePolicy,RedriveAllowPolicy,KmsMasterKeyId,KmsDataKeyReusePeriodSeconds,SqsManagedSseEnabled,DeduplicationScopeandFifoThroughputLimitwere dropped on create and update, so a dead-letter queue declared in a template never received messages, and a value SQS refuses now fails the resource instead of being stored. A queue from a template also defaults to a 1 MiBMaximumMessageSizeand SSE-SQS encryption, as on AWS. Contributed by @iot-rocket. - Lambda — Docker executor honors timeouts above 300 seconds — pass the configured
Timeoutto AWS RIE throughAWS_LAMBDA_FUNCTION_TIMEOUT, preventing its default 300-second limit from ending longer invocations early. Timeout updates recycle warm containers so the RIE deadline follows the new configuration. Contributed by @gakuto-cw21. - CloudFormation — a nested stack's update deletes the resources its template drops — a resource removed from the child template, or created by a failed child update that was rolled back, stayed in its service and in the nested stack's resource list. A dropped resource with a
RetainorSnapshotDeletionPolicyis kept or snapshotted first, as on AWS. Contributed by @iot-rocket. - KMS —
KeyMaterialId—GenerateDataKey,GenerateDataKeyWithoutPlaintext,GenerateDataKeyPair,GenerateDataKeyPairWithoutPlaintext,Decrypt,ImportKeyMaterialandDeleteImportedKeyMaterialreturn the identifier of the key material they used, andDescribeKeyreports it asCurrentKeyMaterialIdfor symmetric keys. The identifier stays the same until the key material changes. Contributed by @zlberto. - Lambda — VPC configuration includes
VpcId—CreateFunction,GetFunction,GetFunctionConfiguration, andUpdateFunctionConfigurationnow report the VPC of the configured subnets. Previously, VPC-attached functions returned only subnet and security group IDs. Contributed by @jayjanssen. - Lambda — a Docker invocation that reaches its timeout fails — the emulator's plain-text
Task timed outreply was returned as a successful payload, so Step Functions recordedTaskSucceededand skippedCatch. Contributed by @drakeo338. Reported by @gakuto-cw21. - RDS — a persisted instance stays reachable after a restart — when its saved host port was taken, the instance moved to a new port but
Endpoint.Portkept the old one. - RDS — pending boolean modifications read as
true—PendingModifiedValueswrote PythonTrue/False, which the SDKs parse asfalse. - CloudFormation —
OnFailureandOnStackFailureare honoured — CreateStackOnFailureand CreateChangeSetOnStackFailuretakeDO_NOTHING,ROLLBACKorDELETE(roll back, then delete the stack).OnFailurewithDisableRollback, orOnStackFailure=DELETEon a non-CREATEchange set, is aValidationError. ExecuteChangeSet now honoursDisableRollback=true. Contributed by @fabio-andre-rodrigues. - CloudFormation —
DeleteStackDeletionMode=FORCE_DELETE_STACK— on aDELETE_FAILEDstack, resources that fail to delete and their dependencies are retained asDELETE_SKIPPEDand the stack reachesDELETE_COMPLETE; on any other status it is aValidationError. Contributed by @fabio-andre-rodrigues. - CloudFormation —
GetTemplateTemplateStageandChangeSetName—Processed, now the default, returns the template after its transforms;Originalreturns it as sent.StagesAvailableis reported, andChangeSetNamereturns a change set's template (ChangeSetNotFoundwhen unknown). Contributed by @fabio-andre-rodrigues. - CloudFormation — stack events carry
ClientRequestToken— every event of CreateStack, UpdateStack, DeleteStack, ExecuteChangeSet, ContinueUpdateRollback, CancelUpdateStack and RollbackStack carries that call's token. Contributed by @fabio-andre-rodrigues. - RDS — instances become
availableunderMINISTACK_RDS_PUBLIC_ENDPOINT=1in a container — database containers were left off MiniStack's network, so readiness never connected and the instance stayedcreating. They now join the network for readiness and internal wiring, andDescribeDBInstances/DescribeDBClustersstill report{MINISTACK_HOST, host_port}. Contributed by @skialpine. - IoT —
RegisterCACertificatechecks the verification certificate —DEFAULTmode requires averificationCertificatesigned by the CA with the registration code as its CN, andSNI_ONLYrefuses one, each with its own error;AWS::IoT::CACertificatefails the same way. Contributed by @iot-rocket.
[1.5.18] — 2026-09-28
Added
- Bedrock AgentCore —
InvokeAgentRuntimeruns the runtime's container — with Docker available (full image), the runtime'scontainerConfiguration.containerUriimage is started, checked on/ping, and invocations are forwarded to its/invocationson port 8080; container failures answerRuntimeClientError(424). The container is removed on update, delete or reset. Without Docker, or for a code artifact, the deterministic echo remains. Contributed by @pingedbrain. - CloudWatch Logs — delivery destination policy —
PutDeliveryDestinationPolicy,GetDeliveryDestinationPolicyandDeleteDeliveryDestinationPolicy, so a delivery that needs a destination policy can be created. Contributed by @fabio-andre-rodrigues. - Cognito — OIDC discovery through the real issuer host (
USE_SSL=1) — the generated certificate coverscognito-idp.<region>.amazonaws.comfor every region and Lambda containers resolve those hosts to MiniStack and trust it. With an/etc/hostsentry and the certificate trusted, an unmodified client follows the token'sissto MiniStack whileissstays exactly as AWS issues it. Reported by @epcap90. - KMS —
ListGrants— it answeredInvalidAction. It now lists the key's grants (empty, since grants are not modelled) and answersNotFoundExceptionfor an unknown key. Reported by @DaviReisVieira. - S3 — object annotations —
PutObjectAnnotation,GetObjectAnnotation,ListObjectAnnotationsandDeleteObjectAnnotation: up to 1,000 UTF-8 payloads per object version, carried byCopyObjectunless the directive isEXCLUDE, removed with their version, and announced withs3:ObjectAnnotation:*events. UnderAUTH=true, Object Lock refuses annotation writes with 403AccessDenied. Previously aPUT ?annotationreplaced the object with the payload. Contributed by @BoLaMN. - SNS —
AddPermissionandRemovePermission— they add and remove labelled statements in the topic'sPolicy; a duplicate label answersInvalidParameter. Contributed by @AdrianAcala.
Fixed
- API Gateway v1 — REQUEST authorizer events carry
requestContext.identity— an authorizer readingsourceIporuserAgentcrashed; both are now present, as in theAWS_PROXYevent. Contributed by @yosriady. - DynamoDB — a table ARN is accepted wherever
TableNameis — item, query, scan, batch, transaction and table operations answeredValidationExceptionorResourceNotFoundExceptionfor the table's ARN. Batch responses keep the key form the request used. Contributed by @valeryan. - Gateway — the soft open-file limit is raised to the hard limit at startup — a burst of about a thousand client connections exhausted the default 1024 descriptors. Reported by @fabio-andre-rodrigues.
- KMS —
ListAliasesentries carryCreationDateandLastUpdatedDate— both were missing;UpdateAliasmovesLastUpdatedDateand keepsCreationDate. Reported by @DaviReisVieira. - Lambda —
ReservedConcurrentExecutionsis shared across versions —$LATESTand published versions each counted separately and could exceed the reservation together. Contributed by @jgrumboe. - S3 — event notification records match S3's — the key is URL-encoded,
versionIdand a growingsequencerare set,eventVersionis2.6, a delete marker isObjectRemoved:DeleteMarkerCreated, andDeleteObjectssends one event per object it removes. Contributed by @BoLaMN. - S3 — notification destinations are validated at PUT time — under
AUTH=true,PutBucketNotificationConfigurationfails withInvalidArgumentwhen an SQS/SNS destination's policy does not let S3 publish; cross-account destinations are accepted. Contributed by @AdrianAcala. - SQS/SNS — queue and topic policies are enforced under
AUTH=true— they were stored but never evaluated. Cross-account calls need an explicit Allow (AccessDeniedfor SQS,AuthorizationErrorfor SNS), and S3 and SNS deliveries need the destination policy to allow them. WithAUTH=falsenothing changes. Contributed by @AdrianAcala. - STS —
GetCallerIdentityresolves IAM-user callers — keys fromCreateAccessKeyreportedroot; they now return the user's ARN and ID. Contributed by @AdrianAcala. - STS — an unknown access key answers
InvalidClientTokenId— underAUTH=true, STS answeredUnrecognizedClientException.
[1.5.17] — 2026-09-25
Added
- Lambda MicroVMs — images build and run in Docker — with Docker available,
CreateMicrovmImage/UpdateMicrovmImagebuild thecodeArtifactDockerfile (CREATING→CREATED/CREATE_FAILED), call the/readyand/validatehooks, andRunMicrovmruns the image. Only the disk is snapshotted. Contributed by @edersonbrilhante. - CloudFront — public keys and key groups —
CreatePublicKey,GetPublicKey,GetPublicKeyConfig,UpdatePublicKey,DeletePublicKey,ListPublicKeysand the same six for key groups, withPublicKeyInUse/ResourceInUseon delete. Contributed by @fabio-andre-rodrigues. - Step Functions — execution history pagination —
GetExecutionHistorypages withnextToken, andincludeExecutionData=falsedrops input and output. Contributed by @jayjanssen. - CloudFormation — more types update in place — AppConfig, AppSync GraphQL APIs and API keys, Auto Scaling groups, policies and scheduled actions, VPCs, subnets, security groups, launch templates, internet gateways, route tables and routes keep their id on a No interruption change instead of being recreated. Contributed by @iot-rocket.
Fixed
- CloudFormation — import change sets are validated and refused —
IMPORTchange sets are validated and listed asImportchanges; executing one is refused. Every change carriesType: Resource. Contributed by @iot-rocket. - SSM —
GetParameterreadsname:versionandname:label— they answeredParameterNotFound; a missing version or label isParameterVersionNotFound. Reported by @lobodpav. - Lambda —
ReservedConcurrentExecutions=0throttles every invoke — zero was treated as unset. Contributed by @AdrianAcala. - Step Functions — Secrets Manager
SecretBinary— the SDK integration passes literal text instead of base64. Contributed by @jayjanssen. - Auto Scaling — scaling policies and scheduled actions keep their members — target tracking, step and predictive settings,
StartTime,EndTimeandTimeZonewere dropped. Contributed by @iot-rocket. - EC2 — subnets, launch templates and route tables answer their attributes — subnet DNS and IPv6 attributes, launch template
tagSetand newest-first versions, and every route destination and target. Contributed by @iot-rocket. - CloudFormation — a failed update rolls back its in-place changes — changed resources are reverted, and a failed revert lands in
UPDATE_ROLLBACK_FAILED. Contributed by @iot-rocket. - CloudFormation — ECS cluster settings and stack tags —
ClusterSettings,DefaultCapacityProviderStrategyandConfigurationread back, and EC2 network resources carry the stack's tags. Contributed by @iot-rocket.
[1.5.16] — 2026-09-23
Added
- Organizations — member accounts, service control policies and attachments —
CreateAccount,DescribeCreateAccountStatus,MoveAccount,CloseAccount,CreatePolicy,DescribePolicy,UpdatePolicy,DeletePolicy,ListPolicies,AttachPolicy,DetachPolicy,ListPoliciesForTarget,ListTargetsForPolicy,EnablePolicyTypeandDisablePolicyType, soaws_organizations_account,aws_organizations_policyandaws_organizations_policy_attachmentapply.CreateAccountanswers with aCreateAccountStatuswhose id the provider reads back throughDescribeCreateAccountStatus, as on AWS. A root carriesSERVICE_CONTROL_POLICYenabled and the AWS-managedp-FullAWSAccess, attaching a policy whose type the root has disabled isPolicyTypeNotEnabledException, and deleting an attached policy isPolicyInUseException. Reported by @rv0lt. - SNS — direct-to-phone publishes can be read back — a
Publishwith aPhoneNumberand noTopicArnis recorded and served atGET /_ministack/sns/sms-messages, filterable byaccount,regionandphoneNumber. Contributed by @himangshuj. - Lambda MicroVMs — image lifecycle —
ListMicrovmImages,GetMicrovmImage,GetMicrovmImageVersionandUpdateMicrovmImage. Contributed by @edersonbrilhante.
Fixed
- S3 — a versioned object keeps its history across a restart — with
S3_PERSIST=1a delete marker was lost on restart, so a deleted object came back. Every version and delete marker now persists with the object on disk, each version keeps its own bytes, tags and ACL, and object tags and ACLs survive a restart for unversioned objects too. Contributed by @pauloRohling. - ECS — service deployments track task health and roll back — a completed deployment drains the previous task definition's tasks,
deploymentCircuitBreakerfails a deployment whose tasks keep stopping and, withrollback, restores the previous one, and replacement stays withinmaximumPercentwhile keepingminimumHealthyPercentofdesiredCountrunning. Contributed by @jgrumboe. - CloudFormation — change sets report which property edits replace a resource — every property edit answered
Replacement: ConditionalandRequiresRecreation: Conditionally. For 21 resource types a create-only property is nowAlwayswithReplacement: True, a conditionally create-only one staysConditionally, and every other property isNever. Contributed by @iot-rocket. - EC2 — Elastic IP tags and IPv6 network ACL entries survive a read —
DescribeAddressesomitted EIP tags, so Terraform repeatedly plannedtagsandtags_all; network ACL entries always stored and returned an IPv4 CIDR, so an IPv6 rule was read back as a changed IPv4 rule on every plan. Tags andIpv6CidrBlocknow round-trip through the EC2 API, andReleaseAddressdrops the address's tags. Contributed by @edersonbrilhante. - Bedrock — a proxied tool-call turn reports its real token usage — with
MINISTACK_BEDROCK_PROXY_URLset,ConverseandConverseStreamestimated usage from the reply text, so a turn that returned only atoolUseblock reportedoutputTokens: 0, andinputTokensignored thetoolConfig. Usage now comes from the proxy's ownprompt_tokensandcompletion_tokens, with the estimate kept for a proxy that sends none. Reported by @Vidminas.
Internal
- CI — one Docker preview comment per PR — the preview-image workflow updates a single comment instead of posting one per push. Contributed by @jgrumboe.
- Tests — split test files folded into their service's file.
[1.5.15] — 2026-09-22
Added
- ECS —
awslogscontainer output reaches CloudWatch Logs — a task definition'sawslogsconfiguration was stored and ignored, so a Docker-backedRunTaskcontainer's output went nowhere. Lines now reach the configured group, on a stream named<prefix>/<container>/<task-id>or after the container id without a prefix, inawslogs-region. Contributed by @rszabo50. - RDS — an internal broker answers IAM database authentication —
POST /_ministack/rds/iam-authverifies a token against a process-local capability bound to one endpoint, so the MySQL plugin can decide a login. Capabilities are never persisted or issued over HTTP, and nothing calls the endpoint yet. Contributed by @Areson.
Fixed
- KMS — imported key material for HMAC and asymmetric keys —
CreateKeywithOrigin=EXTERNALrefused every spec butSYMMETRIC_DEFAULT, where AWS supports imported material for symmetric encryption, HMAC and asymmetric keys, ML-DSA excepted. HMAC material is the raw bytes of the spec's length and asymmetric material is the private key alone, DER-encoded PKCS#8, from which the public key is derived; material that does not match the key'sKeySpecanswersIncorrectKeyMaterialException, andGetPublicKeyon a key still awaiting material answersKMSInvalidStateException. Reported by @guymahieu. - RDS — the server certificate carries the endpoint AWS puts in it — certificate generation raised
ValueErroronce an endpoint passed the X.509 64-byte common-name bound, so a database with a long identifier could not start. The common name is now the advertised endpoint at its full length, the subject carriesOU=RDS, O=Amazon.com, L=Seattle, ST=Washington, C=US, and the signing CA is namedAmazon RDS <region> Root CA RSA2048 G1, matching a certificate captured from a real instance. Contributed by @jayjanssen. - API Gateway — an OpenAPI body's
securityDefinitionsreach the methods — the import discarded security outright, so a SAM API declaring a Cognito authorizer created none and every method imported asauthorizationType: NONE, serving anonymous callers where AWS answers 401. Each scheme carryingx-amazon-apigateway-authorizernow becomes an authorizer, and an operation'ssecurity— or the document's — sets the method'sauthorizationType,authorizerIdandauthorizationScopes, so the enforcement added in 1.5.10 engages for body-defined APIs. Contributed by @maximoosemine. - CloudFormation —
AWS::ApiGateway::Stagemethod settings reach the stage as a map — the template'sMethodSettingslist was stored verbatim, so the throttling lookup added in 1.5.14 raised on it and every request to a CloudFormation- or SAM-deployed API answered 500. The list is now keyed"<resourcePath>/<httpMethod>","*/*"for the stage-wide entry, over the account-level defaults AWS reports fromGetStage. Contributed by @maximoosemine. - DynamoDB — a table restored outside the current scope keeps working — startup restore walked the account-scoped store through
values(), which filters to the request's scope, so another tenant's tables kept the plain dict JSON returns and their firstUpdateItemraisedKeyError. Contributed by @ihmpavel. - Lambda MicroVMs — requests reach the MicroVM surface — the AWS CLI signs
/2025-09-09/microvmsand/2025-09-09/microvm-imageswith credential scopelambda, so Lambda's function router read the versioned path as a function name. The path now selects MicroVMs first. Contributed by @edersonbrilhante. - IoT — the mTLS broker certificate is issued for the endpoint it serves — its common name was
Ministack IoT Brokerand its SANs covered onlylocalhostand the host's addresses, so a client verifying the ATS endpoint hostname refused the handshake. It now carries*.iot.<region>.<host>as common name and first SAN.
Internal
- CI — control-plane and data-plane tests run in separate lanes — live-container tests shared the lane with everything else, so a Docker failure looked like a service failure. They now carry a
data_planemarker and run on their own isolated network, while the control-plane lane runs with no daemon reachable. No user-visible behavior changes. Contributed by @jgrumboe. - Contributor guidance —
CONTRIBUTING.mddocuments the three test lanes and the commands that select them, and a newAGENTS.mdpoints AI coding agents at the repository layout and the expectations before a behavior change. Contributed by @jgrumboe.
[1.5.14] — 2026-09-20
Added
- KMS — imported key material — a key created with
Origin=EXTERNALstayed unusable because there was no way to supply its material.GetParametersForImport,ImportKeyMaterialandDeleteImportedKeyMaterialnow complete the flow: the key waits inPendingImport, all five wrapping algorithms unwrap, andExpirationModelandValidToare reported on the key. Reported by @guymahieu. - API Gateway — REST request validators, API keys, throttling and quotas are enforced — the five
RequestValidatoroperations are implemented, a method'srequestValidatorIdis applied to the body and parameters, and an API key is checked against its usage plan's rate, burst and quota. Reported by @iot-rocket. - CloudFormation — update handlers for twelve more types — a stack update of these types re-ran the create, so the resource came back under a new id or the change was lost. Each now updates in place where its reference allows, replaces otherwise, and refuses to replace a custom-named resource. Contributed by @iot-rocket.
- RDS — resource-bound IAM database authentication — a verified token is now authorized against the policy's resource, so a grant scoped to one database user stops matching another. Contributed by @Areson.
- RDS — PostgreSQL instances serve TLS — a generated CA signs a server certificate for each container, so a client connecting with
sslmode=verify-fullcompletes the handshake instead of failing.GET /_ministack/rds/ca.pemreturns that CA, the local stand-in for AWS's certificate bundle. Reported by @jayjanssen. - Bedrock Agent Runtime —
RetrieveappliesvectorSearchConfiguration.filter— the filter was parsed and ignored, so every query returned the whole knowledge base. All eleven comparators plusandAllandorAllnow select against the document's metadata, read from its.metadata.jsonsidecar. Reported by @Vidminas. - Bedrock Runtime —
toolConfigreaches the backing model — aConversecall carrying tools was proxied without them, so the model could never answer with a tool use. Tools are forwarded, and a tool call comes back as atoolUseblock, streamed ascontentBlockStartwhen the caller streams. Reported by @Vidminas. - IoT — a job execution times out —
timeoutConfig.inProgressTimeoutInMinutesand the device's ownstepTimeoutInMinuteswere stored and ignored, so an execution stayedIN_PROGRESSfor ever. An execution past its timeout is nowTIMED_OUT, and the device plane reportsapproximateSecondsBeforeTimedOutwhile it runs. - Health — the IoT mTLS listener is reported —
/_ministack/healthcarriesiot_mtls, and/_ministack/readywaits for that listener, so a consumer polling readiness no longer races the MQTT port.
Changed
- IAM — wildcard matching is case-sensitive where AWS makes it case-sensitive —
Resource,NotResource,StringLike,StringNotLike,ArnEqualsandArnLikecompared case-insensitively, so a policy namingarn:aws:s3:::MyBucketalso matchedmybucket. OnlyActionstays case-insensitive, as on AWS. - SQS — the default
MaximumMessageSizeis 1 MiB — queues were created with AWS's old 256 KiB default, so a message between 256 KiB and 1 MiB was rejected where AWS accepts it. The bound accepted bySetQueueAttributesmoves with it.
Removed
- Four timing environment variables —
TRANSCRIBE_JOB_RUN_SECONDS,GLUE_CRAWLER_RUN_SECONDS,MINISTACK_DDB_IMPORT_COMPLETE_AFTER_SECandLAMBDA_STATE_TRANSITION_SECONDSpaced emulator-only state transitions and had no AWS counterpart. The transitions keep their previous default pacing.
Fixed
- EventBridge — dynamic HTTP parameters for API destinations —
HttpParametersJSON paths went to the endpoint as literal$.strings. They now resolve against the original event, before input transformation, array indexes and wildcards included. Contributed by @dmgarland. - RDS — restarting a cluster keeps its DNS endpoint — a restart reported the container's IP in place of the
*.rds.amazonaws.comname handed out at creation, breaking connection strings and hostname-verified TLS. The restart now reports the registered network alias, and the reader endpoint derives itscluster-ro-name only when that name was registered. Contributed by @jayjanssen. - RDS Data — a PostgreSQL
SELECTreports the rows it returned —numberOfRecordsUpdatedcarried the row count for a read, where AWS reports0and leaves the rows inrecords. Contributed by @jayjanssen. - IoT — the registered-certificate event comes from the device connect —
RegisterCertificatepublished it, and an mTLS connect with an unknown certificate got CONNACK 5 with nothing created. AWS creates the certificatePENDING_ACTIVATIONon the connect, publishes the event withsourceIp, and closes without a CONNACK. Contributed by @iot-rocket. - IoT —
DescribeEndpointrefuses the retirediot:Dataandiot:Jobstypes — both returned a hostname, so a client could keep using an endpoint type AWS no longer serves. AWS answersInvalidRequestException400 and points toiot:Data-ATS; both types now get the same errors and messages. Contributed by @iot-rocket. - IoT Data — HTTPS
Publishrefuses the topics AWS refuses — any$topic was accepted, so a caller could forge$aws/events/...lifecycle events. Reserved topics now answerInvalidRequestException400 "Topic can't start with $", and the MQTT-only jobs, Device Defender and commands topics "Invalid publish to restricted topic using HTTP". Contributed by @iot-rocket. - CloudFormation —
AWS::ECR::Repositorykeeps what the template declares — scanning and encryption read back empty, lifecycle and repository policies and tags were dropped,PutImagefailed, and a delete left images behind. The resource now goes through the ECR store. Contributed by @iot-rocket. - CloudFormation — a rolled-back replacement keeps the old resource — the predecessor was deleted as soon as the replacement existed, so a later failure rolled back to a resource that was gone. It is now deleted after the update succeeds, and a rollback deletes only the replacement. Contributed by @iot-rocket.
- API Gateway — REST API gateway responses reach the data plane — a customized response was stored and never applied, so a 401 or 403 carried none of the CORS headers a CDK stack declares. Gateway errors now resolve their type, then
DEFAULT_4XX/DEFAULT_5XX, then the built-in default, with header mappings andx-amzn-ErrorType. Contributed by @iot-rocket. - API Gateway — REST API gateway errors answer with the AWS status and message — invented statuses and exception text went out. A failed authorizer is
500AUTHORIZER_FAILUREwith a null message, a missing backend500API_CONFIGURATION_ERRORInternal server error, and an unknown stage403Forbidden. Contributed by @iot-rocket. - API Gateway — a MOCK integration honours its
statusCode— the200integration response was used whatever the request template set, so a MOCK method modelling an error returned200. The template'sstatusCodenow selects the integration response byselectionPattern. Contributed by @iot-rocket. - AppConfig —
GetLatestConfigurationserves a feature-flag profile in retrieval-time format — the stored{flags, values, version}document was returned verbatim, so a client reading a flag found nothing at the top level. AAWS.AppConfig.FeatureFlagsprofile is now flattened to itsvalues, disabled flags included. Reported by @dk-tanio. - Bedrock AgentCore — timestamps are ISO 8601 strings everywhere —
CreateAgentRuntimeanswered with a JSON number whileListAgentRuntimesanswered with a string for the same field, so a typed SDK failed on one of the two. Both now match the model'siso8601format. Reported by @ykalemi. - S3 — an omitted notification configuration
Idis generated — a configuration sent without one read back without one, where AWS assigns base64 of a UUID. Reported by @jin-gizmo. - S3 — a notification configuration is stored in the form the wire uses — the request XML was echoed back, so a configuration sent with
LambdaFunctionConfigurationsread back empty for a client expecting the wire nameCloudFunctionConfiguration, which also hid a CloudFormation-declared Lambda notification. Reported by @jin-gizmo. - CloudFormation —
AWS::WAFv2::WebACLreturns theRefAWS returns — the bare id came back where AWS returnsname|id|scope, so a template passing theRefto another resource passed an unusable value. - Cognito — the OIDC discovery document follows the gateway's scheme — every endpoint in it was
httpeven withUSE_SSL=1, so the document contradicted its ownhttpsissuer and a discovery client refused it. Reported by @epcap90. - IoT — rule SQL accepts the grammar AWS accepts —
!=and==were evaluated, where AWS refuses both, and a nestedSELECTin aWHEREclause was accepted, where AWS answersUnexpected token, 'SELECT'.clientid()now resolves ton/afor a publish that did not arrive over MQTT rather than dropping the field from the projection. - IoT — the rule error action document matches AWS — a failure was reported as
{action, errorMessage}, where AWS namesfailedAction(DynamoDBv2Action,SnsAction) andfailedResource(the table, topic, queue or function the action targeted).clientIdisN/Afor a non-MQTT publish rather than empty, and the document carriessourceIp. - IoT —
CreateJobvalidates what AWS validates — aschedulingConfigtime with seconds or aZ, aninProgressTimeoutInMinutesoutside 1 to 10080, a document over 32768 characters, adocumentSourceoutside 1 to 1350, and a request naming neither a document nor a source were all accepted. Each now answersInvalidRequestExceptionwith AWS's own sentence. - IoT —
DescribeJobechoes the members it accepted —abortConfig,timeoutConfig,schedulingConfig,jobExecutionsRetryConfig,namespaceId,jobTemplateArn,documentParametersanddestinationPackageVersionswere stored and never reported, andisConcurrentandforceCanceledwere missing. Job timestamps are whole epoch seconds, not fractions. - IoT Jobs data — two device-plane answers match AWS —
UpdateJobExecutionwith a status a device cannot set answeredInvalidRequestException400 instead ofInvalidStateTransitionException409, and anexecutionNumbernaming an execution that does not exist was ignored instead of answeringResourceNotFoundException404. - Auto Scaling — a duplicate group or launch configuration returns
AlreadyExists— the wire code wasAlreadyExistsFault, the shape name rather than the code, so an SDK caught nothing. - CloudFormation —
ExecuteChangeSetreturnsInvalidChangeSetStatus— the shape nameInvalidChangeSetStatusExceptionwent out as the error code. - CloudFormation — the Rules section refuses
Fn::If— it was evaluated because the reference lists it, while a real account answersFollowing functions are not supported in the Rules block of the template: [Fn::If]. - CloudFormation — the 60 dynamic references per template quota is enforced — a template over the limit was provisioned instead of being refused.
- Lambda — an AWS-published extension layer resolves — a template referencing
LambdaInsightsExtension, the Parameters and Secrets, AppConfig or OpenTelemetry extensions orAWSSDKPandascould not deploy, because the publisher account is unknown offline. It now resolves by layer name withCodeSize0, so the extension does not run. - EC2 — a bare
-e NAMEdocker flag takes the host value — it was passed through as an empty string, where docker either forwards the host's value or omits the variable. - S3 Control — an unknown
/v20180820path answersInvalidURI— it fell through to a generic answer instead of AWS's 400 inside an<ErrorResponse>echoing the bad segment. - Signer — the
clientRequestTokenreplay cache is bounded — every distinct token was kept for ever and persisted with the service state. - CloudFormation —
DeletionPolicy: Snapshottakes a snapshot — the policy was read and never acted on, so a resource declaring it was deleted with nothing kept, and an RDS cluster or standalone instance, which AWS defaults toSnapshot, defaulted toDeletehere. Both now snapshot the resource and then delete it, on a stack delete and on an update that removes it from the template.
[1.5.13] — 2026-09-17
Added
- CloudFormation — the
AWS::LanguageExtensionstransform — a template declaring it was provisioned unexpanded, so anFn::ForEachleft the stack inCREATE_IN_PROGRESSfor good and anFn::ToJsonStringreached SSM as a Python dict. The transform now runs betweenAWS::Includeand SAM:Fn::ForEachover literal,CommaDelimitedListand intrinsic collections, nested and insideProperties, plusFn::LengthandFn::ToJsonString. Where the identifier is substituted, the error sentences and the unexpandedGetTemplateSummaryfollow measurements on a real account. Contributed by @iot-rocket. - RDS — IAM database authentication tokens are verified — a helper validates an SDK-generated token against the endpoint, port, database username, signing scope, lifetime and signature. Nothing calls it yet; database login itself is a later stage. Contributed by @Areson.
Changed
- Persistence — every saved snapshot is restored through the registry — a service restored its own state as a side effect of being imported, so the boot path carried a hand-maintained list of eager imports to cover the modules the router never reached. The registry now drives one restore loop, and the runtime work a restore implies runs from each module's
load_persisted_stateinstead of its import. No user-visible change. Contributed by @jgrumboe.
Fixed
- Router — the first request to any service no longer loads CloudFormation — the WaitCondition signal handler imported
cloudformation.wait_conditionsabove the path check, so every first request pulled in the whole package and, through its provisioners, AppSync and graphql; the first/_ministack/resetranappsync.reset()with it. The import now sits behind the path match, and a guard keeps it there. Reported by @ThailerL. - DynamoDB —
ImportTablereads the S3 source — the import created the table, reportedCOMPLETEDand imported nothing: the source objects were never opened. CSV andDYNAMODB_JSON, GZIP or uncompressed, are now read from the prefix and written into the table, with the counters reported as it runs and per-item errors in the/aws-dynamodb/importslog group. A missing bucket or prefix fails the import and leaves no table behind;IONandZSTDare refused with a stated reason. Contributed by @gakuto-cw21. - IAM — a Secrets Manager request is authorized against the stored secret ARN — the resource was built from the name in the request,
secret:<name>, while AWS evaluates the stored ARN with the six random characters minted atCreateSecret. The grant shape the CDK writes for a secret looked up by name,secret:<name>-??????orsecret:<name>-*, matched nothing underAUTH=true. The resource now comes from the store through the handlers' own lookup; a secret that does not exist keeps the name-derived ARN. Contributed by @iot-rocket. - IAM — a group policy document is validated, and an
AWS::IAM::Policynaming a missing entity fails —PutGroupPolicystored a malformed document; all three inline handlers now answerNoSuchEntitybeforeMalformedPolicyDocument. AnAWS::IAM::Policyskipped a Role, User or Group that was not there and reportedCREATE_COMPLETE; the resource now fails withThe role with name <name> cannot be found., and an update checks names and document before it takes the old policy off. Contributed by @iot-rocket. - IAM — three calls are authorized against the action and resource AWS uses — a Lambda Function URL invoke is checked against its function ARN, alias qualifier included, and supplies
lambda:FunctionUrlAuthType, so the policygrantInvokeUrlwrites matches. The WebSocket@connectionsAPI asks forexecute-api:ManageConnectionsinstead ofexecute-api:Invoke.iot-jobs-dataoperations are authorized underiotjobsdata:, exceptStartCommandExecution, which stays oniot:. A policy written for the old action names stops matching, as on AWS. Contributed by @iot-rocket. - Lambda — a layer shared through
AddLayerVersionPermissionattaches — every layer ARN from another account was refused before the stored policy was read. Attachment, from the API and from a CloudFormation function, andGetLayerVersionByArnnow evaluate it for account, root, public and organization grants, and an attached function keeps the content after the grant is revoked or the version is deleted. A foreign layer version that no grant covers stays refused. Contributed by @iot-rocket.
[1.5.12] — 2026-09-15
Added
- EKS — Pod Identity associations — the five operations did not exist, so a controller that reads pod identity to find its role, the AWS Load Balancer Controller among them, could not run against MiniStack. Create, Describe, List, Update and Delete serve the records, one per namespace and service account. Deleting a cluster removes them with it. Reported by @josephaw1022.
- EKS —
aws eks update-kubeconfigworks against MiniStack — k3s could not authenticate the IAM exec tokenaws eks get-tokenproduces, so the only way in was to copy the admin kubeconfig out of the container. MiniStack now answers a TokenReview webhook:AUTH=falseaccepts local bearer tokens,AUTH=trueverifies the presigned token and then requires a creator or Access Entry grant. The five general-purpose access policies grant their published Kubernetes permissions at cluster or namespace scope. Contributed by @jgrumboe. Reported by @StraggleCraft.
Changed
- SES — one v2 implementation, returning the v1
MessageIdshape —ses.pycarried an unreachable copy of the v2 endpoints that had drifted fromses_v2.py. The duplicate is gone and every v2 request is served by one implementation, which surfaced a divergence it had hidden:SendEmailanswered an id prefixedministack-, where the v1 paths return<uuid>@email.amazonses.com. Both now return the shared shape. Contributed by @jgrumboe. - Persistence — every service module declares the same state contract — a module could expose
get_state, arestore_state, both or neither, so persistence was wired per service and nothing could be derived from it. Every module inministack/services/now exposes the sameget_state/load_persisted_state/resettrio, stateless ones included, and a registry-driven test refuses a service that does not. Contributed by @jgrumboe.
Fixed
- S3 — a notification configuration whose destination does not exist is refused — the configuration was stored and the failed test delivery swallowed, so a queue or topic that was not there looked like a successful setup and no event ever arrived. AWS verifies an SQS or SNS destination by sending it a test notification and fails the whole PUT when it does not arrive; a missing one is now
InvalidArgumentwith nothing stored. Reported by @ortizgui. - ECS — a task walks the whole lifecycle — a Docker-backed task went straight from
PENDINGtoRUNNINGtoSTOPPED, so a consumer waiting on any other state waited forever. It now reports the states AWS documents, in order:PROVISIONING,PENDING,ACTIVATING, thenDEACTIVATING,STOPPING,DEPROVISIONINGandSTOPPED. Every starting state counts against a service's desired capacity, whilependingCountcountsPENDINGalone as the API model defines it. Reported by @iot-rocket. - ECS — a task's
versioncounts its state changes — the counter was minted at1and never moved, so a consumer could not tell a staleDescribeTaskscopy from the current one. It now moves on each change the record reports, matching a real Fargate task:1atPROVISIONINGthrough6atSTOPPED. Contributed by @iot-rocket. - ECS — only an
awsvpctask reports an elastic network interface — every task got anElasticNetworkInterfaceattachment once its container was up, whatever its network mode, while the Task reference describesattachmentsas the adapter a task has "if the task uses theawsvpcnetwork mode". Other modes now report an empty list, and anawsvpcattachment names the subnet the request placed the task in. Contributed by @iot-rocket. - ECS — a task no longer reports
attachmentsStatus— the task record carried the member next to its attachment, and there is no such member on theTaskshape: the API model has it onClusteronly. A client reading the raw wire saw an invented field. Contributed by @iot-rocket. - ECS — the task metadata endpoint reports the status the task is in —
${ECS_CONTAINER_METADATA_URI_V4}servedDesiredStatusandKnownStatusas the literalRUNNING, captured at registration, so a container reading its own metadata was told the task was running whileDescribeTasksreported otherwise. Both now follow the task record, withKnownStatusper container as AWS reports it. Contributed by @iot-rocket. - Cognito — a hosted-UI request that invokes a Lambda trigger no longer deadlocks —
/saml2/idpresponse,/oauth2/idpresponseand/oauth2/tokenran on the event loop, so a trigger calling back into MiniStack queued behind its own request and timed out as a400. All three now run off the loop, and a replayed authorization code getsinvalid_grantinstead of a500. Contributed by @kjdev. - SQS — every batch action validates the request before its entries — the ten-entry limit reached
SendMessageBatchonly, and three more request-level errors the model declares on all three batch actions were never raised.DeleteMessageBatchandChangeMessageVisibilityBatchnow refuse an empty batch, more than ten entries, repeated ids and malformed ids, failing the whole request rather than landing inFailed. Contributed by @CaptainAni187. - Persistence — the state map is derived from
SERVICE_REGISTRY— it was a hand-maintained dict alongside the registry, andcloudcontrol,config,curandorganizationswere never added to it, so everything they held was dropped on every warm boot. The save map and the reset set now come from the registry, including the modules a service reaches through its own dispatcher, and a test refuses any service that would be saved with no way to restore it. Contributed by @jgrumboe. - IAM — a resource-scoped policy matches, instead of denying — under
AUTH=truethe resource ARN resolved to*for whole families of request, so onlyResource: "*"matched and everything narrower was denied. IoT jobs, provisioning templates, both IoT data planes, multi-level MQTT topics and API Gateway invokes now resolve to their real ARNs. Contributed by @iot-rocket. - CloudFormation —
AWS::IAM::Policyis provisioned inline, not as a managed policy — the document was stored as an account-global managed policy and attached, where CloudFormation embeds it on each Role, User and Group it names. CDK derivesPolicyNamefrom the construct path, so stacks sharing a path collapsed onto one record and each deploy took the grants from the ones before it.ListRolePoliciesandGetAccountAuthorizationDetailsnow report it and the IAM evaluator finds it. Contributed by @iot-rocket. - Lambda — SQS event source batches are dispatched concurrently — one thread polled every mapping and waited for each invoke, so a slow handler held messages on unrelated queues, and
ScalingConfig.MaximumConcurrencywas stored but ignored. Batches now run off the poll thread, up toMaximumConcurrencyper mapping, with a FIFO event source held to one at a time so message groups keep their order. Contributed by @ThailerL.
Internal
- Test harness — the suite runs on a non-default
GATEWAY_PORT— eight tests compared a value a service had built fromGATEWAY_PORTagainst a hard-coded4566, so the suite passed only on the default port, which is exactly the port a contributor moves off to avoid resetting a shared server. Contributed by @iot-rocket.
[1.5.11] — 2026-09-13
Added
- CloudFormation —
ValidateTemplatereports capabilities and transforms — it answeredDescriptionandParametersonly, so a caller checking a template before a deploy could not see that it needsCAPABILITY_IAMor that it declares a transform. It now returnsCapabilities,CapabilitiesReasonandDeclaredTransforms, on the ruleGetTemplateSummaryalready used. Contributed by @iot-rocket. - CloudFormation — a stack and a change set report their capabilities —
DescribeStacksandDescribeChangeSetleft theCapabilitiesmember out, so a client could not see what a deploy had acknowledged. A stack reports what its lastCreateStackorUpdateStackacknowledged, a change set what it was created with, and executing one hands its set to the stack. Contributed by @iot-rocket.
Changed
- Lambda — warm local custom runtimes —
provided.*bootstraps reuse the subprocess worker pool instead of restarting on every invocation. Each invocation gets its request metadata through the Lambda Runtime API, concurrent calls lease separate workers, and a failed environment is discarded before reuse. Durableprovided.*invocations keep the one-shot executor, since a bootstrap reads its environment once, at spawn. Contributed by @jayjanssen.
Fixed
- S3 — the
s3:TestEventno longer reaches Lambda targets —PutBucketNotificationConfigurationfanned the test event out to every destination, but AWS sends it to SQS and SNS only and verifies a Lambda destination through its function permissions. The payload has noRecordsarray, so every S3-triggered function raised on it, and the async path then retried it toMaximumRetryAttemptsand dropped it in the function's DLQ, where an event AWS never sends looked like a lost message. Queue and topic destinations still receive it. Contributed by @ppettitau. - S3 — a presigned upload is no longer rejected for the checksum in its query string — current SDKs sign
x-amz-checksum-crc32into every presignedPutObject, computed over the empty body, because whoever holds the URL picks the body later. MiniStack hoisted that parameter into the request headers and verified it against the real body, so a stockgetSignedUrlupload failed with400 BadDigest. The checksum value parameters are no longer hoisted: they still take part in signature verification, so rewriting one is still403, and a checksum sent as a real header is verified as before. Contributed by @bognari. - S3 — a presigned URL is verified against the credentials that signed it — the signature was recomputed with the server's own secret, so a URL signed with an IAM user's or an STS session's key verified against the wrong one, and a deactivated key, an expired session or a session token that was never issued were all accepted. The signing key is resolved to its owner and the URL verified with that key's secret, with the exact session token required for temporary credentials:
InvalidAccessKeyId(403) for an unknown or inactive key,ExpiredTokenorInvalidToken(400) for a bad token. UnderAUTH=truean HTTP request also resolves its key to the owning account andGetSessionTokenrefuses temporary credentials. Contributed by @Areson. - Lambda — an SDK call from a function runs under its execution role — under
AUTH=trueevery runtime received account-root credentials, so a call from a handler bypassed the role the function declares and a policy that should have denied it did nothing. Each invocation now gets temporary credentials for itsRoleon the warm workers, the Docker and provided runtimes and the one-shot executor, and the IAM layer resolves the assumed role's account, a table's index ARNs and projection keys, and an EventBridgePutEventsbus. Contributed by @adamkeener. - Lambda — a Node custom resource signals its stack in the docker executor — the response submitters the CDK bundles into its custom-resource handlers build the
ResponseURLPUT from the URL's hostname and path only and hand it tohttps.request, so underLAMBDA_EXECUTOR=dockerthe callback went out over TLS to port 443, nothing answered, and the resource hung its stack untilServiceTimeout. The shim the executor injects now turns https to the gateway hosts, on the https default port or the gateway port, into plain http on the gateway port; any other host or port keeps TLS. Contributed by @iot-rocket. - Lambda — a durable invocation runs on the warm pool — durable Python and Node.js invocations went to the one-shot executor, because the three
AWS_LAMBDA_DURABLE_*variables change per call while a pooled worker's environment is fixed at spawn. Each paid a fresh interpreter start inside the function'sTimeout, whose default is 3 seconds, so on a loaded machine every durable invocation timed out. The values travel beside the payload now, and both bootstraps apply them before the handler runs and drop them when the next invocation is not durable. Contributed by @iot-rocket. - Lambda — two durable executions of one function no longer share a callback — the
CallbackIdwas the operation id, which the durable SDK derives from the workflow position, so two concurrent executions registered the same id: the second overwrote the first, an answer sent for one completed the other, and the abandoned execution's own callback then answeredCallbackTimeoutException. The id is unique per execution and stable across replays and restarts. Reported by @Nhollas. - ECS —
RunTaskreturns before the image is pulled — the call blocked while Docker pulled the image and started the container. A task is registered and returned immediately, and walksPENDING→ACTIVATING(the pull, withpullStartedAtstamped) →RUNNING→STOPPED, with a failed start reported asTaskFailedToStart.StopTaskand a reset no longer race the starter, andpendingCountandrunningCountkeep countingPENDINGandRUNNINGonly. Contributed by @po-luka-miletic. - Transcribe —
StartTranscriptionJobreturns a job alreadyIN_PROGRESS— the start response reportedQUEUEDwith noStartTimeand the job reachedIN_PROGRESSonly from the background worker, so a caller that reads the status off the response and then waits for the terminal event never saw an in-progress state. Jobs startIN_PROGRESSwithStartTimeset, andTRANSCRIBE_JOB_RUN_SECONDScovers the whole run.QUEUED, which AWS reaches only throughJobExecutionSettings.AllowDeferredExecutionat the concurrent job limit, is not modelled. Contributed by @ppettitau. - Cognito —
SetIdentityPoolRoleskeeps the role mappings it is given — the call storedRolesonly andGetIdentityPoolRolesanswered a hard-codedRoleMappings: {}, so a mapping set through the API or declared on a CloudFormation attachment was accepted and dropped. Both members are stored on the pool and served back; the call sets the whole configuration, so an omittedRoleMappingsclears what was there. The map is stored as sent and takes no part in credential vending. Contributed by @iot-rocket. - API Gateway v2 —
UpdateApikeeps the description and the API key selection expression — the call applied five members and discardedDescriptionandApiKeySelectionExpression, so an update lost what the create had stored. Both are applied now, and aCorsConfigurationon the call replaces the stored one; removing one isDeleteCorsConfiguration, whichDELETE /v2/apis/{apiId}/corsserves. Contributed by @iot-rocket. - EC2 — a security group's IPv6 and prefix-list rules survive the read —
DescribeSecurityGroupsrenderedipv6RangesandprefixListIdsas empty elements and dropped every range description, so a rule authorized with an IPv6 CIDR or a prefix list was invisible on the next read and Terraform planned the same egress change on every run. All three families are reported, each with its description. Reported by @edersonbrilhante. - EC2 — a launch template keeps its metadata options and shutdown behaviour —
CreateLaunchTemplateparsed neitherMetadataOptionsnorInstanceInitiatedShutdownBehavior, so both were discarded at creation and every refresh reported them as newly added. The IMDS settings and the shutdown behaviour are stored and reported on the version, with the response-onlyStatethe API carries. Reported by @edersonbrilhante. - SSM — a
SecureStringparameter reports itsKeyId— the key was stored and never served:DescribeParametersandGetParameterHistoryleft the member out, so a caller read an empty key and updated the parameter on every run. Both report it forSecureStringparameters, the only ones it applies to, and an emptyKeyIdon the request means the account default.GetParameteris unchanged, since its response shape has no such member. Reported by @edersonbrilhante. - CloudWatch Logs — a log group reports its class and its KMS key —
DescribeLogGroupsomittedlogGroupClassandkmsKeyIdandCreateLogGroupdiscarded both, so a consumer reading the class back saw an empty value and planned a replacement of a group that had not changed. Both are stored and reported, with the API's default ofSTANDARDand an unknown class refused, andAWS::Logs::LogGroupcarriesLogGroupClassandKmsKeyIdthrough the stack. Reported by @edersonbrilhante. - CloudFormation —
UpdateReplacePolicy: Retainholds for every handler-side replacement — 24 update handlers that replace a resource themselves deleted the predecessor inline, so a template that retains it lost the resource while the stack still recordedDELETE_SKIPPED; only the handlers on the shared rename helper honoured the policy. Every inline delete goes through one helper that reads the policy the engine publishes, and the three handlers that deleted before creating create first. Contributed by @iot-rocket. - CloudFormation — a resource inside a nested stack reads its own
UpdateReplacePolicy— the nested-stack deploy loop never published the policy, so a child resource's handler saw whatever the parent's loop had left behind: a retained parent kept every child's predecessor, an unretained one deleted a retained child's. Each child resource's policy is now resolved the way the engine resolves it, intrinsics included, and published around that resource's update only. Contributed by @iot-rocket. - CloudFormation — a nested stack's IAM resources need the parent's capabilities — the check under
AUTH=trueread the parent template only, so a parent deployed without--capabilitiesprovisioned a child full of IAM roles throughAWS::CloudFormation::Stack. The child template is checked against the set the parent acknowledged, and a child's child reads the same set; a missing one fails the nested-stack resource withRequires capabilities : [CAPABILITY_IAM]and the parent rolls back. WithoutAUTHnothing changes. Contributed by @iot-rocket. - CloudFormation — an unknown
Capabilitiesvalue is refused —CreateStack,UpdateStackandCreateChangeSetaccepted any string, so a typo or another tool's capability was kept without effect and the deploy behaved as if it had been acknowledged. The member is checked against the three documented values, joined with the other request-level problems into one message. Contributed by @iot-rocket. - CloudFormation — the SAM transform reads the transforms the response reports —
ValidateTemplatenormalises theTransformsection in every form it takes, while the deploy path had its own normalisation that left the macro object (Transform: {Name: AWS::Serverless-2016-10-31}) unmatched, so such a template was reported as declaring the SAM transform and then deployed untransformed, failing onAWS::Serverless::Function. Both read one function now. Contributed by @iot-rocket. - CloudFormation — an
AWS::ApiGateway::Method'sMethodResponsesandIntegrationResponsesare provisioned — the provisioner read the method and integration properties and discarded both response lists, so a REST API deployed from a template lost its mapped response headers. The visible casualty was the CDK'sdefaultCorsPreflightOptions, whose generatedOPTIONSmethod returns theAccess-Control-Allow-*headers through a MOCK integration: the preflight answered without a single CORS header and the browser blocked the request. Both lists are provisioned onto the method now, and a stack update reprovisions them. Contributed by @ppettitau. - CloudFormation —
Fn::GetAtton a user pool client'sClientSecretresolves — the provisioner returnedClientIdalone, so a template readingClientSecretorNamefailed withRequested attribute ClientSecret does not exist in schemaand rolled the stack back, on the create and on the update that follows it. All three attributes the type declares are returned, on both paths; a client created withoutGenerateSecretreads empty. Reported by @JoshuaSmeda. - CloudFormation —
AWS::Cognito::IdentityPoolRoleAttachmentupdates in place — the type had no update handler, so a stack update fell through to the create.RolesandRoleMappingsare re-applied to the pool the attachment sits on and a dropped property reverts to its create default, sinceSetIdentityPoolRolestakes the whole configuration; a changedIdentityPoolIdreplaces, configuring the new pool before clearing the old. Contributed by @iot-rocket. - CloudFormation —
AWS::Cognito::UserPoolResourceServerupdates in place, and a move between pools is refused — the physical id is theIdentifieralone while the record is keyed by pool and identifier, so a template that repointedUserPoolIdleft two live resource servers vending the same scopes.NameandScopesgo throughUpdateResourceServeron the existing server, a changedIdentifierreplaces, and a changedUserPoolIdgets CloudFormation's refusal to replace a custom-named resource. Contributed by @iot-rocket. - CloudFormation —
AWS::SQS::QueuePolicyandAWS::SNS::TopicPolicyupdate in place — neither had an update handler, so a changed policy fell through to create under a fresh physical id; the engine recorded a replacement and the cleanup delete then stripped the policy the create had just written, leaving the queue or topic with none. Both properties are No interruption, so the resource keeps its id, writes the document on every queue or topic the template names and removes it from one the template dropped. Contributed by @iot-rocket. - CloudFormation —
AWS::SNS::Subscriptionupdates in place — a changedFilterPolicyorRawMessageDeliveryre-subscribed under a freshSubscriptionArn, soRefmoved on every update. The No-interruption attributes go throughSetSubscriptionAttributeson the existing subscription and a dropped one reverts to the create default, whileTopicArn,ProtocolandEndpointreplace. The create also storesDeliveryPolicy,RedrivePolicyandSubscriptionRoleArn, which it dropped. Contributed by @iot-rocket. - CloudFormation —
AWS::Lambda::Aliasupdates in place, andProvisionedConcurrencyConfigreaches the service — the create ignoredProvisionedConcurrencyConfigand storedRoutingConfigin the template's list shape, on which boto3'sGetAliasfails. The No-interruption properties go throughUpdateAliasand the provisioned-concurrency put and delete on the existing alias,NameorFunctionNamereplaces, and the routing weights are stored as the{version: weight}mapGetAliasreturns. Contributed by @iot-rocket. - CloudFormation —
AWS::Logs::SubscriptionFilterupdates in place, and a group change moves it — a changedLogGroupNamefell through to create, which wrote the filter on the new group under its unchanged name, so the engine saw no replacement and the old group kept its copy. The No-interruption properties go throughPutSubscriptionFilteron the existing filter, and a changedFilterNameorLogGroupNamecreates the new filter before removing the old. Contributed by @iot-rocket. - CloudFormation —
AWS::IAM::InstanceProfileupdates in place, and a named profile refuses aPathchange — aRoleschange fell through to create, which rebuilt the record without its tags and stored whole role records, on whichGetInstanceProfileanswered 500.Rolesis applied to the existing record, which keeps its ARN, id and tags;InstanceProfileNameandPathreplace, so a custom-named profile whosePathchanges fails the update as CloudFormation fails it. Contributed by @iot-rocket. - CloudFormation — the four HTTP API types update in place —
AWS::ApiGatewayV2::Api,Integration,RouteandStagehad create handlers only, so a stack update minted a new id for each: the API re-created every child under a newApiIdandApiEndpoint(and rolled the stack back when the id was pinned withms-custom-id), an integration or route left its predecessor on the API whileRefmoved, and a stage lost itsCreatedDateand its tags. Each now updates through the service's own call and keeps its id, a dropped property reverts to the create's default, and onlyProtocolType,ApiIdorStageNamereplaces. Contributed by @iot-rocket. - CloudFormation —
AWS::CloudFront::Distributionupdates in place, and a provisioned distribution is readable — a stack update minted a newIdandDomainNameand the engine deleted the old distribution, though both of the type's properties are No interruption; and the create stored an empty configuration, soGetDistributionandGetDistributionConfiganswered 500 on every CloudFormation distribution. The create renders the template'sDistributionConfiginto the API's shape, and the update keepsId,ARN,DomainNameand the invalidation history, rolls theETagand reconciles tags, asUpdateDistributiondoes. Contributed by @iot-rocket. - CloudFormation — the five CloudFront policy, OAC and function types update in place —
CachePolicy,OriginRequestPolicy,ResponseHeadersPolicy,OriginAccessControlandFunctionhad create handlers only, so an update fell through to a create that found the record it had made before and returned it untouched: the stack reportedUPDATE_COMPLETEwhile the service kept serving the old configuration. Each updates its record now, keeping the id a distributionRefs, and a rename onto a taken name is refused. Contributed by @iot-rocket.
[1.5.10] — 2026-09-10
Added
- Amazon Location — trackers and device positions — the service did not exist, so a client bound to it failed at the first call and a template with
AWS::Location::Trackerdid not deploy.CreateTracker,DescribeTracker,UpdateTracker,ListTrackersandDeleteTrackermanage trackers,BatchUpdateDevicePosition,GetDevicePosition,BatchGetDevicePositionandGetDevicePositionHistoryserve positions, andPositionFilteringapplies (TimeBasedstores one sample per 30 seconds per device,DistanceBasedignores a move under 30 m). Positions are held in memory, newest 100 per device, rather than for the service's 30 days. Contributed by @iot-rocket. - AWS Signer —
StartSigningJobwith its S3 side effect — thesignerAPI did not exist.StartSigningJob,DescribeSigningJob,ListSigningJobs,PutSigningProfileandGetSigningProfileare served natively; signing is synchronous and synthetic, so the marker object lands atprefix + jobIdbefore the call returns and a caller whose contract is the signed object never polls. A missing source object, destination bucket or profile isResourceNotFoundExceptionwith no job recorded. Contributed by @iot-rocket. - IoT Wireless —
GetPositionEstimate— the service was absent, so a client bound to it failed at the first call.POST /position-estimatenow answers the way the API is shaped: the output structure declares apayloadblob, so the body is the raw GeoJSONPointrather than a JSON envelope. The estimate resolves fromIpand is deterministic;WiFiAccessPoints,CellTowersandGnssare accepted and not resolved. Contributed by @iot-rocket. - Amazon Translate — batch text translation jobs — the service did not exist.
StartTextTranslationJob,DescribeTextTranslationJob,ListTextTranslationJobsandStopTextTranslationJobrun a job against the local S3 store, with the documented filters and paging. Contributed by @ppettitau. - Lambda Core — network connectors — Terraform's
aws_lambdacore_network_connectorfailed withFunction not found: /2026-04-04/network-connectors: the service signs with Lambda's own credential scope, so the request reached the function router and the path was read as a function name.CreateNetworkConnector,GetNetworkConnector,UpdateNetworkConnector,DeleteNetworkConnectorandListNetworkConnectorsnow serve that path, withClientTokenidempotency andMarker/MaxItemspaging. There is no VPC attachment behind a connector; it reachesACTIVEon the next read. Reported by @edersonbrilhante. - CloudFormation — the
Rulessection is evaluated — a template's rules were ignored; they now run after the parameters resolve and before any resource is touched, onCreateStack,UpdateStackandCreateChangeSet. A falseAssertrefuses the operation with itsAssertDescriptionas aValidationError, so the CDK'sCheckBootstrapVersionrule refuses an outdated bootstrap instead of passing silently. Contributed by @iot-rocket. - CloudFormation — the
AWS::Includetransform — an embeddedFn::TransformnamingAWS::Includewas carried into the stack as a literal key; it is now replaced by the contents of the S3 object itsLocationpoints to before the template is validated, and a location that is not ans3://URI, a missing object or a nested include is refused before a stack exists. Contributed by @iot-rocket.
Changed
- API Gateway — a REST method's
COGNITO_USER_POOLSauthorizer is enforced — the v1 data plane matched onlyNONE,AWS_IAMandCUSTOMand passed everything else through, so a method fronted by a user-pool authorizer served every caller andrequestContext.authorizer.claimswas never populated, leaving a handler that branches on claims to take its no-claims path locally while AWS denied the request. The token named by the authorizer'sidentitySourceis now verified against the pools inproviderARNsand its claims reach the backend; a method carryingauthorizationScopesrequires one of them and answers403otherwise.PutMethodalso stops discardingauthorizationScopes. Contributed by @ppettitau. - CloudFormation — the template and stack quotas are enforced — a template of any size, with any number of resources, parameters, outputs or mappings, and a stack name of any shape were accepted, so a template a real account refuses deployed. The body, resource, parameter, output and mapping limits and the stack-name pattern are now checked before a stack record exists, with the messages the API's parameter validation gives;
ValidateTemplatealso takesTemplateURL. Contributed by @iot-rocket. - CloudFormation —
Capabilitiesare enforced underAUTH=true—CreateStack,UpdateStackandCreateChangeSetaccepted a template with IAM resources or aTransformwhatever the request acknowledged, so a deploy CloudFormation refuses went through. WithAUTH=truethey now answerInsufficientCapabilitiesExceptionand create nothing. WithoutAUTHnothing changes. Contributed by @iot-rocket.
Fixed
- EC2 —
AvailabilityZoneIdis populated on subnets —DescribeSubnetsandCreateSubnetalways returnednull, even thoughDescribeAvailabilityZonesreported the correct mapping, and a consumer that recomputes the id when it is missing (the AWS Load Balancer Controller) can crash on that fallback. The id is now derived from the zone on every creation path, subnets restored from older state are backfilled, and the two members always name the same zone. Contributed by @Alexis-DevOps. - EC2 —
DescribeAvailabilityZonesreportsZoneType— the field was omitted entirely, so a consumer that branches on it read it as empty and refused to classify the subnet, blocking Service and Ingress reconciliation. Every zone now reportsavailability-zone. Contributed by @Alexis-DevOps. - EC2 —
CreateFleetapplies a launch template's instance tags — instances created by a fleet came back with an emptyTagslist even though the referenced launch template carriedTagSpecifications, which is the mechanism AWS documents for tagging fleet instances. The template'sinstancetags now reach the instances, with a request-level tag winning on a duplicate key. Reported by @edersonbrilhante. - Step Functions — numeric
*PathChoice comparisons —NumericLessThanPath,NumericGreaterThanPath,NumericLessThanEqualsPathandNumericGreaterThanEqualsPathsilently evaluated false, so a batch loop guarded by one never exited and eventually failed inStates.ArrayGetItem. The four operators now resolve the right operand from the input and compare it. Contributed by @jayjanssen. - SES —
SendBulkEmailis routed —POST /v2/email/outbound-bulk-emailsreached no handler, so the call failed instead of sending. It now routes to the v2 handler. Contributed by @jgrumboe. - Glue — the Data Catalog operations — the catalog operations were missing, so a client that creates or reads a catalog before its databases could not proceed. Catalog create, read and update are served.
Internal
- CI — install with uv and collect test shards in one pass — the shard planner ran
pytest --collect-onlyonce per marker filter for counts a single pass already has, and superseded pull-request runs competed for runners. Installs go through uv, one collection pass yields both counts, and a concurrency group cancels superseded runs (never onmain). No user-visible behavior changes. Contributed by @jgrumboe. - Lint —
F401is enforced — unused imports were ignored repo-wide pending a manual review; the review is done, the rule is on, and the four dead imports it found are gone. No user-visible behavior changes. - Testcontainers —
containerdbumped to 1.7.35 in the Go example module, picking up CVE-2026-53495. No user-visible behavior changes.
[1.5.9] — 2026-09-08
Added
- CloudFormation — a
WaitConditionwaits for its signals,SignalResourcedelivers them — the handle'sRefis now a URL the emulator serves (PUTthe AWS signal JSON with an emptyContent-Type); the wait condition holds the stack untilCountdistinct SUCCESS signals arrive, a FAILURE or theTimeoutrolls it back, signals are published to the stack events, andFn::GetAtt Wait.Datais the{UniqueId: Data}map. TheCreationPolicyform (ResourceSignal, defaultPT5M) is signalled through the newSignalResourceaction, by stack name or id. A nested stack now deploys on a worker thread, so a wait condition or custom resource inside it no longer blocks the server. Contributed by @iot-rocket. - CloudFormation — stack-level tags propagate, and the
Tagsproperty of the common types reaches the service — the 44 types with a tag property receive the stack tags and the threeaws:cloudformation:tags on create and update (a key the template sets wins);AWS::SQS::Queue,AWS::SNS::Topic,AWS::DynamoDB::Table,AWS::Lambda::Function,AWS::Logs::LogGroupandAWS::Kinesis::Streamnow store their ownTagswhere the service's list-tags call reads them. An emptyTagsonUpdateStackremoves them, more than 50 tags or anaws:key are refused, tags set through a service's own API survive stack updates, and a nested stack passes the tags on. Contributed by @iot-rocket. - CloudFormation —
ListImports,UpdateTerminationProtection,SetStackPolicy,GetStackPolicy,CancelUpdateStackandContinueUpdateRollback— the first four answeredInvalidAction, the last two did not exist, so anUPDATE_ROLLBACK_FAILEDstack had no way out. Termination protection makesDeleteStackrefuse,CancelUpdateStackstops a running update before its next resource ("User Initiated"), andContinueUpdateRollbackretries the failed deletes, honouringResourcesToSkip. Contributed by @iot-rocket. - CloudFormation — the list and describe actions page —
DescribeStacks,ListStacks,DescribeStackEvents,ListStackResources,ListExports,ListImportsandListChangeSetsreturned everything and ignoredNextToken; they now return 100 items per page with a token for the rest (ListExportspages at 100 values on AWS, the others at 1 MB), a foreign token is aValidationError, and events of one millisecond stay strictly newest-first across pages. Contributed by @iot-rocket. - CloudFormation — dynamic references resolve —
{{resolve:ssm:...}},{{resolve:ssm-secure:...}}and{{resolve:secretsmanager:...}}resolve at provisioning time against the in-process stores, with the version, JSON key and version-stage segments;GetTemplatekeeps the literal. On update anssmreference re-resolves when the template or parameters changed, asecretsmanagerreference only when its resource changed, as measured on AWS. Contributed by @iot-rocket. - CloudFormation —
DeletionPolicyandUpdateReplacePolicyare honoured — aRetainresource now stays (with aDELETE_SKIPPEDevent) on stack delete, on removal from the template and on replacement;RetainExceptOnCreateandDeleteStack'sRetainResourcesbehave as the API documents;Snapshotdeletes, since the emulator takes no snapshots. Contributed by @iot-rocket.
Fixed
- Lambda — the Docker executor extracts each code and layer zip once — every cold start unpacked the code and layers into a fresh temporary directory that accumulated (a 30 MB function wrote 60 MB of disk per cold start). Extraction is now content-addressed into one shared read-only directory per distinct zip, so a repeat cold start writes nothing; entries are swept when the referencing function or layer version goes, and a state reset clears the cache.
- S3 Tables / Glue — the Iceberg REST catalogs honour
upgrade-format-version— the commit action a Spark job sends for theformat-version3table property was silently dropped, so the table kept reporting version 2; real S3 Tables supports Iceberg v3. Both catalogs now apply it atomically: re-asserting the current version is a no-op, a downgrade or a version above 3 is refused with 400 and commits nothing. The Glue-route createTable also honours the property — it is reserved, so it lands as the top-level metadata field and the rest of the request's properties reach the metadata's properties map. - CloudFormation —
Fn::Cidr,Fn::GetAZs,Fn::FindInMapand the condition functions follow AWS —Fn::Cidrnow splits the block it is given (was10.0.{i}.0/…always; IPv6 included),Fn::GetAZsanswers the stack's own zones (was a fabricateda/b/c),Fn::FindInMapgainsDefaultValueand fails a missing key withTemplate error: Unable to get mapping for M::x::y, andFn::And/Fn::Or/Fn::Notin a value position resolve to a boolean — all measured on AWS. Contributed by @iot-rocket. - S3 — the Multi-Region Access Point alias follows the documented pattern — the alias was 13 uuid-hex characters, so a digit-only draw was possible; it now matches S3's
^[a-z][a-z0-9]*[.]mrap$: a letter, then twelve lowercase letters or digits. Contributed by @iot-rocket. - CloudFormation — parameter constraints are enforced —
AllowedPattern,MinLength,MaxLength,MinValueandMaxValuewere ignored; they are checked before a stack exists with CloudFormation's message (Parameter 'P' must match pattern ^[a-z]+$, measured) or theConstraintDescription, per member for aCommaDelimitedList. Contributed by @iot-rocket. - CloudFormation — an unregistered
AWS::CloudFormation::*type is unrecognized, not a silent no-op —Macro,HookVersion,ModuleVersionand any typo under the prefix deployed as a placeholder with a fabricated physical id; the pre-flight now refuses them like every other unrecognized type. Contributed by @iot-rocket. - CloudFormation — the stack id addresses
GetTemplateSummaryand an UPDATE change set — both looked the id up by name and answered "does not exist" while every other action accepted it;DescribeStackResource(s)also answered a request by id with the id inStackName. Contributed by @iot-rocket. - CloudFormation — a change set sees
DeletionPolicy,UpdateReplacePolicyandMetadataedits — the diff comparedPropertiesonly, so a CDKremovalPolicyedit endedFAILEDwith "didn't contain changes"; those attributes now count as aModifywithReplacement: False, reported inScopeandDetails, while aDependsOn-only edit stays a no-change set, as on AWS. Contributed by @iot-rocket. - CloudFormation — a leftover whose delete failed stays visible, and the resource record serves
ResourceStatusReason,MetadataandLastUpdatedTimestamp— a resource dropped from the template whose cleanup delete failed vanished from the record while it kept existing, andDeleteStacknever retried; it now stays listed asDELETE_FAILEDwith its reason, the next update andDeleteStackretry it.DescribeStackResource(s)carryResourceStatusReason; the detail names its timestampLastUpdatedTimestampasStackResourceDetaildefines (clients dropped theTimestampelement it sent) and returns the resourceMetadatawith intrinsics interpreted. Contributed by @iot-rocket.
[1.5.8] — 2026-09-05
Added
- CloudFormation —
AWS::IoT::ThingGroupprovisions — a stack carrying a thing group rolled back withUnsupported resource typewhile the thing-group API worked. The type now provisions throughCreateThingGroup(ThingGroupPropertiesandParentGroupNameapplied, a name generated whenThingGroupNameis omitted),Refreturns the thing group id andFn::GetAttservesArnandId, as the resource reference documents;ThingGroupPropertiesupdates in place, whileThingGroupNameandParentGroupNamerequire replacement, a parent change under an unchanged custom name getting CloudFormation's own refusal.QueryString(dynamic groups) andTagsare accepted without effect: the service models neither. Contributed by @iot-rocket. - CloudFront — the policy, OAC and function types provision from CloudFormation —
AWS::CloudFront::CachePolicy,OriginRequestPolicy,ResponseHeadersPolicy,OriginAccessControlandFunctionhad complete APIs and no provisioner, so a CDK app declaring any of them rolled the stack back withUnsupported resource type. Each now provisions by converting its properties to the element the service's own config parser accepts,Ref/Fn::GetAttreturn the documented values (policyId, OACId, functionFunctionARN), deletes are wired, and an update replaces rather than mutating in place. Contributed by @mm-salesqueze. - S3 — Multi-Region Access Points deploy and serve —
AWS::S3::MultiRegionAccessPointrolled the stack back withUnsupported resource typeand the MRAP hostname resolved nowhere. The type now provisions, minting the.mrap-suffixed alias S3 uses and remembering its member buckets, and<alias>.accesspoint.s3-global.amazonaws.comresolves onto the existing virtual-hosted S3 path — the member whose bucket region matches the request region is served, else the first. SigV4A is not verified, consistent with the documented no-SigV4 stance, and the s3control control plane is not included. Contributed by @mm-salesqueze. - RDS — planned Aurora MySQL switchover runs on the data plane —
SwitchoverGlobalCluster(andFailoverGlobalClusterwithout data loss allowed) on a provisioned two-member Aurora MySQL 8 global cluster now performs a coordinated no-data-loss writer exchange: the source writer is fenced and drained, GTID convergence awaited, replication reversed and verified, and the promoted target verified writable, with conflicting mutations blocked mid-operation and recovery state persisted across restarts — an interrupted switchover is repaired by retrying the same request. Non-native configurations andAllowDataLoss=truekeep the metadata-only path. Contributed by @Areson. - RDS —
FailoverDBClusterpromotes replicated PostgreSQL readers — withMINISTACK_RDS_PG_CLUSTER_REPLICATION=1, failover now callspg_promote()on the selected hot standby, makes it the writer endpoint, and re-clones the former writer withpg_basebackupas a read-only standby. Metadata changes only after promotion succeeds; shared-container clusters retain their existing metadata-only behavior. Contributed by @kiran01bm.
Fixed
- CloudFormation — stack updates stop destroying resources — a changed property on a type without an update handler fell through to a destructive re-create: generated-identity types came back empty under a new id with the old resource orphaned (Cognito pools and clients, Secrets Manager secrets, API Gateway authorizers and deployments), name-keyed ones wiped their data (Kinesis records, ECR images, group members, alarm state and history), and others failed the stack outright (any Route53 record edit, any EventBus property change). Nineteen types now update in place through their service's own APIs —
AWS::Cognito::UserPool/UserPoolClient/IdentityPool/UserPoolGroup(includingEnabledMfasviaSetUserPoolMfaConfig),AWS::SecretsManager::Secret(a changed value becomes the newAWSCURRENT, same ARN, history kept),AWS::Kinesis::Stream,AWS::ECR::Repository,AWS::DynamoDB::GlobalTable,AWS::Events::EventBus,AWS::Events::Rule,AWS::CodeBuild::Project,AWS::Route53::RecordSet,AWS::Scheduler::Schedule,AWS::StepFunctions::StateMachine,AWS::CloudWatch::Alarm,AWS::IAM::Policy,AWS::ApiGateway::Authorizer,AWS::ApiGateway::DeploymentandAWS::KMS::Alias— only the properties the resource references mark Replacement replace (the new resource is created before the old one is removed, and a custom-named resource requiring replacement gets CloudFormation's own refusal), and a property the template drops reverts to its create default. The engine gains real replacement semantics: when an update returns a new physical id, the predecessor is deleted in a cleanup phase, as CloudFormation does afterUPDATE_COMPLETE. Contributed by @iot-rocket. - CloudFormation —
AWS::Lambda::Permissionis replaced on update and removed on delete — a stack update that changed a permission fell through to the create handler and appended a second statement, a permission declared without the legacyIdwas never removed at all, andEventSourceToken,FunctionUrlAuthType,InvokedViaFunctionUrl,PrincipalOrgIDandSourceAccountwere dropped on the way to the statement. Every property of the type requires replacement, so an update now removes the old statement and adds the new one under a fresh generated Sid — the resource's physical id, the shape real CloudFormation mints — and all nine documented properties reach the statement as conditions. Contributed by @iot-rocket. - CloudFormation — a failed update keeps the pre-existing resources when it rolls back — the rollback of a failed stack update deleted every resource the run had touched, and a run touches every resource in the template: unchanged resources and resources updated in place went down together with what the update had actually created. The rollback now deletes only what the update created and replacements under a new physical id; a resource that kept its physical id is left standing. An in-place change is not reverted, and a replacement's old resource, already removed by the update, is not recreated. Contributed by @iot-rocket.
- CloudFormation — a rolled-back update reports what the stack ran before — after
UPDATE_ROLLBACK_COMPLETE,GetTemplatereturned the template that failed andDescribeStacksthe failed update's parameters and tags, so acdk diffafter a failed deploy compared against the wrong base. The rollback now restores the previous template body, parameters and tags together with the resources and outputs. Contributed by @iot-rocket. - CloudFormation — an export counts as in use only when a stack imports it —
DeleteStacksearched the serialized templates of every other stack for the export name, so a stack that merely carried the name in a string value blocked the delete, while an import through a resolvedFn::ImportValueargument did not. The check now walks the other stacks'Fn::ImportValueuses and resolves their arguments against those stacks' own parameters, as CloudFormation does. Contributed by @iot-rocket. - CloudFormation —
UpdateStackwithout changes is refused — an identicalTemplateBody, orUsePreviousTemplatewith unchanged parameters, ran an empty update where CloudFormation answersValidationError: No updates are to be performed., so a "deploy until nothing changes" loop never ended. The request is refused when the template, every resolved parameter and the tags (when sent) equal what the stack runs; a changed parameter value or tag set is still an update. Contributed by @iot-rocket. - CloudFormation — unrecognized resource types are rejected up front,
Fn::GetAttto a missing attribute fails the stack — a template with a resource type the emulator does not know provisioned every resource ahead of it before rolling back;CreateStack,UpdateStack,CreateChangeSetandValidateTemplatenow refuse it synchronously with CloudFormation's ownTemplate format error: Unrecognized resource types: [...]and leave no stack behind, and dynamic references ({{resolve:ssm:...}},{{resolve:secretsmanager:...}}), which the emulator does not resolve, are refused the same way.Fn::GetAttto an attribute a resource does not expose answered with the physical id, a silently wrong value; it now fails the operation withRequested attribute X does not exist in schema for T, and outputs are resolved before the success path commits, so a failing output rolls back too and registers no export. Contributed by @iot-rocket. - CloudFormation —
DeleteChangeSetof a change set that does not exist succeeds — it answeredChangeSetNotFound(404) where a real account answers a plain success, so the CDK — which removes a possible leftovercdk-deploy-change-setbefore every deploy and only toleratesChangeSetNotFoundException— aborted everycdk deployof an already deployed stack. The stack is now resolved by name or stack ID first; a stack that does not exist is still aValidationError. Contributed by @iot-rocket. - CloudFormation —
AWS::Events::Rulereports the rule ARN the EventBridge service reports —Fn::GetAttArnwas built with the bus name in every case, so a rule on the default bus answeredrule/default/<name>whileDescribeRulefor the same rule answeredrule/<name>. The provisioner now derives the ARN through the service's own helper: no bus segment on the default bus,rule/<bus>/<name>on a custom one. Contributed by @iot-rocket. - CloudFormation —
AWS::Cognito::UserPoolreadsUserPoolName— the provisioner readPoolName, the API's name for the property, where the resource reference definesUserPoolName, so every pool declared with the documented property came up under a generated<stack>-<logical id>name.UserPoolNameis honoured now;PoolNamestays accepted for templates written against MiniStack. Contributed by @iot-rocket. - CloudWatch —
PutMetricAlarmkeeps the state timestamp of an existing alarm — re-putting an alarm stamped a freshStateUpdatedTimestampon every call, so an alarm that had been inALARMfor an hour reported a state change that never happened whenever its configuration was touched. The state, its reason and its timestamp now stay across the re-put and onlyAlarmConfigurationUpdatedTimestampmoves, as the API reference documents; both request encodings. Contributed by @iot-rocket. - IAM enforcement — the remaining S3 operations authorize as S3 documents them — with
AUTH=true, a browserPOST Objectwas checked ass3:DeleteObject, a request naming aversionIdas the unversioned action,DeleteObjectsonce against the bucket ARN (so a grant onarn:aws:s3:::bucket/*denied every batch delete),CopyObject/UploadPartCopywithouts3:GetObjecton the source, and fifteen sub-resources fell to the method default. Each now maps to the action the S3 reference lists, aversionIdresolves to the*Version*action, and both enforcement sites run the per-request checks (per key, source object, attributes pair, governance bypass). Contributed by @iot-rocket. - DynamoDB — PartiQL and validation parity measured against real DynamoDB —
ExecuteStatementservesSELECTfrom"table"."index"(membership, projection, ordering and consumed capacity follow the index; an LSI reaches back to the base table for unprojected attributes, a GSI rejects them), document paths inSET/REMOVE,ORpredicates andRETURNING MODIFIED OLD/NEW *computed from the paths actually changed;BatchExecuteStatementreports per-statement error entries andExecuteTransactionvalidates every member before applying anything.QueryandScananswer theSelect/ProjectionExpressionrefusals with real DynamoDB's wording, aKeyConditionExpressionon a nested attribute is rejected (KeyConditionExpressions cannot have conditions on nested attributes),ConsumedCapacitylands on the index arm for index reads, and writes validate secondary-index key values — wrong-typed or empty as aValidationExceptionon single writes and as a positional cancellation reason in transactions. Reported by the paritysuite.org project. - Lambda — durable executions emit the complete history event set — four of the documented history event types were never emitted. Each handler invocation now records
InvocationCompleted;DurableConfig.ExecutionTimeoutis enforced — the execution landsTIMED_OUTwith anExecutionTimedOutevent and every in-flight chained invoke gets its ownChainedInvokeTimedOut;StopDurableExecutionmarks in-flight chained invokes withChainedInvokeStopped; andChainedInvokeStartedis on the log before a fast child can complete. - Cognito — the PreSignUp trigger fires on plain
SignUp— only federated sign-ups invoked it; a pool'sLambdaConfig.PreSignUpnow runs before the user is persisted, fail-closed:autoConfirmUserconfirms the account (no code delivery),autoVerifyEmail/autoVerifyPhonemark the attributes, and a rejecting or failing trigger blocks the sign-up withUserLambdaValidationException, per the trigger's documented contract. - STS — sessions expire and the store stops growing —
GetCallerIdentitywith expired temporary credentials answers403 ExpiredToken("The security token included in the request is expired", the documented STS error), and expired sessions are evicted as new ones register — previously every AssumeRole and vended identity-pool credential lived in memory forever.
[1.5.7] — 2026-09-04
Added
- Cognito — identity pool principal tag attribute maps —
SetPrincipalTagAttributeMapandGetPrincipalTagAttributeMapwere missing, so a CDK or CloudFormation deployment declaringAWS::Cognito::IdentityPoolPrincipalTagrolled the stack back. The operations round-trip a per-provider mapping on the identity pool, per botocorecognito-identity-2014-06-30: both members optional and stored as sent, an unconfigured provider answersResourceNotFoundExceptionwithNo Principal Tags configured for Provider {name}, and each provider keeps its own map.UseDefaultsis not expanded into a tag map — AWS applies the default claim mapping when vending credentials — and is accepted alongsidePrincipalTags, as terraform-provider-aws sends on destroy. The CloudFormation resource keys its physical id on the pool/provider pair, applies a changedPrincipalTagsin place, and clears the mapping on delete or replacement. State is account- and region-scoped and persisted. Contributed by @ppettitau. - EC2 — cross-account AMI sharing — a registered image was invisible to other accounts, with no way to grant access, so a Terraform
aws_amilookup across simulated accounts found nothing.ModifyImageAttributeapplieslaunchPermissionadd/remove in both wire forms (structuredLaunchPermission.Add/Removeand legacyAttribute+OperationType+UserId/UserGroup),DescribeImageAttributeandResetImageAttributeround-trip and revoke it, andDescribeImagesshows another account's image when the caller holds a permission orallis granted — keeping the owner'sOwnerId, flippingPubliconGroup=all, honouringExecutableUsersandOwners, shapes per botocoreec2-2016-11-15. A shared AMI launches through the same permission check. A non-owner modifying an image answersAuthFailure"Not authorized for image:{id}", as real EC2 does; an unknown id keepsInvalidAMIID.NotFound. Reported by @edersonbrilhante. - API Gateway — IAM-authorized methods report the caller's identity — a REST method with
authorizationType: AWS_IAMhanded its Lambda onlysourceIpanduserAgent; the resolved caller now fills the payload-1.0 fields (accessKey,accountId,caller,user,userArn,principalOrgIdfrom the account's Organization when one exists) and, for identity-pool credentials, the fourcognito*fields —cognitoAuthenticationProviderin the documented<provider>,<provider>:CognitoSignIn:<sub>format. HTTP APIAWS_IAMroutes reject a request with noAuthorizationheader (403 Forbidden) and fillrequestContext.authorizer.iam(accessKey,accountId,callerId,userArn,userId,cognitoIdentitywithamr/identityId/identityPoolId). Signatures are not verified — key resolution only, per the documented no-SigV4 stance.GetCredentialsForIdentityalso registers its credentials as an STS session —GetCallerIdentityreportsarn:aws:sts::<account>:assumed-role/<PoolRole>/CognitoIdentityCredentials, as on AWS — so identity-pool credentials work underAUTH=trueinstead of being rejected as an invalid token. Reported by @iot-rocket.
Changed
- RDS — Aurora MySQL global writer switchover foundations — deadline-bounded helpers for writer fencing, GTID convergence, replication-channel management and verified write enablement, plus lifecycle guards reserving clusters mid-switchover. No user-visible behavior changes; dormant until an orchestrator calls them. Contributed by @Areson.
Fixed
- Lambda — a Docker-executed function sees its real ARN in
context.invoked_function_arn— the RIE inside the official images hardcodesarn:aws:lambda:us-east-1:012345678912:function:{name}, account and region, so a handler self-registering its own ARN (the standard pattern for wiring a Cognito trigger) stored a scope where nothing exists and the trigger never fired. Python and Node.js zip functions run through a shim handing user code the control-plane ARN; forprovidedand Image-type functions, where MiniStack owns no code path, an ARN carrying exactly the RIE's hardcoded scope resolves as the caller's own function, so a stored trigger still fires. Reported by @TomaszKupka. - Cognito — TOTP codes verify —
VerifySoftwareTokenansweredSUCCESSfor any six digits and theSOFTWARE_TOKEN_MFAchallenge issued tokens for any code. TheAssociateSoftwareTokensecret is now stored and verified with RFC 6238 (HMAC-SHA1, 30-second step, ±1 step): a wrong code answersEnableSoftwareTokenMFAExceptionon verify andCodeMismatchExceptionon the challenge, both in the operations' botocore error models, and success promotes the secret and enrolls the user. The CloudFormation provisioner mapsEnabledMfas: [SOFTWARE_TOKEN_MFA](what CDK emits) ontoGetUserPoolMfaConfig. Tests sending a fixed code must derive one from theSecretCodethey receive; users enrolled before this release keep the old behavior until re-enrolment. Reported by @iot-rocket. - RDS — the Aurora reader endpoint is a name that resolves —
CreateDBClusterhanded out an AWS-shapedcluster-ro-name that nothing registered, so a consumer that stored it (Terraform readsreader_endpointduring the creating apply) held an unresolvable endpoint, hanging until client timeout. The reader name is registered as a Docker network alias alongside the writer name, andDescribeDBClustersreports it whenever the writer reports its stable name — per the Aurora documentation, a cluster with no replicas resolves its reader endpoint to the primary. With PG streaming replication on, the name stays off the writer so a standby can carry it. Outside alias mode everything behaves as before. Reported by @jbschooley. - CloudWatch — Timestamp members over JSON are epoch numbers — the awsJson1_0 branches returned the XML path's ISO strings, which AWS SDK timestamp parsers reject (
Expected real number, got implicit NaN), failingGetMetricStatistics,GetMetricDataandDescribeAlarmHistoryreads. Timestamps convert to integer epoch seconds at the JSON serialization boundary. Contributed by @mm-salesqueze. - CloudFront —
GetDistributionreturns a config every SDK can read — re-serialising the client's namespacedconfig_xmlmade ElementTree invent anns0:prefix on every child, which REST-XML SDK parsers read as absent, soOrigins,DefaultCacheBehaviorandCallerReferencewere invisible on read-back. The re-parsed config has its namespaces stripped, on all four response paths. Contributed by @mm-salesqueze. - STS — cross-account
AssumeRoleworks, and an assumed session runs in the right account — the role was resolved in the caller's account, so a cross-account role was never found and refused underAUTH=true; and a session's non-12-digit key fell back to the default account, so every assumed session saw the wrong tenant whileAssumeRolereported success. The role resolves in the account its ARN names — the ARN's account is authoritative, a miss stays theAccessDeniedreal STS returns without disclosing role existence — and a session key resolves to the account of the role it assumed. Contributed by @mm-salesqueze. - CloudFormation — a stack addressed by its unique stack ID deletes and updates — every
StackNameparameter accepts the name or the stack ID per the API reference, and the CDK CLI addresses stacks by ARN;DeleteStackresolved the name only, socdk destroyreturned OK and deleted nothing, and an update by ID hung inUPDATE_IN_PROGRESS. Both — plusDescribeStackResource(s),DescribeStackEvents,ListStackResourcesandGetTemplate— resolve either form through one helper. Contributed by @mm-salesqueze. - CodeBuild — a build the agent never ran no longer reports
SUCCEEDED— the local agent exits 0 after failing to start anything (denied the Docker socket under SELinux), and the outcome was read off the exit code alone. A zero exit with no completed phase lands the buildFAULT. The agent container also takes extradocker runflags throughCODEBUILD_DOCKER_FLAGS— same syntax and parser asLAMBDA_DOCKER_FLAGS, both gaining--security-opt— the only lever that makes the agent work under SELinux. Contributed by @mm-salesqueze. - SNS — a Lambda subscription delivers for every account — the delivery thread resolved the subscriber with an empty request context, reading back the default account, so a tenant under a 12-digit key had every SNS→Lambda notification silently dropped. The publisher's context travels into the delivery thread. The CloudWatch Logs subscription-filter delivery had the sibling defect and now invokes through the function's own account and region.
- Pagination tokens are omitted when empty — MSK, Organizations, WAF Classic, Bedrock agent/runtime, AppSync item listings and the Lambda durable/microVM surfaces emitted
NextToken: nullorNextMarker: ""on every list; a present-but-empty token reads as real to non-boto clients and as drift to Terraform. All now omit the member, matching the models. - ElastiCache —
DescribeCacheClustersreportsCacheClusterCreateTime— the cluster-level creation time was stored but never serialized; it is emitted as ISO8601 alongside the node-level times. - DynamoDB — ContributorInsights timestamps are integer epoch —
LastUpdateDateTimewas a float on the wire, against the JSON timestamp convention. - EC2 — the seeded public AMIs carry their real owners — the stub images reported no owner, so
Owners=["amazon"](Terraform'saws_amidata source) selected nothing. They carry the real publishing accounts — 137112412989 for Amazon Linux, 801119661308 for Windows, 099720109477 for Canonical — withImageOwnerAlias: amazonon the Amazon-published pair, asDescribeImagesreports on AWS.
[1.5.6] — 2026-09-02
Added
- Amazon Transcribe (
transcribe) — new service emulator for batch transcription jobs:StartTranscriptionJob,GetTranscriptionJob,ListTranscriptionJobs,DeleteTranscriptionJob, verified against botocoretranscribe-2017-10-26. Jobs walkQUEUED→IN_PROGRESS→COMPLETED(paced byTRANSCRIBE_JOB_RUN_SECONDS), read their media from MiniStack S3 bys3://, path-style or virtual-hosted URI, and write the transcript back to S3 in the real result format, withIdentifyLanguage/IdentifyMultipleLanguages,ContentRedaction,Subtitlesand speaker labels honoured and aTranscribe Job State Changeevent published on the default bus at terminal states. The transcript is deterministic canned text — there is no speech recognition. Streaming, call-analytics and medical jobs, custom vocabularies and tagging are not implemented. Contributed by @ppettitau. - Lambda — SnapStart — the
SnapStartparameter onCreateFunctionandUpdateFunctionConfigurationwas silently swallowed, so a deployment that enables it saw permanent Terraform drift. It now round-trips:$LATESTechoesApplyOnwithOptimizationStatus: Off, a published version reportsOnand walksPending→Active, and the documented constraints are enforced — Java 11+/Python 3.12+/.NET 8+ zip runtimes only (container images accepted), no ephemeral storage above 512 MB, refused withInvalidParameterValueException. The mechanism is emulated, not just the shape: publishing initializes the version's execution environment right then (warm worker or RIE container), so the first invoke is warm, invoking whilePendinganswersResourceConflictException, a broken init fails the publish (State: Failed), andsnapshot-restore-pybefore-snapshot/after-restore hooks run during a published version's init. No snapshot exists locally; Java CRaC and .NET hooks do not fire. - RDS — MySQL writer quiescence primitives — writer-fence verification, transaction/XA drain inventory and fenced GTID capture for Aurora MySQL global-cluster switchover, deadline-bounded and fail-closed; dormant until a switchover orchestrator calls them. Contributed by @Areson.
- Glue / S3 Tables — Iceberg-Spark catalog for Glue 5.0 — jobs declaring
GlueVersion5.0 resolve the Iceberg-Spark catalog, covering the dispatch and parse differences between Spark 3.5 and 3.3 and Iceberg v3, and the embedded Iceberg REST catalog now serves clients beyond DuckDB and Spark:createNamespaceis routed instead of answering an internal error, and the pyiceberg-visible defects (format-version, unresolved schema-id) are fixed. Reported by @kevinprince.
Fixed
- ALB — the
authenticate-oidclistener action authenticates — the action's config was accepted and discarded, so every request reached the target unauthenticated. The documented flow now runs end to end: redirect to theAuthorizationEndpoint, code exchange at theTokenEndpoint, claims from theUserInfoEndpoint, session in shardedAWSELBAuthSessionCookiecookies, and targets receivex-amzn-oidc-identity,x-amzn-oidc-accesstokenandx-amzn-oidc-data— the last as AWS's signed ES256 JWT (kid,signer,iss,client,exp; base64 segments padded, as ALB emits them) with client-supplied copies stripped. Rule actions now run as a chain inOrder, andModifyListenerupdates the default rule the data plane serves.authenticate-cognitoanswers501. Contributed by @dhanesh. - Router — an unregistered
Hostis no longer routed by service-token substring — the host-pattern step ran unanchorediot\.,logs\.,email\.regexes over any unclassifiedHost, soprobe.iot.example.comansweredUnsupported IoT pathandlogs.example.comlanded in CloudWatch Logs. Host patterns are now consulted only for hosts the stack serves — a single label, a two-label alias, an IP literal, or a name underlocalhost,amazonaws.com,MINISTACK_HOSTor the container hostname, matched at a label boundary — and each service token is anchored at a label start, soprobe-iot.localhostis not IoT while<bucket>.s3.<region>,<api-id>.execute-api.<region>and the other AWS shapes route exactly as before. Contributed by @iot-rocket. - IAM — the AWS-managed policies a CDK, SAM or Serverless deployment attaches resolve by their real ARNs — the seeded catalogue filed the Lambda execution-role policies under
arn:aws:iam::aws:policy/<Name>while AWS publishes them under…:policy/service-role/<Name>, the only ARN those tools emit, soGetPolicyansweredNoSuchEntityand underAUTH=truean attached policy granted nothing. The catalogue now carries them under their real path with the documents from the AWS Managed Policy Reference, reportsPolicyNameandPathas AWS does, and adds the missing CDK/API Gateway/IoT and SQS/Kinesis/DynamoDB execution-role policies. The path-less spellings answerNoSuchEntity, as on AWS. Contributed by @iot-rocket. - IAM enforcement — the
aws:ResourceAccountcondition key resolves — withAUTH=truea statement conditioned onaws:ResourceAccount(ors3:ResourceAccount) never matched, so CDK's own bootstrap template failed asset publishing. The key resolves to the resource-owning account (the ARN's account field wins); a condition naming another account still denies, and every other unknown key keeps denying. Contributed by @iot-rocket. - IAM enforcement — S3 multipart uploads authorize as
s3:PutObject—CreateMultipartUploadwas checked as a literal action no policy grants, so every upload above the SDK's multipart threshold was denied. The multipart operations now map to the actions S3 documents (s3:PutObject,s3:AbortMultipartUpload, the two listing actions),?versionsiss3:ListBucketVersions, object-level?tagging/?acluse the object actions, and configurationDELETEs authorize as theirPut*action. Contributed by @iot-rocket. - Lambda — a failed Docker cold start no longer leaks its extraction directory — anything raised between unpacking the code/layers and the container start (a corrupt layer zip, a Docker socket read-timeout) orphaned a full
ministack-lambda-docker-*tree, compounding to gigabytes under Docker-API pressure. Cleanup now covers every exit until the container is handed to the warm pool. Reported by @iot-rocket. - RDS — a container worker no longer clobbers an intervened stop —
StopDBInstancelanding while the background worker was still starting the instance's container was undone when the worker finished and set the status back toavailable; the worker now finishes without overwriting a stop, soDBInstanceStatusand DB-proxyTargetHealthstaystopped/UNAVAILABLE.
[1.5.5] — 2026-09-01
Added
- Bedrock — Knowledge Base ingestion reads the bucket, and
Retrieveretrieves —StartIngestionJobansweredCOMPLETEwith an all-zero statistics block without touching the data source, andRetrieveanswered[]forever, so a green ingestion run was indistinguishable from a working one. The job now reads the S3 data source (honouringinclusionPrefixes) and reports real statistics — scanned, new versus modified, and non-UTF-8 documents as failed with a reason each; a source it cannot read at all (missing bucket, non-S3 type) landsFAILEDwithfailureReasonsinstead of a fabricated success.Retrievesearches the ingested documents lexically and returns content, thes3Locationof each hit and a score,ResourceNotFoundExceptionfor an unknown knowledge base. Reported by @bradleyhet. - KMS — multi-Region keys and
ReplicateKey—CreateKeywithMultiRegionmints anmrk-key carryingMultiRegionConfiguration, andReplicateKeycreates a same-id replica in another region sharing the key material, so a ciphertext from the primary decrypts against the replica. Invalid sources and occupied regions are refused as on AWS, and deleting a primary with live replicas landsPendingReplicaDeletion. Reported by @cringdahl.
Changed
- RDS — the Aurora MySQL replication channel operations are role-independent — No user-visible behavior changes. Contributed by @Areson.
Fixed
- RDS — a cluster endpoint is a stable name, not the container's current address — the endpoint reported for a cluster changed as it came up (an AWS-shaped hostname, then
localhost, then the container's IP), so anything that stored it — Terraform reads once, at create — held a value that went stale whenever the container was replaced. The AWS-shaped endpoint the cluster already advertises is now registered as a Docker network alias on its container and reported unchanged, so the stored value keeps resolving after a replacement. Skipped where Docker refuses aliases (the default bridge), which behaves exactly as before;localhostandMINISTACK_HOSTnever qualify as aliases. Contributed by @jbschooley. - Gateway — a gzip-compressed request body is inflated before the service reads it — smithy's
@requestCompressiontrait makes an AWS SDK gzip a request body once it passesREQUEST_MIN_COMPRESSION_SIZE_BYTES(default 10240) and sendContent-Encoding: gzip; CloudWatchPutMetricDatacarries the trait, so boto3 compresses it with no client configuration. The handler parsed the compressed bytes, so aPutMetricDatacall of more than 10 KB answered200and stored nothing, losing every datapoint in the batch without an error. The body is now inflated once the target service is known and the gzip token dropped fromContent-Encoding. S3 is excluded: thereContent-Encodingis object metadata, so a gzip upload keeps the exact bytes it was sent and returns the header onGetObject. Contributed by @Lukasdoe. - Bedrock — guardrails guard —
ApplyGuardrailevaluated nothing: every input answeredaction: NONEwith an empty assessment, a nonexistent guardrail id answered HTTP 200, andConverseignoredguardrailConfigentirely, so a guardrail test suite went green while letting everything through. The deterministic policies are now enforced — word policy, the sensitive-information regexes, and the pattern-matchable PII types (EMAIL, PHONE, IP/MAC address, URL, SSN, card numbers, AWS keys) withBLOCKandANONYMIZEhonoured per input/output stage — with the documented response anatomy:GUARDRAIL_INTERVENED, the blocked messaging as output, and the per-policy assessment.ConverseandConverseStreamapply the same evaluation to both stages (stopReason: guardrail_intervened, guardrail trace on request), and an unknown id answersResourceNotFoundExceptioneverywhere. The model-graded policies (topic, content, contextual grounding,PROFANITY) still need a classifier and are not evaluated. Reported by @bradleyhet. - Bedrock —
InvokeAgentno longer fabricates anORCHESTRATEtrace — withenableTracethe canned reply was preceded by anorchestrationTracedescribing reasoning that never ran, which made the absence of orchestration harder to detect from the one artifact a developer would check. No trace events are emitted. Reported by @bradleyhet. - Cognito —
PreventUserExistenceErrors=ENABLEDhides an unknown user —USER_PASSWORD_AUTH,USER_SRP_AUTHandADMIN_USER_PASSWORD_AUTHanswerNotAuthorizedException(atRespondToAuthChallengetoo, which is what closes SRP),ForgotPasswordandResendConfirmationCodeanswer a simulatedCodeDeliveryDetailswith the maskedDestination(j****@e****), andConfirmForgotPasswordanswersCodeMismatchException. Admin directory operations keepUserNotFoundException, andCUSTOM_AUTHis untouched. Contributed by @fhfournier. - Lambda — SQS event source mapping records carry
AWSTraceHeaderand the FIFO attributes — the trace header andMessageGroupId/MessageDeduplicationId/SequenceNumberwere dropped from the event'sattributesmap; each now rides the record when set, per the documented event shape. Reported by @future-h-takeda-g3. - Request bodies assemble in linear time — the ASGI body reader, the aws-chunked decoder, S3
CompleteMultipartUploadand the DSQL proxy's row serialization each rebuilt an immutablebytesper chunk; all four now collect and join once, taking a 95 MBPutObjectfrom ~23 s to ~0.3 s. Reported by @vernonhaughton.
[1.5.4] — 2026-08-31
Added
- AppSync —
APPSYNC_JSresolvers execute — resolver code was stored and never run;request()now decides what the data source is asked for andresponse()shapes the answer, withutil.error,util.appendErrorandruntime.earlyReturnfollowing AWS in both of its documented positions, pipeline resolvers threadingctx.stash, andextensions.evictFromApiCacherecorded back to the service.NONE,HTTP,AMAZON_DYNAMODBandAWS_LAMBDAdata sources execute; the remaining types refuse withNotImplemented. Evaluation runs on a pool of Node workers — one evaluation in flight per worker, a 30-second bound with kill-and-respawn, a heap cap, and resolver console output surfaced in the service log. Contributed by @jbschooley. - AppSync — queries are parsed and executed with
graphql-core— the regex data plane failed silently on aliases, fragments, nested selection sets, variables with defaults and directives; an API with a schema now parses, validates and executes with the reference engine (an AppSync prelude supplies theAWS*scalars and@aws_*directives), while a schemaless API keeps the previous lenient path. Addsgraphql-coreas a dependency. Contributed by @jbschooley. - AppSync — schema creation, pipeline functions, environment variables and the
Update*operations —StartSchemaCreation,GetSchemaCreationStatus,GetIntrospectionSchema(SDL verbatim, or a real introspection document forformat=JSON), the function operations,Put/GetGraphqlApiEnvironmentVariablesandUpdateDataSource/UpdateResolver/UpdateFunction/UpdateTypeall answeredUnsupported route.CreateGraphqlApialso omittedapiType,visibilityandintrospectionConfigand left tags off the API object, so a no-change Terraform plan proposed replacing the API; required members are validated rather than silently defaulted. Contributed by @jbschooley. - AppSync — the API cache, control plane and data plane — the five
ApiCacheoperations answeredUnsupported route; they now round-trip a record carryinghealthMetricsConfig, withttl(1–3600),apiCachingBehaviorandtyperequired and validated as on AWS, and the data plane serves query resolvers from the cache under both caching behaviors, mutations excluded. Contributed by @jbschooley. - AppSync — nested type resolvers,
ctx.identityfrom Cognito,ctx.envandctx.error— only top-levelQuery/Mutationfields resolved andctx.identitywas only ever set by a Lambda authorizer; a resolved value's type now runs its own resolvers with the parent asctx.source, a Cognito token populatesctx.identity, andresponse()sees a data source failure asctx.error. Contributed by @jbschooley. - AppSync — the
@aws-appsync/utils/dynamodbhelpers, andEvaluateCode— the helper sub-module was stripped with every other import, soddb.get/put/update/remove/scan/querydied with "ddb is not defined"; they are provided and bound to whatever name the import used, andEvaluateCodetests a handler before it is attached to an API. Contributed by @jbschooley. - AppSync —
util.transformDynamoDB expression builders and the rest of theutilsurface —util.transformwas an empty object and 8 of the 21 members@aws-appsync/utilsdeclares were provided;toDynamoDBFilterExpression/toDynamoDBConditionExpressionnow build the{expression, expressionNames, expressionValues}triple over AWS's documented operator set, and the missingutilmembers (base64*,url*,escapeJavaScript,matches,authType, realautoUlid/autoKsuid,util.str,util.math,util.time, theutil.dynamodbto*family,util.rds.toJsonObject) are implemented, with the rest refusing by name. Contributed by @jbschooley. - Aurora DSQL — foreign key constraints — every
REFERENCES/FOREIGN KEYclause was refused0A000; they now reach the backend as written, with the two DSQL-specific rules enforced against a live cluster (eu-central-1, 2026-08-30):ALTER TABLE ... ADD CONSTRAINT ... FOREIGN KEYmust useNOT VALID, andDEFERRABLEis refused on any other kind of constraint, in the service's own wordings. Contributed by @vivedo. - Aurora DSQL — change data capture streams, and
GetVpcEndpointServiceName— the four CDC stream operations answeredValidationException; streams now create, describe, list, page, tag and delete with the API's shapes (clientTokenidempotency, the 5-per-cluster quota asServiceQuotaExceededException). Metadata only: no change record reaches the Kinesis target, and a visibly broken target lands the streamFAILEDwith the service'sstatusReasoncode.GetVpcEndpointServiceNameanswers a stable per-cluster name. Contributed by @vivedo. - Aurora DSQL —
SELECT ... FOR KEY SHARE— refused0A000alongsideFOR SHAREandFOR NO KEY UPDATEalthough the live service takes it since 2026-08-25; it is now forwarded, and only the other two are refused. Contributed by @vivedo. - IoT Core —
ListThingGroupsForThing— the reverse lookup answeredUnsupported IoT path, so resolving a thing's groups meant scanning every group; it now returns{groupName, groupArn}pairs from the bidirectional membership store, withResourceNotFoundExceptionfor an unknown thing. The full list comes back in one page, like the service's other list operations. Contributed by @iot-rocket. - CloudFormation —
AWS::IoT::CACertificateprovisions onto the CA registry — a template declaring the type rolled the stack back withUnsupported resource type. The provisioner now drives the real API: create registers the PEM withRegistrationConfigandCertificateMode(stored and reported byDescribeCACertificate,DEFAULTwhen omitted), update appliesStatus/AutoRegistrationStatus/RegistrationConfig/RemoveAutoRegistrationin place, and delete deactivates first, because an ACTIVE CA refusesDeleteCACertificate. A PEM that is already registered fails the create, as CloudFormation does for an existing resource, and a changedCACertificatePemorCertificateModefails the update loudly rather than silently replacing the CA — the id is derived from the certificate content.Tagsare not modeled. Contributed by @iot-rocket. - KMS —
GenerateRandom— the one keyless KMS operation answeredInvalidAction; it now returns the requested 1–1024 bytes fromos.urandom, refuses an omitted or out-of-rangeNumberOfByteswith the service'sValidationExceptionwording, answersCustomKeyStoreNotFoundExceptionfor aCustomKeyStoreId, and refuses the Nitro-enclaveRecipientparameter loudly rather than answering a plaintext shape real KMS never returns there. Contributed by @iot-rocket.
Changed
- AppSync — an API's auth modes are enforced — a data-plane request satisfying none of the API's configured providers now answers
401 UnauthorizedException, as on AWS; previously an API declaringAMAZON_COGNITO_USER_POOLSserved a caller with no credentials at all. Credentials are still not verified — what is refused is the absence of any credential. Contributed by @jbschooley.
Fixed
- Persistence — a module that failed to load no longer overwrites its state — the stand-in for a module that cannot import reported empty state and
save_allwrote it over the service's file, so one bad boot silently destroyed everything that service had persisted; the stand-in now reportsNoneand the file is left alone. Contributed by @jbschooley. - ECS — a restored service relaunches its tasks — a restart restored every task
STOPPED(its container went with the process) and nothing reconciled the services, so a service reported its persistedrunningCountwhile nothing listened; ACTIVE services are now reconciled once after a restore on a daemon thread, a service that cannot relaunch is logged and skipped, and ECS joins the boot eager-load list when persisted services exist so a workload reached only through a load balancer recovers too. Contributed by @jbschooley. - Six fields accepted on write but never reported on read — Lambda's
EventSourceMappingArn(absent on create/get/list, so Terraform read no ESM tags), s3control'sListTagsForResourcetag wrapper (<member>where the model says<Tag>, unparseable by aws-sdk-go-v2), Kinesis'sKeyIdalongsideEncryptionType, RDS'sServerlessV2ScalingConfigurationandPerformanceInsightsRetentionPeriod, and Cognito'sUserAttributeUpdateSettingsand a disabledSoftwareTokenMfaConfigurationall round-trip now, each omitted when never set so an unset field does not read as drift. Contributed by @jbschooley. - ECS — a task runs on the architecture its task definition declares —
runtimePlatformwas stored and never read, so Docker chose the host's architecture and anARM64task on an x86_64 host started a container that could not execute its entrypoint; the declared architecture is now passed to Docker. Contributed by @jbschooley. - Lambda — a function runs on the architecture it declares — the container was created without a platform whatever
Architecturessaid; the declared architecture is now passed to Docker, and a cached image of the wrong architecture is re-pulled rather than failing opaquely at run. Contributed by @jbschooley. - AppSync — an anonymous operation that declares variables is parsed —
mutation($x: T!) { … }with no space after the keyword — what every SDK sends — never matched the operation pattern, so the whole document was read as one field named "mutation" and answered null with no error. Contributed by @jbschooley. - AppSync — resolver execution no longer blocks the event loop — a resolver whose data source calls back into MiniStack deadlocked the request; execution and
EvaluateCodenow run on worker threads. Contributed by @jbschooley. - Cognito —
AdminListUserAuthEventsrequires user-pool add-ons — the call answered{"AuthEvents": []}for every pool where AWS refuses withUserPoolAddOnNotEnabledException(400) unlessUserPoolAddOns.AdvancedSecurityModeis enabled; the stored add-ons now gate the operation, before user resolution, and with add-ons enabled the answer stays an empty list since events are never recorded. Contributed by @iot-rocket. - Aurora DSQL — the
ALTER TABLErefusals answer what the service answers — measured live (eu-central-1, 2026-08-30): a refusedADD CONSTRAINTdrew three invented messages where DSQL answers one,ADD COLUMNaccepted constraint clauses DSQL refuses, andALTER TABLE ASYNC ... VALIDATE CONSTRAINTover violating rows failed at submit time where DSQL fails the job —sys.jobsnow reportsfailedwith the violation asdetails. Contributed by @vivedo.
[1.5.3] — 2026-08-28
Added
- Step Functions — the JSONata query language — a state machine declaring
QueryLanguage: JSONatanow evaluates its{% ... %}expressions through a full JSONata engine:$statesand workflow variables bind as documented, the six Step Functions functions ($partition,$range,$hash,$random,$uuid,$parse) are registered, failures surface asStates.QueryEvaluationErrorwith the JSONata error code leading the cause (T2010: ...), a malformed expression is refused atCreateStateMachine/UpdateStateMachinewithInvalidDefinition(INVALID_JSONATA_EXPRESSIONnaming the field's path) as AWS refuses it, a non-ISO$toMillisargument and a zero-length-matching$replaceregex draw AWS'sD3110/D1004, and evaluation carries AWS's 1-second timeout.$evalis absent, as on AWS. Reported by @facuparedes. - IoT Core — jobs delivered over MQTT — the reserved
$aws/things/<t>/jobs/#request topics (get,start-next,<jobId>/getincluding$next,<jobId>/update) answer on theiraccepted/rejectedtopics from the same store the HTTP plane uses, withjobDocumentas a JSON object over MQTT (a string over HTTP, as on AWS) and rejections carrying the stringErrorCodevalues plus the execution's state on version and state-transition conflicts;notifyfires when the pending set changes andnotify-nextonly when the queue front changes.stepTimeoutInMinutesandexecutionNumberare accepted but ignored. Contributed by @iot-rocket. - IoT Core — provisioning templates, and
AWS::IoT::ProvisioningTemplate—CreateProvisioningTemplateand the four other template operations answeredUnsupported IoT pathand the CloudFormation type rolled back as unsupported; both now work with the wire shapes of the real service (ResourceAlreadyExistsExceptionon duplicates, absent-not-emptydescription, 1-36 char names, atemplateBodywithout anAWS::IoT::Certificateresource refused). Storage + CRUD only: the fleet-provisioning MQTT workflow is not implemented and versions are not modeled. Contributed by @iot-rocket. - API Gateway — registered custom domains route the data plane — a request addressed by a registered domain fell through host-pattern service guessing (typically into S3, or into IoT when the name contained
iot.); it now resolves through the domain's base-path mappings before any guessing — longest base path wins,"(none)"is the root mapping, a mapping's stage is authoritative — matching theBASE_PATH_MAPPING_ONLYrouting mode the records default to. Unregistered hosts are unchanged. Contributed by @iot-rocket. - CloudFormation — in-place update handlers — a stack update fell through to a destructive re-create for 106 of 132 registered types, wiping published Lambda versions, DynamoDB items, SQS messages and IAM attachments;
AWS::Lambda::Function,AWS::DynamoDB::Table, the four API Gateway types,AWS::IoT::TopicRule,AWS::SNS::Topic,AWS::SQS::Queue,AWS::Logs::LogGroup,AWS::S3::BucketPolicy,AWS::IAM::RoleandAWS::IAM::ManagedPolicynow update in place through their service's own APIs, replacing only for genuinely create-only properties, as CloudFormation documents per property. Contributed by @iot-rocket. - S3 — replication delivers, with
x-amz-replication-status— a bucket's replication configuration was stored and echoed but never acted on: no object ever reached the destination andHeadObjectshowed no replication metadata. A write (put, POST upload, copy, or multipart complete) matching an Enabled rule's prefix now lands a copy in the destination bucket with its own version, the source's metadata, storage class override, and tags; the source object answersReplicationStatus: COMPLETED(orFAILEDwhen the destination is gone or no longer versioned) and the replica answersREPLICA, on current and version-addressed reads alike. The copy is synchronous so tests see a deterministic status. Delete-marker replication and replica re-replication are not modeled. Reported by @cringdahl.
Fixed
- CloudFormation — a resource that cannot be deleted fails the operation — a missing delete handler was a log warning and
DeleteStackreportedDELETE_COMPLETEwhile resources lived on; the stack now landsDELETE_FAILED(failed resources retained for a retry, exports kept, deleted siblings gone) and a failed rollback landsROLLBACK_FAILED/UPDATE_ROLLBACK_FAILED, per the documented lifecycle.AWS::Lambda::Versiongained a real delete handler (itsRefnow returns the qualified version ARN, as on AWS) andAWS::AppSync::GraphQLSchemaone that removes the stored schema. Contributed by @iot-rocket. - IoT Core — an HTTP shadow write publishes the reserved-topic notifications —
UpdateThingShadowover the REST data plane stored state and emitted nothing, so a topic rule on.../shadow/update/acceptedfired for MQTT updates only; an accepted HTTP update now publishesupdate/accepted/delta/documents(and a delete itsdelete/accepted) through the same emission code as the MQTT bridge, which also fixed thedocumentsenvelope on both transports: it now echoes the request'sclientTokenand carriesstate+metadata+versiononly. Contributed by @iot-rocket. - IoT Core — device-plane job timestamps were milliseconds, 1000x off —
iot-jobs-dataresponses served epoch milliseconds where the API reference words every stamp "in seconds since the epoch"; every device-plane stamp, HTTP and MQTT alike, is now whole epoch seconds. Contributed by @iot-rocket. - Step Functions — execution status changes are published to EventBridge — real Step Functions automatically emits
source: aws.states/detail-type: "Step Functions Execution Status Change"to the default bus whenever a standard execution changes status; MiniStack ran the execution and published nothing, so a rule matching those events never fired and applications waiting on them hung with no error anywhere. EveryStartExecutionnow emitsRUNNINGand its completionSUCCEEDED,FAILED(witherror/causeandREDRIVABLE) orABORTEDonStopExecution, carrying the documented detail fields with epoch-millisecond dates; payloads over 248 KiB are excluded and flagged viainputDetails/outputDetails, andStartSyncExecution(the express-flavored path) emits nothing, as on AWS. Reported by @moonyseven. - ECS — a service's tasks register in its target groups — a
loadBalancersblock was stored and never acted on, soDescribeTargetHealthstayed empty and every request through the load balancer fell to the listener's default action; a service now reconciles its target groups from its running tasks' addresses (awsvpc tasks carry their address asattachments[].details[privateIPv4Address], where real ECS reports it), withdrawing only its own registrations so manually registered targets and a second service sharing the group survive, as on AWS. Contributed by @jbschooley. - ECS — an
awsvpctask no longer publishes host ports — eachawsvpctask has its own network namespace on AWS, so container ports never bind on the host; publishing them made two tasks sharing a container port collide with a Docker bind error that cannot happen on Fargate. Onlybridgeandhostmodes publish. Contributed by @jbschooley. - ELBv2 — a rule condition sent as a typed config is read — only the flat legacy
Valueslist was parsed, so a rule created by Terraform (which sendsPathPatternConfig/HostHeaderConfig/HttpRequestMethodConfig/SourceIpConfig) stored an empty condition and never fired; both shapes now parse,DescribeRulesechoes the typed config alongsideValuesas AWS does, and the data-plane matcher recognizes AWS'shttp-request-methodfield name. Contributed by @jbschooley.
[1.5.2] — 2026-08-26
Added
- Cognito —
AdminLinkProviderForUser/AdminDisableProviderForUser— both actions answeredInvalidAction, so a federated identity could not be linked to a local user. Linking records the identity in the user'sidentitiesattribute (up to 5 per user,AliasExistsExceptionwhen the identity is already linked) and a hosted-UI federated sign-in resolves to the linked user; disabling removes the link, and withProviderName=Cognitoit deactivates the local user's password sign-in (NotAuthorizedException) while the profile stays. Reported by @rsimples. - Cognito —
AddCustomAttributes, and a user pool that reports its schema (SchemaAttributes) —DescribeUserPoolnever returned the pool's attribute schema andAddCustomAttributesansweredInvalidAction, so Terraform re-planned anaws_cognito_user_poolas changed right after creating it and failed the follow-up apply. A pool now carries the full standard attribute set with AWS's data types, mutability and constraints, a request'sSchemaentries override a standard entry field-for-field under theircustom:/dev:prefix, andAddCustomAttributesadds 1-25 attributes per call with the documented errors; aRequiredcustom attribute is refusedInvalidParameterException, as real Cognito refuses it. Contributed by @jgrumboe. - S3 —
ListBucketspagination (MaxBuckets,ContinuationToken,Prefix) — every call returned the full bucket list and ignored the paging parameters; they are now honored, withContinuationTokenalone signalling a further page, per the S3 model. Contributed by @gaul. - S3 —
CRC32Cchecksums — a put carryingx-amz-checksum-crc32cwas refused as unsupported; CRC32C is now computed in-process (table-driven, no new dependency), verified on upload (BadDigeston mismatch) and surfaced on reads with checksum mode enabled, completing all five S3 checksum algorithms. Contributed by @gaul.
Fixed
- Step Functions —
CreateStateMachineis idempotent — repeating a create with the same name refusedStateMachineAlreadyExistseven when the request was identical, which AWS answers with the existing machine's ARN. An identical create (definition, role, type, logging, publish and version description) now succeeds, only a differing one is refused, andDescribeStateMachineno longer leaks internal version-bookkeeping fields. Contributed by @bandle. - EventBridge — an input template no longer needs quotes around a string variable — AWS adds the quotes itself when a string variable sits in a JSON value position, so the documented form
{"detail": <detail>, "groupId": <groupId>}rendered a body that would not parse. A string variable in a value position is now quoted, a variable inside a string literal interpolates raw, and an object or array spliced into a string has its internal quotes stripped, as AWS does. Contributed by @ppettitau. - EventBridge Pipes — a DynamoDB stream reaches a Step Functions target — the poller delivered to SNS and to nothing else, so a pipe targeting a state machine reported
RUNNING, advanced no position and moved no records, with no error and no log line. Astatestarget now gets oneStartExecutionper batch carrying the records as a JSON array, and a batch that fails to reach its target stays on the stream for the next poll to retry, logging a warning naming the pipe. Contributed by @facuparedes. - EC2 —
DescribeSnapshotsevaluatesFilters— filters were ignored entirely, so every filtered call returned every snapshot in the account; the documented filter names (snapshot-id,volume-id,status,owner-id,encrypted, thetagforms, ...) now narrow the result. Contributed by @bandle. - EC2 — two invented operations removed —
DescribeInstanceMaintenanceOptionsandDescribeInstanceAutoRecoveryAttributedo not exist in the EC2 API; both handlers answered invented shapes and are gone. - S3 —
CopyObjectappliesx-amz-acl, andUploadPartCopyhonors the copy-source conditions — a canned ACL on a copy was dropped, so a copy addressedpublic-readlanded private with no way to tell but reading the ACL back, andUploadPartCopyignored all fourx-amz-copy-source-if-*headers. A copy now permissions the destination as a put does (an unknown value refuses the request), a copy without an ACL leaves the destination private rather than inheriting the replaced key's, and both copy operations judge the source conditions the same way. Contributed by @gaul. - S3 — the versioning edges answer the way S3 answers them —
DeleteBucketdeleted a bucket that still held versions or delete markers (nowBucketNotEmptyuntil they are removed by version id); reading a delete marker by its version id answered 200-empty on GET andNoSuchVersionon HEAD (now405 Method Not Allowedwithx-amz-delete-marker,Last-ModifiedandAllow: DELETE); an ACL or tag operation naming a version that never existed read back the default policy (nowNoSuchVersion); andListObjectVersionshonorsdelimiter, grouping keys intoCommonPrefixes. Contributed by @gaul. - S3 — the directory-bucket delete conditions are refused —
x-amz-if-match-sizeandx-amz-if-match-last-modified-time(and theSize/LastModifiedTimemembers in aDeleteObjectsentry) were silently ignored on a general-purpose bucket; they now answerNotImplemented, as live S3 does. Reported by @gaul. - CodeBuild —
BatchDeleteBuildsreportsbuildsNotDeletedas structures — an id that could not be deleted was reported as a bare string where the API models{id, statusCode}, crashing SDK parsers; it now answers the documented structure. - Lambda —
InvokeWithResponseStreamreturns an HTTP-level error unframed — aResourceNotFoundException(and any other non-200) was wrapped in the eventstream envelope, which SDK parsers cannot read; the error now returns as plain JSON, and only a 200 streams. - s3tables — the delete operations answer
204 No Content—DeleteTableBucket,DeleteNamespaceandDeleteTableanswered200 {}where AWS answers an empty 204.
[1.5.1] — 2026-08-25
Added
- SNS —
GetPlatformApplicationAttributes/SetPlatformApplicationAttributes— both actions answered400 InvalidAction, soterraform planon anaws_sns_platform_applicationfailed at refresh.Getreturns the attribute map,Setmerges the supplied entries, withInvalidParameter(400) for a missing parameter andNotFound(404) for an unknown application;CreatePlatformApplicationalso seedsEnabled=true, as AWS reports for a new application. Contributed by @jgrumboe. - Step Functions —
States.StringSplitandStates.Hashintrinsics — both raisedStates.Runtime: Unsupported intrinsic function, and splitting$$.Execution.Idon:is how a machine recovers its own region and account id.StringSplittreats every character of its second argument as a delimiter and keeps no empty member;Hashcomputes the five published algorithms as lowercase hex, shares the base64 intrinsics' 10,000-character cap, and refuses any other algorithm. Contributed by @bandle. - RDS — RDS Proxy (control plane) —
CreateDBProxyand the twelve other proxy operations answeredInvalidAction, so anaws_db_proxydefinition could not be applied at all. Proxies, endpoints, the default target group and registered targets now create, describe, modify and delete with the documented shapes, defaults, constraints and faults; creating a proxy also creates its default endpoint anddefaulttarget group, as AWS does. Metadata only — nothing listens on the proxy hostname. Reported by @jmreicha. - EC2 — opt-in launch options for instance containers (
EC2_DOCKER_FLAGS) — an image that boots an operating system (systemd as PID 1) needs container options the fixed launch arguments cannot express.EC2_DOCKER_FLAGStakes a docker-CLI-style string (--privileged,--cap-add,-e,-v, ...) applied to every instance container; unset, nothing changes, and--initis refused. Contributed by @iot-rocket.
Changed
- Docker — the slim image ships the MySQL IAM auth plugins — the plugins were compiled only into the
-fullflavor, so on the slim image Aurora MySQL IAM authentication silently disabled itself. The slim build now copies the plugin tree from the published full image, pinned to the release's digest so both flavors carry the same tree. Contributed by @Areson.
Fixed
- IAM — a resource-scoped policy works for JSON-protocol services (
AUTH=true) —extract_resource_arnread SQS, ACM, SSM and CloudWatch parameters from the query form only, so for current SDKs the resource fell back to*and every queue-, certificate-, parameter- or alarm-scoped statement denied. The request body is now read too, and SQS also resolves a queue addressed by path. Reported by @rsimples. - IAM —
kms:Decryptresolves the key from the ciphertext (AUTH=true) —DecryptandReEncryptcarry noKeyIdfor a symmetric key, so the resource fell back to*and a policy naming the key allowedEncryptbut deniedDecrypt. The key id is now recovered from the ciphertext blob the same way the KMS handler recovers it. Reported by @rsimples. - Lambda —
CreateFunctionwith an unresolvable role answers 400, not 500 (AUTH=true) — the role check's error was swallowed inside config building, so the client got500 InternalErrorand a half-created record was left behind. The role is now validated before anything is stored, answering400 InvalidParameterValueException. Reported by @rsimples. - Cognito — group membership records the resolved Username —
AdminAddUserToGroupstored the caller-supplied name, which in aUsernameAttributes = ["email"]pool is an alias rather than the user key, soListUsersInGroupdropped the member andAdminRemoveUserFromGroupnever matched it. Both now key on the resolved Username. Contributed by @Lukasdoe. - Cognito —
AdminDeleteUserdeletes the user an email alias resolves to — the delete was keyed on the caller-supplied name after resolving the alias, so it raisedKeyError, answered500 InternalError, and the user survived; a delete-then-create seed failedUsernameExistsExceptionon every run after the first. Contributed by @Lukasdoe. - S3 — a presigned upload no longer drops the
x-amz-*headers it was signed with — SigV4 lets a presigned URL hoist the operation'sx-amz-*headers into the query string, and real S3 applies them as the headers they stand for; MiniStack only read headers, so a presignedPutObjectstored the object without its metadata. Hoisted params are now folded back into the headers before routing, an explicitly sent header still winning. Contributed by @dennmart. - S3 — a supplied checksum is verified, however it arrives — an
x-amz-checksum-*value was only checked when the request also namedx-amz-sdk-checksum-algorithm, so a mismatched value was stored unread and echoed on later reads as though verified, and a checksum sent as anaws-chunkedtrailer never arrived at all. Every supplied value is now recomputed (BadDigeston mismatch) and trailing headers are lifted into the request headers. Contributed by @gaul. - Step Functions — the
aws-sdk:cloudwatchlogsintegration routes — Step Functions names CloudWatch Logs by its SDK service id, so the documentedarn:aws:states:::aws-sdk:cloudwatchlogs:createLogGroupfailedStates.Runtimebefore dispatch; only the endpoint-prefix spellinglogs, which AWS does not accept, was registered. The documented name now dispatches, takes PascalCaseParameters, and surfaces errors asCloudWatchLogs.*. Contributed by @bandle. - Glue — a Spark job's own SDK clients reach MiniStack — only the S3A endpoint was configured, so a bare
boto3.client("s3")in a job script escaped to real AWS and failedInvalidAccessKeyId. The container now carriesAWS_ENDPOINT_URL, and because the Glue 4.0 image's botocore predates that variable, a bootstrap defaults every client'sendpoint_urlbefore running the script unchanged. - CloudFormation —
Fn::Subhonors the${!Literal}escape — the leading!was not recognized, so${!Literal}rendered as!Literalwith the braces consumed and registered a false dependency; anAWS::IoT::Policypinned to${!iot:Connection.Thing.ThingName}deployed with a document matching nothing. It now renders as the literal${Literal}. Contributed by @maximoosemine. Reported by @iot-rocket. - EventBridge — dotted pattern keys resolve to the nested path — Event Ruler joins keys with
., so{"detail.name": [...]}and the nested spelling are the same rule on AWS, but the 1.4 matcher read a dotted key as one literal segment and such a rule silently matched nothing; dotted-form rules that delivered on 1.3.x stopped after upgrading. Pattern keys are now split on.when the compiler extends the path. Contributed by @prandogabriel. - IoT Core — an unresolvable action role fails
CreateTopicRuleinstead of silently dropping the rule (AUTH=true) — the role-check error was discarded and the API answered200 {}while storing nothing.CreateTopicRule/ReplaceTopicRulenow answer400 InvalidRequestException(Unable to assume role: {arn}) as real IoT does, and the CloudFormation provisioner fails the resource. Contributed by @iot-rocket. - RDS — Aurora PostgreSQL major-version selectors return the matching catalog —
DescribeDBEngineVersionstreatedEngineVersion=16as an exact version and returned nothing; major-only selectors now return every advertised minor in that family, andDefaultOnly=truenarrows to AWS's configured default minor for that major. Contributed by @jayjanssen.
[1.5.0] — 2026-08-23
Added
- IAM — opt-in request authorization (
AUTH=true) — withAUTH=trueMiniStack evaluates the caller's IAM policies before serving a request and answers403 AccessDenied(User: {arn} is not authorized to perform: {action}) when they do not allow it, across control-plane and data-plane paths (S3 object access,execute-api:Invoke,lambda:InvokeFunctionUrl, and per-service actions resolved from the botocore model). SigV4 signatures are still not validated — the access key only identifies the principal — so this is authorization, not authentication. Off by default (AUTH=false), leaving existing allow-all behavior unchanged. - Concurrency — a blocking handler no longer stalls concurrent requests — the request-serving event loop is captured at startup and blocking service work runs on worker threads, with a helper that lets a worker thread re-enter an async handler safely; work is routed by whether it needs to call back into the server. Contributed by @Areson and @iot-rocket.
- CloudFront — SaaS Manager (multi-tenant distributions) — connection groups and distribution tenants provision with ETag /
If-Matchconcurrency, per-tenant WAF association, tenant invalidations, and domain tooling. A tenant requires atenant-onlydistribution (InvalidAssociation), CNAMEs are unique across tenants and distribution aliases (CNAMEAlreadyExists), deleting a distribution or connection group that still has tenants is refused (ResourceInUse/CannotDeleteEntityWhileInUse), and both families are taggable; async deploy, DNS and certificate workflows resolve immediately. Contributed by @mjdavidson. - EC2 — instances can have a real box behind them (
RegisterImage) —RunInstancesreturned arunningrecord and booted nothing.RegisterImagenow takes a container reference inImageLocationand returns anami-id whose launch boots that image as a container, its IP becoming the instance's address sossm:SendCommandcan report a real exit code. Such an AMI isinstance-storebacked (StopInstances/StartInstancesanswerUnsupportedOperation); registering is the only opt-in, so with nothing registered EC2 never reaches for Docker.RebootInstancesalso now rejects an unknown id withInvalidInstanceID.NotFoundinstead of returningtruefor any id. Contributed by @iot-rocket. - SSM — Run Command —
SendCommand,GetCommandInvocation,ListCommandsandDescribeInstanceInformationreturnedInvalidAction. Invocations are now asynchronous as on AWS:SendCommandanswersPendingand the caller polls to a terminal state,AWS-RunShellScriptruns in the instance's container soStatusreflects the real exit code, and an instance with no agent answering is refusedInvalidInstanceId. Contributed by @bandle. - S3 — Glacier and Deep Archive restore (
RestoreObject) — an object in theGLACIERorDEEP_ARCHIVEstorage class is now unreadable until restored:GET/HEADis refused403 InvalidObjectState,RestoreObjectruns an asynchronous restore, andx-amz-restorereports the ongoing request then the restored copy's expiry.GLACIER_IRstays readable and aRestoreObjectagainst it failsInvalidObjectState, as on AWS. Reported by @mbenja086.
Changed
- Docker — the
fullimage is smaller — unused payload trimmed from the full variant. Reported by @areson.
Fixed
- IAM — a CloudFormation-provisioned policy no longer breaks the read APIs — stack-created policies and attachments wrote shapes the IAM API never produced (
AttachedPoliciesas{PolicyName, PolicyArn}dicts,Versionsas a list), soGetAccountAuthorizationDetails,ListAttachedRolePoliciesandListPolicyVersionserrored or never matched. They now go through the IAM module, so one shape reaches every reader,AWS::IAM::ManagedPolicyhonours itsRoles/Users/Groups, and both resource types return theFn::GetAttattributes CloudFormation documents. Reported by @iot-rocket. - Lambda — Node.js ESM handlers using top-level
awaitload correctly — a handler whose module graph contains a top-levelawaitthrows Node'sERR_REQUIRE_ASYNC_MODULE, which fell through to an uncaughtRuntimeError; both Node bootstraps now treat it likeERR_REQUIRE_ESMand fall back to dynamicimport(). Contributed by @ryan-bennett. - Cognito —
ListUsersFiltermatches values case-insensitively — every comparison was an exact string match, soemail = "[email protected]"missed a profile stored as[email protected]. Values are now matched case-insensitively foremail,phone_number,name,suband the other profile attributes, whileusernameandstatusstay case-sensitive per the API reference. Contributed by @ppettitau. - DynamoDB — an
UpdateExpressionalias is resolved before the key-attribute check —set #pk = :pkwith#pkmapped to a non-key attribute was wrongly refused withCannot update attribute pk. This attribute is part of the key; the check now reads the alias-resolved roots, so only a path that resolves to the partition or sort key is rejected. Contributed by @ppettitau. - RDS —
DescribeDBInstanceshonors SDKFilters— clients serialize filters asFilters.Filter.NwithValues.Value.N, but only the internalFilters.member.Nform was parsed, so filters such asdb-cluster-idwere ignored. Both wire forms are now parsed. Contributed by @jayjanssen. - S3 — a conditional delete of a key with no current object answers 404 —
DeleteObjectwithIf-Matchreturned 204 for a key that was absent or hidden by a delete marker, so a compare-and-swap delete reported success it never did. The condition is now evaluated against the current version only: no current object answersNoSuchKey, a differing ETagPreconditionFailed, and a matching ETag orIf-Match: *deletes. Reverted and fixed from 1.4.21. - S3 — one canonical owner ID across every S3 API —
ListBuckets,GetBucketAcl,GetObjectAcland object listings returned the account id (or a placeholder) and disagreed with one another; they now return a single stable opaque 64-character hex canonical ID, as real S3 does. Reported by @jin-gizmo. - EC2 —
DescribeAvailabilityZonesreports the zone-group fields — each zone was missinggroupName,networkBorderGroupandoptInStatus, so a consumer that reads them (Terraform'saws_availability_zonesdata source) saw them absent; standard zones now report them with anopt-in-not-requiredstatus.
[1.4.21] — 2026-08-20
Added
- IoT Core — native mTLS MQTT listener on port 8883 — the embedded broker now also accepts MQTT over TLS on 8883 (
IOT_MTLS_ENABLED=0turns it off,IOT_MTLS_PORTmoves it), on by default whencryptographyis present, so AWS IoT Device SDK binaries can connect. The broker certificate comes from the local CA (GET /_ministack/iot/ca.pem); a client certificate is optional (none is served underMINISTACK_ACCOUNT_ID, like an unsigned WebSocket upgrade) and an unknown or non-ACTIVEcertificate is refused with a0x05CONNACK. Contributed by @iot-rocket. - RDS — replicated Aurora PostgreSQL readers survive StopDBCluster / StartDBCluster and warm boot — under
MINISTACK_RDS_PG_CLUSTER_REPLICATION,StopDBClusternow stops the reader containers alongside the writer andStartDBClusterrevives each reader by re-cloning from the writer; the same revival runs on warm boot, so a persisted reader comes back as a real hot standby instead of being demoted to a writer alias. Contributed by @kiran01bm. - CloudFormation —
AWS::SES::ConfigurationSetandAWS::SES::ConfigurationSetEventDestination— a template carrying an SES configuration set no longer fails with "Unsupported resource type"; both resource types provision (registered in the classic and v2 SES stores,Refreturns the set name, the event destination round-trips), CloudFormation-provisioning fidelity only. Contributed by @ryan-bennett.
Fixed
- API Gateway (REST) — routing is on the resource+method pair, not the resource alone — a request a matched resource does not serve (a methodless intermediate node, a CORS-preflight-only node, or an undeclared verb) now falls through to a
{proxy+}elsewhere in the tree as it does on AWS; only an exact resource+method match keeps the request, and routing precedes authorization. Supersedes the 1.4.16 change that answered a methodless resource403. Contributed by @iot-rocket. - Step Functions — an unimplemented optimized service integration fails instead of silently succeeding — a Task using an
arn:aws:states:::<service>:<action>integration MiniStack does not implement fell through to echoing its input back asSUCCEEDED; it now fails withStates.Runtimenaming the unimplemented resource. Reported by @iwasakar. - CloudFormation — a replacement of a custom-named resource is refused instead of destroying data — an update requiring replacement of a resource with an explicit physical name (for example changing a DynamoDB key attribute's type on a table that sets
TableName) now fails and rolls back toUPDATE_ROLLBACK_COMPLETEwithCloudFormation cannot update a stack when a custom-named resource requires replacing. Rename <name> and update the stack again., leaving the resource and its data intact. Reported by @iot-rocket. - CloudFormation — change sets report a valid status, fail when execution fails, and do not outlive their stack —
ExecuteChangeSetwrote the invalidEXECUTE_COMPLETEintoStatus, breaking the CDK'sStatus == CREATE_COMPLETEgate.Statusnow staysCREATE_COMPLETEwhileExecutionStatusmoves toEXECUTE_COMPLETEorEXECUTE_FAILEDon the deployment outcome. A no-change set endsFAILED, a missing set returnsChangeSetNotFound(404), a duplicate name isAlreadyExistsException, deleting a stack removes its change sets, executing one deletes the others, and a directUpdateStackmarks pending setsOBSOLETE. Reported by @iot-rocket. - RDS — Aurora engine versions are validated on non-create writes and global inheritance —
ModifyDBInstance,ModifyDBCluster,CreateGlobalCluster,ModifyGlobalCluster, and global-inheritedCreateDBClusternow reject engine versions the catalog does not advertise; modify paths returnInvalidParameterCombination/Cannot find upgrade target from {current} with requested version {requested}.,ModifyGlobalClusterpropagates an accepted version to every member, and a member moved to a different major than its global is refused. Contributed by @kiran01bm. - RDS — global Aurora stop/start preserves topology and MySQL replication —
StopDBClusterandStartDBClusterare now limited to sole-member global databases (InvalidDBClusterStateFault, 400), deleting a primary's last instance preserves compute other global members still need, and a successful recreate resets stale MySQL replica state before re-linking replication. Contributed by @kiran01bm. - S3 — a conditional delete of an absent key is answered correctly —
DeleteObjectwithIf-Matchon a key that is not there now returns204(deleting an already-gone key is done), andIf-Match: *is honored as an existence check — it holds against any present object and returns412 PreconditionFailedwhen the key is absent — rather than being compared as a literal ETag. Contributed by @gaul. - S3 — multipart uploads carry their parts' checksums through to a composite —
CreateMultipartUploadrecords the checksum algorithm,UploadPartvalidates and echoes each part's checksum, and completion builds the AWS composite (<digest>-<parts>, the digest of the parts' digests) read back throughChecksumModeasCOMPOSITE; a mismatch isBadDigest. Contributed by @gaul.
[1.4.20] — 2026-08-19
Added
- RDS —
FailoverDBCluster— forcing an Aurora failover wasInvalidAction; it now promotes a reader to writer (explicitTargetDBInstanceIdentifieror the lowestPromotionTier), reporting the transitionalfailing-overstatus and flippedIsClusterWriterflags. Metadata-only until per-instance replication lands. Contributed by @kiran01bm. - RDS — opt-in Aurora PostgreSQL reader replication — with
MINISTACK_RDS_PG_CLUSTER_REPLICATION=1, extra cluster members run their own PostgreSQL containers, cloned withpg_basebackupand streaming WAL as hot standbys (read-only,ReaderEndpointresolves to a reader). Off by default; Aurora MySQL and the no-flag path keep aliasing the writer's shared container. Contributed by @kiran01bm. - CloudFormation — API Gateway (v1) API keys and usage plans —
AWS::ApiGateway::ApiKey,UsagePlanandUsagePlanKeyfailed withUnsupported resource type; they now provision through the runtime stores withRefandFn::GetAttwired, unblocking CDKRestApi/ApiKeyand Terraformaws_api_gateway_api_key. Contributed by @ryan-bennett. - AWS IoT Jobs — control plane and device data plane —
CreateJobfell through toUnsupported IoT pathandiot-jobs-datadid not exist; theiotservice now serves the nine job operations and a newiot-jobs-dataservice the device ones, sharing one store and the AWS execution state machine. Contributed by @iot-rocket.
Fixed
- S3 — server-side encryption is stated, validated, and enforced — SSE-S3, SSE-KMS and SSE-C headers were accepted and forgotten. SSE is now contract state: validated on write, echoed on HEAD/GET, and enforced for SSE-C (keyless/plain read 400
InvalidRequest, wrong-key read 403AccessDenied), following versions, copies and multipart completes. Contributed by @gaul. - DynamoDB — key attribute types are enforced on
PutItem,Query, andUpdateTable— a key declaredSaccepted anNvalue on write and in a key condition, and an attribute-definitions-onlyUpdateTablechanged a key's type in place; all three now returnValidationException, so no API changes a key's type. Reported by @iot-rocket. - CloudWatch — extended-statistic percentiles are computed instead of aliased to
Average—GetMetricDataand alarm evaluation now interpolatepNNfrom the period's samples on both paths, and a percentile alarm'sStateReasonreports the actual statistic (e.g.p95). Contributed by @MGSousa. - S3 — presigned SigV4 URLs verify for virtual-hosted addressing and temporary credentials — a virtual-hosted URL was rewritten to path-style before its signature was recomputed, and an STS-signed URL was checked against the static secret; verification now runs against the original signed URI and the secret STS issued. Reported by @mayankgupta57.
- Step Functions —
arn:aws:states:::events:putEventsactually publishes the event — the optimized EventBridge integration fell through to the task passthrough, so the state reportedSUCCEEDEDwhile nothing reached any target; it now calls EventBridgePutEventsand returns its response. Reported by @iwasakar. - S3 — SSE-C is enforced and echoed on
UploadPartCopyandCompleteMultipartUpload—UploadPartCopyaccepted a part for an SSE-C upload without the upload's key and read an SSE-C copy source without the source key, and neither echoed the stored encryption;UploadPartCopynow requires both keys (including a?versionId=-qualified source) and echoesSSECustomerAlgorithm/SSECustomerKeyMD5, andCompleteMultipartUploadechoesServerSideEncryption. Contributed by @iot-rocket. - Aurora DSQL —
SELECT ... FOR UPDATEis gated on lock strength, not the predicate — strict mode rejected a locking read unless it was a single table with an equality on every key column (0A000), failing quoted identifiers from every mainstream ORM. Measured against a live cluster,FOR UPDATEnow locks whatever the query selects, whileFOR NO KEY UPDATE/FOR SHARE/FOR KEY SHAREare refused with0A000. Contributed by @vivedo. - Aurora DSQL — quoted identifiers are normalized the way the server stores them —
DROP COLUMN "ID"and mixed-case or schema-qualified table names were mis-resolved; identifiers are now folded as PostgreSQL folds them (bare lower-cased, quoted verbatim) and the relation requoted part by part before lookup. Contributed by @vivedo. - CloudFormation —
AWS::IoT::Policyupdates apply instead of rolling the stack back — the type had no update handler, so an edit hitResourceAlreadyExistsExceptionand rolled back. A changedPolicyDocumentis now a no-interruption update stored as a new default version (pruned to IoT's five-version cap), and a changedPolicyNameis a replacement. Contributed by @maximoosemine. - EC2 — instance public IP and DNS reach the SDKs —
DescribeInstances/RunInstancesemitted the address underpublicIpAddress/publicDnsNamerather than the wire tagsipAddress/dnsName, so every SDK dropped both; they now ride the real tags, and generated addresses complete to four octets. Contributed by @iot-rocket. - S3 — versioning edge cases: the null version, delete markers, and versioned copies — suspended-bucket PUT/DELETE store under the literal
nullversion, pre-versioning objects stay addressable asVersionId=null,DeleteObjectsmints markers (x-amz-delete-marker: trueon the hidden 404), andUploadPartCopy/CopyObjecthonor the source?versionId=. Contributed by @gaul. - S3 —
CompleteMultipartUploadhonorsIf-Match/If-None-Match— conditional writes landed on PutObject but were ignored on the multipart path, so a create-once or compare-and-swap upload could silently overwrite; the complete now evaluates the same preconditions (412 on violation, 404NoSuchKeyforIf-Matchon a missing object). Contributed by @gaul. - S3 — canned ACLs are stored, and object ACLs bind to versions —
PutBucketAcl/CreateBucketdropped thex-amz-aclheader SDKs send, so buckets read back owner-only; both now validate and store the canned grants (InvalidArgument/MalformedACLError/MissingSecurityHeaderas on AWS), and object ACLs are per-version like tags. Contributed by @gaul. - S3 —
CRC64NVMEchecksums are computed instead of refused — the default SDK/CLI checksum algorithm returnedInvalidRequest, so a stockaws s3 cpfailed; it is now computed from a stdlib table (no new dependency), validated on upload (BadDigeston mismatch) and returned on GET/HEAD.CRC32Cstill needs its native library. Contributed by @gaul. - CloudFormation — auto-generated physical names keep their uniqueness suffix when truncated — a deeply-nested stack whose generated name exceeded a resource's name cap truncated every resource to the same string and collapsed them onto one; the hash suffix that guarantees uniqueness is now always preserved. Contributed by @ryan-bennett.
- IAM — role
Descriptioncharset is validated —CreateRole,UpdateRoleandUpdateRoleDescriptionnow reject a description outside IAM's allowed character set or longer than 1000 characters with400 ValidationError. Reported by @iot-rocket. - CloudFormation —
AWS::SSM::Parametergoes through the SSM API — instead of writing the store directly, so a create over an existing name fails (ParameterAlreadyExists), updates incrementVersion, aNamechange replaces,SecureStringis rejected, andFn::GetAttexposesArn/Type/Value. Reported by @iot-rocket. - CloudFormation —
AWS::SSM::Parameter::Value<...>is re-resolved onUpdateStack— the parameter name is kept and re-resolved on every operation, so an update withUsePreviousValue=truepicks up a value changed in Parameter Store since the last deploy. Reported by @iot-rocket. - RDS — Aurora engine versions are validated on non-create writes and global inheritance —
ModifyDBCluster,CreateGlobalCluster, andModifyGlobalClusterstored arbitrary Aurora engine versions that the shared engine catalog did not advertise, andCreateDBClustercould inherit such a version from legacy global-cluster state even though supplying it explicitly was rejected. All four paths now use the create-time shared catalog validator and reject unknown versions withInvalidParameterCombination/Cannot find version {version} for {engine}before mutating state. Contributed by @kiran01bm. - EC2 — instance public IP and DNS reach the SDKs, and generated addresses are addresses —
DescribeInstancesandRunInstancesemitted the public address underpublicIpAddress/publicDnsName, which are not the tags the EC2 wire schema defines (ipAddress/dnsName, per botocore'sec2-2016-11-15model), so every SDK dropped both fields silently andPublicIpAddresscame back absent on instances that had one. They now ride the real tags. Fixing that exposed a second one:_random_ipappended two octets whatever it was given, so a one-octet prefix produced52.55.218—AllocateAddresshas been handing back that shape asPublicIpall along, and no address parser accepts it. The generator now completes any prefix to four octets. Contributed by @iot-rocket. - S3 —
CRC64NVMEchecksums are computed instead of refused — CRC-64/NVME is the algorithm current AWS SDKs and the CLI checksum uploads with by default, and MiniStack answered it withInvalidRequest("requires optional native dependencies"), so a stockaws s3 cporaws s3api put-objectfailed before it began unless the caller knew to setAWS_REQUEST_CHECKSUM_CALCULATION=when_required. The algorithm is plain arithmetic — the reflected form of polynomial0xAD93D23594C93659with all-ones init and xorout — so it is now computed from a byte-at-a-time table in the stdlib, adding no dependency:PutObjectandCopyObjectvalidate a client-suppliedx-amz-checksum-crc64nvme(BadDigeston mismatch) andGetObject/HeadObjectreturn it underx-amz-checksum-mode: ENABLED, typedFULL_OBJECT. The tests pin the implementation to the algorithm's published check value (b"123456789"→0xAE8B14860A799888) and to a bit-at-a-time reference rather than to itself.CRC32Cstill requires the nativegoogle-crc32cand is still refused.
[1.4.19] — 2026-08-16
Added
- IoT Core — device shadows over MQTT — the classic and named device-shadow operations are now served over the broker at the AWS reserved topics. Publishing to
$aws/things/<thing>/shadow[/name/<name>]/{get,update,delete}drives the same shadow store the HTTP data plane uses and replies on the matchingaccepted/rejectedtopics; anupdatealso publishesdelta(whendesiredandreporteddiffer) anddocuments(withprevious/current, delta stripped). Malformed JSON is rejected on the verb'srejectedtopic, and every response echoes the request'sclientToken, as on AWS. Contributed by @iot-rocket. - IoT Core —
sqstopic-rule action — a rule carrying{"sqs": {"queueUrl", "roleArn", "useBase64"}}was stored and then dispatched nothing. The payload now goes through SQS's ownSendMessage, so the queue'sDelaySecondsand size limit apply;useBase64Base64-encodes the body as on AWS; an unresolvable queue fails that action alone and reaches the rule'serrorAction; FIFO destinations are refused, which AWS does not support for this action. Contributed by @iot-rocket. - IoT Core — CA-certificate registry and just-in-time-registration events —
GetRegistrationCode,DeleteRegistrationCode,RegisterCACertificate(setAsActive/allowAutoRegistrationas query parameters),DescribeCACertificate,UpdateCACertificate,ListCACertificatesandDeleteCACertificateare served. Deleting an ACTIVE CA is refused withCertificateStateException(406), a duplicate CA isResourceAlreadyExistsException(409), andRegisterCertificatevalidatescaCertificatePemagainst the registered, actually-signing CA before storing anything, answeringCertificateValidationException(400) otherwise. Registering a device certificate under an ACTIVE auto-registration CA publishes the JITR lifecycle event to$aws/events/certificates/registered/{caCertificateId}. Deleting an ACTIVE device certificate now answers the modeledCertificateStateException(406) instead of a generic 409. Contributed by @iot-rocket. - IoT Core — MQTT 5.0 negotiated per connection — the broker negotiates its wire format from the CONNECT packet's protocol level: a 5.0 client receives property blocks, subscription options and reason codes on CONNACK/SUBACK/PUBACK/UNSUBACK/DISCONNECT, a 3.1.1 client keeps getting the exact bytes it did before, and a message crosses between the two versions. The CONNACK advertises AWS's server capabilities —
Maximum QoS1 (no QoS 2),Maximum Packet Size128 KB,Retain Available, wildcard subscriptions — and features the broker does not implement (topic aliases, shared subscriptions, subscription identifiers) are advertised as unavailable rather than left silent. Contributed by @iot-rocket. - IoT Core —
connectivity.*terms in the fleet index — withthingConnectivityIndexingMode: STATUSin the indexing configuration,SearchIndexanswersconnectivity.connected,connectivity.timestampandconnectivity.disconnectReason, every hit carries theconnectivitygroup, andDescribeIndex's schema reports..._AND_CONNECTIVITY_STATUS.connectedis derived from the live session registry — a thing is connected while a session whose client id equals the thing name is live — so it cannot drift or survive a restart, and the disconnect reason is one ofCLIENT_INITIATED_DISCONNECT,DUPLICATE_CLIENTIDorCONNECTION_LOST(the reasons the broker can distinguish). Contributed by @iot-rocket.
Fixed
- EventBridge — event-pattern matching follows AWS — the matcher was rewritten to AWS's real semantics. A pattern whose only key is
$or, or whose keys are all unrecognized envelope fields, no longer matches every event;$oris expanded with AWS's last-write-wins on a repeated field and its 1000-rule-combination cap;wildcardtreats only*as special, with\escaping and consecutive*refused;existsworks on leaf nodes;resourcesis an OR; andcidr,equals-ignore-case, and case-insensitiveprefix/suffixare evaluated. An unparseable pattern is rejected withInvalidEventPatternExceptionatPutRule,TestEventPattern,CreateArchiveandUpdateArchive. Contributed by @t-rech. - Cognito — federation endpoints are built from the user pool's domain, and
CustomDomainConfigis honored —CreateUserPoolDomainacceptedCustomDomainConfigand discarded it, always expandingDomainto{Domain}.auth.{region}.amazoncognito.com, while the SAML ACS URL and the OIDC federation callback ignored the domain entirely and were built fromMINISTACK_HOST/GATEWAY_PORT. Federated sign-in therefore handed external identity providersredirect_uri=http://localhost:4566/oauth2/idpresponse— an address the browser cannot reach and that Google and other public IdPs reject outright for the scheme alone — so the flow died at the hop to the IdP with no way to correct it.CustomDomainConfignow distinguishes a custom domain (a full FQDN, served as-is and reported asCustomDomainonDescribeUserPool, fronted by a CloudFront distribution) from a prefix domain (a bare label, still expanded to the regional host), and/saml2/idpresponseand/oauth2/idpresponse— including theAssertionConsumerServiceURLin the generated SAMLAuthnRequestand theredirect_urireplayed on the back-channel token exchange — are derived from whichever the pool has, exactly as AWS derives them. Configuring a custom domain is the samecreate-user-pool-domain --custom-domain-config CertificateArn=...call you would make against AWS; the certificate is recorded, not served, since TLS for a custom domain is terminated by whatever fronts it (nginx, an ALB, CloudFront) and proxied to the gateway. A pool holds one domain of each kind independently, aCustomDomainConfigwithout aCertificateArnis aInvalidParameterException, and a pool with no domain still falls back to the local gateway, so existing setups are unchanged. Contributed by @tema-mazy. - DynamoDB — enabling a stream through
UpdateTablesets the stream ARN —UpdateTablewithStreamSpecification.StreamEnabled=truestored the specification but leftLatestStreamArnandLatestStreamLabelunset, soaws_dynamodb_table.stream_arncame back empty in Terraform. Enabling a stream on the disabled→enabled transition now mints the label andarn:aws:dynamodb:<region>:<account>:table/<name>/stream/<label>, exactly asCreateTablealready does, andDescribeStreamresolves the new ARN. Contributed by @nightcityblade. Reported by @wparad. - Lambda — the 250 MB unzipped limit counts function code plus layers — the unzipped-size check was applied to the deployment package on its own, so a function whose code and attached layers exceeded 250 MB together (each under the limit individually) was accepted, unlike AWS.
CreateFunctionandUpdateFunctionCodenow sum the function code and every attached layer, unzipped, and reject a total over 262144000 bytes withInvalidParameterValueException, matching AWS's quota — "the maximum size of the contents of a deployment package, including layers and custom runtimes". Publishing a single oversized layer is still refused on its own. Reported by @iot-rocket.
[1.4.18] — 2026-08-16
Added
- SES v2 — email template CRUD and
SendEmailwithContent.Template— the v2SendEmailhandler read onlyContent.SimpleandContent.Raw, so a templated send was accepted with a200and aMessageIdwhile the template was silently dropped, delivering an empty subject and body.Content.Templateis now rendered through the same{{placeholder}}substitution v1 uses, from a stored template or fromTemplateContentsupplied inline, and a named template that doesn't exist fails the send withNotFoundExceptioninstead of delivering an empty email.CreateEmailTemplate,GetEmailTemplate,UpdateEmailTemplate,DeleteEmailTemplate, andListEmailTemplatesare served at/v2/email/templates[/{TemplateName}]over the shared v1 store, so a template created withaws ses create-templateis sendable throughaws sesv2 send-email.ListEmailTemplatespaginates:PageSizeaccepts the documented 1–100 and defaults to 10, with an opaqueNextTokenreturned only while further templates remain. Contributed by @mikolajk0wal. - IoT Core — fleet indexing —
SearchIndex(POST /indices/search) and the indexing-configuration operations (UpdateIndexingConfiguration/GetIndexingConfiguration/DescribeIndex/ListIndices) were unimplemented. TheAWS_Thingsindex isOFFby default; enabling it withUpdateIndexingConfiguration(as Terraform'saws_iot_indexing_configurationdoes) letsSearchIndexanswerAND-separatedthingName/thingTypeName/thingGroupNames/attributes.*/shadow.desired|reported.*terms —*/?wildcards, numeric shadow compare,maxResults/nextTokenpaging with the documented ceiling of 100 — queried directly against the live registry and classic shadows. Searching whilethingIndexingModeisOFFreturnsResourceNotFoundException, andREGISTRYvsREGISTRY_AND_SHADOWgates the shadow terms. Contributed by @iot-rocket. - IoT Core —
RegisterCertificateWithoutCAand the deprecated principal-policy operations —RegisterCertificateWithoutCA(POST /certificate/register-no-ca) shares theRegisterCertificatestore, returningResourceAlreadyExistsExceptionwithresourceId/resourceArnon a duplicate PEM. The deprecatedAttachPrincipalPolicy/DetachPrincipalPolicy/ListPrincipalPolicies/ListPolicyPrincipalsmap onto the modern policy-target store, with the principal in thex-amzn-iot-principalheader and the policy name inx-amzn-iot-policy. Contributed by @iot-rocket. - RDS — Aurora MySQL compatibility objects — Aurora MySQL provisioning that creates users with
AWSAuthenticationPluginand calls RDS-specific stored procedures failed against upstream MySQL images. MiniStack now builds ABI-matched MySQL 8.0/8.4AWSAuthenticationPluginartifacts (amd64/arm64), installs a reject-all compatibility plugin without changing password authentication, and adds the Aurora/RDS procedures, configuration surface, and predefined S3 roles those workflows expect. The path is automatic for supported MySQL images and can be disabled withMINISTACK_MYSQL_IAM_AUTH=off; the plugin deliberately rejects authentication, so the existing non-enforcement stance is unchanged. Contributed by @Areson.
Fixed
- Request headers — a field repeated across lines is no longer reduced to its last line — the ASGI header dict was built with plain assignment, so when a client sent the same field twice the earlier line was discarded. The AWS SDK for Java v2 uploads exactly that way, emitting
Content-Encoding: gzipandContent-Encoding: aws-chunkedas separate lines: MiniStack saw onlyaws-chunked, stripped it as the chunk-framing marker it is, and stored the object with no content encoding at all — silently losinggzipfor every Java SDK v2 caller, S3Proxy'saws-s3backend among them. Repeated field lines now combine into one comma-joined value as RFC 9110 5.2 requires (Cookierejoins with"; "per RFC 9113 8.2.3), soaws-chunkedis stripped from the joined list and the caller's encoding survives. Sending the header once, in either order, was already correct and is unchanged. Contributed by @gaul. - SES v2 — error responses carry
x-amzn-errortype— restJson1 resolves the error shape from that header, so without it SDKs surfaced a bare HTTP status instead of the modelled exception: boto3 reportedAn error occurred (404)rather thanNotFoundException, and typed handling never matched on any SESv2 operation. The 1.3.24 sweep that added the header centrally inerror_response_jsonreachedsesbut notses_v2, which builds its error bodies itself; it is now set on all of them. Contributed by @mikolajk0wal. - API Gateway — non-proxy (
AWS) Lambda integrations return the handler's raw output —AWSandAWS_PROXYshared one response path, so a custom-integration handler returning a plain document had it read as a{statusCode, headers, body}proxy envelope: astatusCodekey in the data became the HTTP status and the rest was dropped. A non-proxy integration now serializes the return value as the response body with the integration response's status (200 by default); a standard Lambda error is passed through as the body at the default 200 status (as AWS does when noselectionPatternis configured), and an uninvokable or throttled backend is a504integration failure.AWS_PROXYis unchanged. Contributed by @iot-rocket. - IoT — topic-rule
WHEREevaluation, SQL functions, and non-Lambda actions — rules ignored theWHEREclause, so every publish matching the topic filter dispatched, and Lambda was the only action wired up. The rules engine now evaluatesWHEREwith AWS's three-valued (Undefined) logic —=/<>/</>/BETWEEN/IN/LIKE/IS NULL/regexp_matches,AND/OR/NOT, and arithmetic — implements theclientid/encode/isundefined/newuuid/regexp_matches/replace/timestamp/topicfunctions (an unimplemented function resolves to Undefined and warns once), and dispatches therepublish,dynamoDBv2, andsnsactions, running the rule'serrorActionon a delivery failure. Contributed by @iot-rocket. - API Gateway (REST / v1) — Lambda authorizer cache is scoped to the method ARN and stage — the cache stored the allow/deny decision keyed on the identity source alone, so a cached
AllowforGET /alphaalso authorizedGET /beta, and a verdict cached on one stage was served for another. It now caches the authorizer's policy document and re-evaluates it against each request's own method ARN, with the stage and API in the key; malformed authorizer output (missingpolicyDocumentorprincipalId) answers500and is never cached. Contributed by @iot-rocket. - API Gateway (HTTP API / v2) — REQUEST-authorizer cache is scoped to the route ARN — the v2 cache stored the verdict rather than the authorizer's response, so a cached
Allowleaked across routes. It now caches the output (the policy document for an IAM-policy response, theisAuthorizedboolean for a simple response) and re-evaluates the policy against each request's own route ARN, keyed on the identity source values and stage; caching requires at least one identity source and the cache is bounded. Contributed by @iot-rocket. - Lambda — a Docker-executor handler's callbacks resolve on native Linux engines —
AWS_ENDPOINT_URLinside a Lambda container is rewritten tohost.docker.internal, which only resolves on Docker Desktop, so on a native Linux engine every nested SDK call a handler made died on DNS. Lambda containers now maphost.docker.internaltohost-gateway(as the ECS and EKS paths already do); an explicit--add-hoststill wins. Contributed by @iot-rocket. - IoT — MQTT
UNSUBSCRIBEremoves only the topic filters it names — the MQTT-over-WebSocket bridge never read the filter list in the packet and unsubscribed every subscription the session held, so a client unsubscribing from one topic stopped receiving all the others. It now removes only the named filters (matched character-by-character per MQTT 3.1.1 §3.10.4, so a wildcard matches its own text), popping the id from every per-session map so a preservedcleanSession=0session cannot resurrect a removed filter, and a truncated payload unsubscribes what parsed rather than tearing the session down. Contributed by @iot-rocket. - TLS — minted leaf certificates carry an Authority Key Identifier —
sign_leaf_certificateomitted it, and RFC 5280 requires it on every certificate that is not self-issued. Python 3.13 enablesssl.VERIFY_X509_STRICTinssl.create_default_context(), so any client on a current Python rejected what MiniStack minted with "Missing Authority Key Identifier" —CreateKeysAndCertificatecertificates included. Contributed by @iot-rocket. - Lambda (Docker executor) — a failed init or a timed-out handler is reported once, not retried — the RIE invoke loop's single connection-retry arm swallowed two terminal cases that both look like
OSError: a failedINIT(RIE answers502, raised asHTTPError) and a read timeout (bareTimeoutError). A function whose module fails to import re-ranINIT~10×/second up to itsTimeout— a 900-second function pinned the emulator ~15 minutes — and the caller got a generic error instead of the realRuntime.ImportModuleError. Both are now terminal: an init failure returns200withX-Amz-Function-Error: Unhandledand the runtime's own error payload, a timeout answersRuntime.ExitErrorand recycles the container, and only genuine connection failures still retry within a bounded cold-start window. Contributed by @iot-rocket. - Lambda —
RecursiveLoopis enforced —PutFunctionRecursionConfigstored the setting and nothing read it, so a self-invoking function looped unchecked (an async self-invoke returns202, releases its worker, and never throttles). A per-request lineage depth now travels with direct Lambda → Lambda invocations; past ~16 hops the invocation is dropped withRecursiveInvocationExceptionand aRecursiveInvocationsDroppedmetric, unless the function'sRecursiveLoopisAllow. Loops that leave through SQS, SNS or S3 and back are not yet detected. Contributed by @iot-rocket. - Aurora DSQL — index and DDL error parity, including expression index keys — the wire proxy now allows expression index keys on
CREATE INDEX ASYNC(a volatile function is rejected42P17: functions in index expression must be marked IMMUTABLE, an expression in anINCLUDEcolumn0A000) and aligns the surrounding errors with a live cluster: plainCREATE INDEXis always refused (unsupported mode. please use CREATE INDEX ASYNC.),USING/CONCURRENTLY/WHEREreturn DSQL's own messages, 9+ key columns54011, a namelessIF NOT EXISTS42601, and a primary-key column drop reportscannot drop primary key column <name>. Contributed by @ry-allan. - ALB — target responses are streamed instead of buffered — the data plane read a target's entire response before returning, so a streaming or chunked target reached the client only once it had finished producing (measured time-to-first-byte for a 700 KB stream: 11.28s → 0.004s). It now relays the body as the target produces it, keeping the target's framing (
Content-Lengthor chunked) and bounding an established connection by an idle timeout (default 60s) distinct from the 10s connect deadline; a target that dies mid-body surfaces as a truncated response rather than a clean one. Contributed by @uttom-akash. - S3 — GetObject and HeadObject answer the conditional-read headers —
If-Match,If-None-Match,If-Modified-SinceandIf-Unmodified-Sincewere honoured on PutObject, CopyObject and DeleteObject but ignored on the reads, so every conditional read returned200and the whole body: a cache revalidating an unchanged object refetched it in full, and a read guarded against a concurrent overwrite never noticed one. Reads now answer412 PreconditionFailedor304 Not Modified, with the precedence RFC 9110 13.2.2 and the AWS GetObject reference define — an entity tag decides, and its date counterpart applies only in its absence — and a412preempts aRangerather than slicing a representation the caller rejected. The304keeps the validators (ETag,Last-Modified) and drops the headers describing a payload it cannot carry,x-amz-checksum-*included, which boto3 asks for by default and would otherwise try to validate against the empty body. Reported by @gaul.
[1.4.17] — 2026-08-14
Added
- CloudFormation —
AWS::Lambda::LayerVersionPermission— a stack that grants layer access (serverless-python-requirementsallowedAccounts, CDKaddPermission) failed withUnsupported resource typeand rolled back. The type now calls AddLayerVersionPermission,Refreturning<layer version ARN>#<statement id>. Layer policies also gained a realRevisionId(a stale one failsPreconditionFailedException), principal validation, and AWS's root-ARN statement shape. Contributed by @iot-rocket. - CloudWatch Logs —
GetLogGroupFields— returns field names found in recent stored events with a rough presence percent (logGroupFields: [{name, percent}]). HonorslogGroupNameorlogGroupIdentifier, optionaltime(±8 minutes) or the default last 15 minutes, system@*fields, and flattened JSON message keys. Contributed by @ovsteenb. - Step Functions —
aws-sdk:route53service integration — a Step Functions task calling the Route 53 SDK integration (e.g.ChangeResourceRecordSets) was unsupported. It now serializes the request through the rest-xml path and names an aws-sdk error the AWS way,Route53.<Error>Exception. Contributed by @bandle. - Step Functions —
States.Base64Encode/States.Base64Decodeintrinsics — the two intrinsic functions are implemented (UTF-8, the documented 10,000-character input cap, lenient decode padding); an over-cap or non-string argument fails the execution withStates.Runtime. Contributed by @bandle. - CloudFormation —
AWS::IoT::ThingType,AWS::IoT::Policy, andAWS::Cognito::IdentityPoolRoleAttachment— each type failed a stack withUnsupported resource typeand rolled it back; they now provision onto their own service (create/delete), so a stack declaring an IoT thing type or policy, or attaching roles to a Cognito identity pool, deploys cleanly. Reported by @iot-rocket.
Fixed
- API Gateway (HTTP API / v2) — custom Lambda (
REQUEST) authorizers are now invoked and enforced —_handle_execute_in_scopeonly branched onauth_type == "JWT", so a route with aCUSTOMauthorization type (the type a route gets when it references aREQUESTauthorizer) fell through unauthenticated: the authorizer Lambda was never invoked at all, regardless of whether the request carried a valid, invalid, or missing token. Adds a REQUEST-authorizer data-plane path mirroring the REST (v1) fix from 1.4.16 (_authorize_request_v1) — honorsauthorizerPayloadFormatVersion(1.0 IAM-policy-shaped event vs. 2.0),enableSimpleResponses({isAuthorized, context}) vs. IAM policy ({principalId, policyDocument, context}) response formats, andauthorizerResultTtlInSecondscaching — and populatesrequestContext.authorizer.lambdafor the downstream integration. Reported against real-world usage; the earlier REST (v1) authorizer fix covered v1 only. Contributed by @ryan-bennett. - EventBridge — API destination delivery no longer leaks credentials, and caller-supplied outbound values are validated — API destination requests now validate every caller-controlled value before it reaches the wire. (1) Delivery and OAuth token requests no longer follow redirects, preventing credentials from reaching another host;
3xxresponses are non-retryable failures. (2)InvocationEndpointand OAuthAuthorizationEndpointmust be dialablehttp(s)://URLs. The outbound opener also rejects non-HTTP(S) schemes, while loopback/private/link-local hosts remain allowed for the local emulator. (3)HttpMethodandAuthorizationTypeare validated against their API enums. (4)ApiKeyNamecan no longer override reserved headers. (5)DeauthorizeConnectionremoves authorization parameters, and delivery skips connections that are notAUTHORIZED. (6) OAuth token responses are capped at 1 MiB. Contributed by @t-rech. - Lambda — uncaught handler exceptions report
X-Amz-Function-Error: Unhandled— the Docker/RIE executor read the error class off a response header the RIE never sets, so every failure was reportedHandledand API Gateway consumers keying off the 502-for-Unhandled contract never took the error path. Headerless payloads are now classified by shape: the runtime's error serialization reportsUnhandled, an HTTP-style envelope withstatusCodestaysHandled. Contributed by @iot-rocket. - IoT —
CreateThingTypeis idempotent for identical re-creates — re-creating an existing thing type always returnedResourceAlreadyExistsException, so a retried request or a re-run provisioning script failed where AWS succeeds. The samethingTypePropertiesnow return the existing ids — absent,nulland empty compare equal,searchableAttributesis unordered — and only a real mismatch keeps the409, asCreateThingalready did. Contributed by @iot-rocket. - EC2 —
RevokeSecurityGroupIngress/RevokeSecurityGroupEgresshonourSecurityGroupRuleIds— both read onlyIpPermissions, so a revoke by rule id (as Terraform does) returnedReturn=truewhile removing nothing, leaving the rule in place forever. Ids now resolve against the group'ssgr-*rules, which are removed with their tags and echoed inrevokedSecurityGroupRuleSet; one unknown id rejects the whole call withInvalidSecurityGroupRuleId.NotFound. Contributed by @iot-rocket. - Cognito —
/oauth2/userInforeturns custom attributes and the plainusername— the response filtered attributes through a fixed standard-OIDC allowlist, droppingcustom:attributes; it now returns them (as AWS does foropenidandopenid profile), plus the plainusernameclaim alongsidecognito:username, andmiddle_name. Contributed by @rjmackay. - CloudFormation —
AWS::S3::BucketNotificationConfigurationis applied instead of silently dropped — the bucket provisioner read onlyBucketName/VersioningConfiguration, so aNotificationConfiguration(native, or expanded from a SAMEvents: S3trigger) reachedCREATE_COMPLETEwith no binding and S3 → Lambda/SQS/SNS/EventBridge never fired. It is now routed through the same pathPutBucketNotificationConfigurationtakes (create, update, and clear-on-remove), translating the CloudFormation property names to the S3 API's. Reported by @VictorAlejMadrid. - CloudFormation — stack metadata survives a
PERSIST_STATE=1restart — a stop/restore kept every provisioned resource butListStacks/DescribeStacks/ListExportscame back empty, because the stack records, events, exports, and change sets were never persisted. They are now saved and restored with the rest of the state. Reported by @iot-rocket. - S3 —
encoding-type=urlleaves the forward slash intact — key names,CommonPrefixes, and the echoedDelimiterpercent-encoded/as%2F, so a delimiter-collapsed "folder" listing was unreadable;/is now left alone while spaces and+are still encoded, matching S3. Reported by @gaul. - S3 — a delimited listing's
NextMarkeris the common prefix — when a page ended on aCommonPrefixesgroup,NextMarkerpointed at an underlying key rather than the prefix, so a client resuming from it re-walked keys it had already been told about as a prefix.NextMarkeris now the last row returned, and resuming skips the whole group. Reported by @gaul. - S3 —
CopyObjecthonours the copy-source date preconditions —x-amz-copy-source-if-modified-since/-if-unmodified-sincewere ignored (only the ETag conditions applied). Both are now evaluated with AWS's documented precedence (if-matchoverif-unmodified-since,if-none-matchoverif-modified-since), returning412 PreconditionFailedon a mismatch. Reported by @gaul. - S3 — a canned ACL expands to its group grants —
x-amz-aclatPutObject, and a cannedPutObjectAcl, stored only the owner'sFULL_CONTROL, sopublic-readreported no public grant. Canned ACLs now expand to the grants they imply (public-read→ AllUsersREAD,public-read-write→READ+WRITE,authenticated-read→ AuthenticatedUsersREAD), and an invalid canned value is rejected. Reported by @gaul. - S3 — a malformed
Content-MD5isInvalidDigest, notBadDigest— aContent-MD5that was not valid base64 or did not decode to 16 bytes returnedBadDigest, which AWS reserves for a well-formed digest that does not match the body; a malformed value now returnsInvalidDigest. Reported by @gaul. - S3 —
CompleteMultipartUpload'sLocationreflects the request host — theLocationwas built from a hard-codedhttp://localhost:4566, so it was wrong on any other port or host; it now echoes the endpoint the client reached. Reported by @gaul. - S3 —
PutObjectechoes the bucket's default encryption header — afterPutBucketEncryption, aPutObjectreply carried nox-amz-server-side-encryption, so a client could not confirm the object was encrypted as configured; the applied algorithm (AES256, oraws:kmswith its key id) is now stamped on the reply. Reported by @gaul.
Internal
- CI — ruff lint gate — a
LintGitHub Actions workflow runsruff check ministack/on pull requests, merge groups, and pushes tomain/master. Contributed by @iot-rocket. - CI — the MQTT/WebSocket test surface now runs — CI installs
websockets, sotests/test_iot_data.py(broker connect/publish/subscribe, retained messages, QoS 1, LWT) is executed instead ofimportorskip-skipped. Reported by @iot-rocket. - Lint baseline cleared — dropped extraneous f-string prefixes and sorted the
transferimport block soruff check ministack/is clean. Contributed by @iot-rocket. - RDS — instance-creation helpers refactored — extracted the
CreateDBInstanceimplementation and a shared cluster-member status helper; behavior-preserving. Contributed by @Areson.
[1.4.16] — 2026-08-12
Added
- Aurora DSQL emulator — control plane over the REST-JSON API (cluster lifecycle, tags, and cluster policies;
clientTokenidempotency,deletionProtectionEnabled,expectedPolicyVersionconcurrency). WithDSQL_STRICT=1and Docker, each cluster gets a real Postgres container fronted by an in-process wire-protocol proxy enforcing DSQL's SQL subset; otherwise it goesACTIVEmetadata-only. Tunable viaDSQL_BASE_PORT/DSQL_STRICT/DSQL_PERSIST/DSQL_PG_IMAGE. Contributed by @ry-allan.
Fixed
- CloudFormation — resources unchanged by a stack update are left alone — an unchanged resource was reprocessed on every update, and a type with no update handler fell back to create with a fresh random name, orphaning the real resource (and any
Ref/Fn::GetAttto it). Unchanged resources are now skipped, and auto-generated names are a deterministic hash of (stack name, logical id). Also fixes theAWS::Events::EventBus"already exists" update failure. Contributed by @ryan-bennett. - CloudFormation —
AWS::ApiGatewayV2::Authorizersurvives a property update — with no update handler, changing a property fell back to create and minted a second, orphaned authorizer; an update handler now mutates the existing record in place. Contributed by @ryan-bennett. - CloudFormation —
AWS::SSM::Parameter::Value<...>parameters resolve against SSM — the SSM parameter name was passed straight through, soRefreturned the name instead of the stored value; it's now resolved against Parameter Store (a missing name fails the stack withValidationError). Contributed by @ryan-bennett. - CloudFormation — a
DELETE_COMPLETEstack's name can be re-created — a deleted stack stayed addressable by name, sodeploytook the update path ("cannot be updated") instead of re-creating. A deleted stack is now addressable only by its stack ID; describe/update/change-set by name report "does not exist", so the name re-deploys as a fresh stack. Reported by @iot-rocket. - S3 — versioned objects retain their custom metadata — the per-version record dropped
x-amz-meta-*, preserved headers, and content-encoding, and versionedGetObject/HeadObjectbypassed the metadata emitter; each version now stores and returns its own metadata. Reported by @Kaphaalor. - S3 —
GetBucketLocationreturns the bucket's stored region — the location was compared against the configurable default region (so a non-us-east-1default blanked it) and buckets created without aLocationConstraintstored no region; a bucket now records its signing region andGetBucketLocationechoes it, returning empty only forus-east-1. Contributed by @iot-rocket. - API Gateway (REST) — custom Lambda authorizers are invoked on the request path — a
CUSTOMmethod never called its authorizer.TOKEN/REQUESTauthorizers now run on the data path:401on a missing identity source,403onDeny/no-match,authorizerResultTtlInSecondscaching, andcontext(stringified) plusprincipalIdinjected intorequestContext.authorizer.AWS_IAMmethods require anAuthorizationheader (403); SigV4 is not verified. Reported by @iot-rocket. - API Gateway (REST) — an unsupported resource or method returns
403— an unmatched path returned404and a matched resource with no method returned405; both now return403 Missing Authentication Token(a methodless resource does not fall through to a{proxy+}sibling). Reported by @iot-rocket. - Route 53 — a change is born
PENDINGthen flips toINSYNC— every change was createdINSYNC, soGetChangenever returnedPENDING; changes are nowPENDINGand flip toINSYNCon the firstGetChangeread. Reported by @jayjanssen.
[1.4.15] — 2026-08-10
Added
- RDS —
ManageMasterUserPasswordwires Aurora clusters to Secrets Manager —CreateDBCluster(ManageMasterUserPassword=true)previously ignored the flag: no secret was created, noMasterUserSecretwas returned, and code paths that resolve database credentials from Secrets Manager (the common production pattern) could not be rehearsed locally. The flag now generates a random master password, stores it in MiniStack's own Secrets Manager as{"username", "password"}under the AWS naming convention (rds!cluster-<uuid>), and returnsMasterUserSecret(SecretArn,SecretStatus,KmsKeyId) from create/describe/modify.ModifyDBCluster(RotateMasterUserPassword=true, ApplyImmediately=true)rotates the real database login through the same path as an explicit password change — including the pending-rotation behavior for stopped compute — and promotes the new credentials toAWSCURRENT(previous ones stay readable asAWSPREVIOUS); a rotation whose managed secret was deleted out from under RDS fails withInvalidDBClusterStateFaultand flipsSecretStatustoimpaired, as on AWS.DeleteDBClusterdeletes the managed secret with the cluster (and only when the delete actually succeeds). AWS-exact rejections:ManageMasterUserPassword+ explicitMasterUserPasswordat create, explicit password against a managed cluster,RotateMasterUserPasswordwithout a managed secret or withoutApplyImmediately, and explicit password + rotate flag in one request — validated before anything mutates. The RDS↔Secrets Manager seam is in-process and one-directional (rds → secretsmanager), reusing the emulator's existing stage-promotion and replica-sync internals. Contributed by @kiran01bm. - EventBridge — API destination targets are now invoked over HTTP on
PutEvents— API destinations and connections were control-plane stubs: a matching rule with an api-destination target logged "unsupported event target ARN" and dropped the event, so webhook-style pipelines (EventBridge → HTTPS endpoint) could not be tested locally. Matching events now POST (or the destination's configured method) to theInvocationEndpointwith the input-selected payload (Input/InputPath/InputTransformerapply as for other targets). Connection authorization is honored:BASICpopulatesAuthorization: Basic …,API_KEYsends the configured header, andOAUTH_CLIENT_CREDENTIALSexchanges the client ID/secret at the authorization endpoint (OAuthHttpParametersmerged in,grant_type=client_credentialsdefaulted), caches the token per connection and invalidates it when the connection is deleted, re-authorized, or deauthorized (a connection recreated under a reused name never inherits its predecessor's token), refreshes proactively when it expires within 60 seconds, and refreshes + retries once on a401/407response — matching documented AWS behavior. ConnectionInvocationHttpParametersand targetHttpParametersare merged with connection values taking precedence (per theHttpParametersAPI reference),PathParameterValuespopulate*path wildcards, and body parameters fold into JSON-object bodies. Requests carry the AWS default headers (User-Agent: Amazon/EventBridge/ApiDestinationsandRangenon-overridable,Content-Typedefaulting toapplication/json; charset=utf-8), strip the headers real EventBridge removes, and time out after 5 seconds (the documented maximum client execution timeout). Delivery runs on a background thread mirroring the SNS HTTP(S) path. Not modeled, mirroring the cross-region FailedInvocations policy: the 24h/185-attempt retry pipeline,Retry-After, DLQs, andInvocationRateLimitPerSecond— retryable statuses (401,407,409,429,5xx) are logged and dropped. Contributed by @t-rech. - KMS — HMAC keys,
GenerateMac, andVerifyMac— the four HMAC key specs (HMAC_224/HMAC_256/HMAC_384/HMAC_512) withKeyUsage=GENERATE_VERIFY_MAC, RFC 2104 HMAC generation and constant-time verification (KMSInvalidMacExceptionon mismatch),MacAlgorithmsin the key metadata, andDryRun. HMAC keys are rejected byEncrypt/Decrypt/Sign/Verify/GenerateDataKey*, and automatic key rotation follows AWS:EnableKeyRotationandDisableKeyRotationreject them withUnsupportedOperationException, whileGetKeyRotationStatussucceeds and reportsKeyRotationEnabled: false. Contributed by @nafdev. - Lambda —
LAMBDA_KEEPALIVE_MS=0forces a per-invocation cold start — a LocalStack-compat lever (not an AWS behavior): for Docker RIE runtimes (Ruby/Java/.NET),LAMBDA_KEEPALIVE_MS=0tears the warm container down after each invocation so the next invoke re-runs INIT, giving deterministic cold-start isolation for test suites. Unset or any non-zero value keeps the warm-pool behavior. Reported by @mayankgupta57.
Fixed
- Cognito — PreTokenGeneration's
event.requestnow carriesclientMetadataon the operations that actually forward it —_build_pretoken_eventnever included the key at all, so a Lambda readingevent.request.clientMetadataalways saw it as empty. Per the real AWS Cognito Developer Guide, that field is populated only fromRespondToAuthChallenge/AdminRespondToAuthChallenge'sClientMetadataparameter and, for M2M client-credentials tokens, theaws_client_metadataPOST field on the token endpoint — Cognito explicitly excludesInitiateAuth/AdminInitiateAuth(including theirREFRESH_TOKEN_AUTHflows) andGetTokensFromRefreshTokenfrom this. Both are now threaded through correctly. Contributed by @ryan-bennett. - S3 — POST Object no longer misreads form fields as the object body — a multipart part was classified as the object content when its name was
fileor it carried afilenameattribute, but browsers and HTTP libraries (Pythonrequests'files=) setfilenameon ordinary form fields, so every field looked like the body, nokeyfield survived, and the upload was rejected withInvalidArgument. Only the field literally namedfileis the body now, matching S3. Reported by @gaul. - S3 —
GetObjectwithpartNumberreturns the requested part — thepartNumberparameter was dropped, so a client fetching an N-part object in parallel received N full copies. A completed multipart object now returns the requested part as206 Partial Contentwith aContent-Rangeandx-amz-mp-parts-count, matching S3. Reported by @gaul. - S3 —
ListObjectVersionsreturns continuation markers when truncated — a truncated response setIsTruncated=truebut emitted neitherNextKeyMarkernorNextVersionIdMarker, and the incomingversion-id-markerwas ignored, so a paginating client looped on page one or (as boto3 does) rejectedKeyMarker=None. The markers are now emitted andversion-id-markerresumes withinkey-marker. Reported by @gaul. - S3 —
CompleteMultipartUploadreturns400 MalformedXMLfor an unparseable body — an empty or malformed body raised an unguardedParseErrorthat escaped as a500with a JSON document no S3 SDK can parse, so clients treated it as a transient fault and retried. It now returns400 MalformedXML, as XML. Reported by @gaul. - S3 —
CompleteMultipartUploadis idempotent — the upload record was dropped on the first call, so a retry (how a client recovers from a lost response) returnedNoSuchUpload. The completed response is now retained and replayed for a repeat call with the same upload id, without minting a second object version, matching S3. Reported by @gaul. - S3 — object owner id is consistent between listings and ACLs —
ListBuckets/ListObjects/ListObjectVersions/ListPartshard-coded the owner idowner-idwhileGetObjectAcl/GetBucketAclused the account id, so a client matching an object's owner against an ACL grantee always got a mismatch. All of them now use the account id. Reported by @gaul. - S3 — presigned URLs are rejected once expired —
X-Amz-Date+X-Amz-Expireswere never compared against the current time, so a URL minted with a one-second lifetime served the object indefinitely. An expired presigned URL now returns403 AccessDenied(Request has expired), matching S3. Reported by @gaul. - S3 — conditional deletes honour
If-Match—DeleteObjectignored theIf-Matchheader andDeleteObjectsignored a per-objectETag, so a delete carrying a stale ETag removed the object anyway (and the batch reported it underDeleted).DeleteObjectnow returns412 PreconditionFailedon an ETag mismatch, andDeleteObjectsreports the key underError(PreconditionFailed) instead of deleting it, matching S3's compare-and-swap delete. Reported by @gaul. - CloudWatch Logs — ARN-based tag operations resolve vended-delivery resources —
TagResource,UntagResource, andListTagsForResourceonly resolved log-group ARNs, so the AWS provider's read-after-create onaws_cloudwatch_log_delivery_source/aws_cloudwatch_log_delivery_destination/aws_cloudwatch_log_deliveryfailed withResourceNotFoundExceptionand broketerraform applyof any stack using EventBridge bus logging (the community EventBridge module ≥ v4.1 provisions the trio). All three operations now resolve the delivery records' tags. Contributed by @t-rech. - Route 53 —
ChangeResourceRecordSetsDELETEnow requires the values provided to match the current values — aDELETEmatched only on name, type, and set identifier, so a delete carrying a stale TTL or stale record values silently removed the live record. Real Route 53 requires the values in aDELETEto match the current record exactly and rejects the whole batch withInvalidChangeBatchotherwise — the compare-and-swap semantics that guarded-delete workflows (delete only if the record still holds the values I last observed) rely on to detect concurrent modification, which the emulator's silent success defeated. A mismatchedDELETEnow fails the batch atomically with the AWS-shaped message (Tried to delete resource record set [name='…', type='…'] but the values provided do not match the current values); record values are compared as an unordered set, so the same values in a different order still match. Contributed by @jayjanssen. - S3 —
CopyObjectandHeadObjecthonour the sourceversionId— a?versionId=on the copy source (and onHeadObject) was discarded, so both operated on the current object instead of the requested version.CopyObjectnow copies the exact version and echoesx-amz-copy-source-version-id,HeadObjectreturns that version's metadata, and a non-existent version is rejected withNoSuchVersion. Reported by @Kaphaalor. - SQS — FIFO deduplication holds for the full 5-minute window — the dedup entry was cleared when a message was deleted (including the Lambda event-source-mapping consume path), so a duplicate sent seconds after the original was consumed was delivered again. A
MessageDeduplicationIdis now retained for its full 5-minute window from send time regardless of receive/delete, matching AWS FIFO semantics. Reported by @giannimassi. - S3 —
NewerNoncurrentVersionssurvives the lifecycle configuration round-trip —NoncurrentVersionExpirationandNoncurrentVersionTransitiondroppedNewerNoncurrentVersionson thePUT/GETround-trip, so terraform-provider-aws never converged andterraform applyof a lifecycle configuration timed out. The field is now emitted and parsed on both rules. Contributed by @sac-outsystems. - Step Functions — aws-sdk integration preserves query-protocol singleton lists — the query-XML to JSON converter collapsed a known list wrapper with an irregular item name (e.g.
VpcSecurityGroupstoVpcSecurityGroupMembership) into an object when it held a single item, so SDK consumers expecting a stable list shape broke. Known wrappers now decode to a list for zero, one, or multiple items. Contributed by @Areson. - CodeBuild — a timed-out build reports
TIMED_OUT— a build stopped bytimeoutInMinuteswas labelledFAILEDinstead ofTIMED_OUT, soBatchGetBuildscould not distinguish a timeout from a genuine build failure. It now reports theTIMED_OUTbuild status, matching AWS. - RDS Data API — requests that AWS rejects no longer succeed through permissive fallbacks — the Data API accepted calls that real AWS refuses, so a local integration passed where the equivalent AWS request would fail. A cluster whose HTTP endpoint is not enabled now returns
HttpEndpointNotEnabledException(SQL runs only afterEnableHttpEndpoint); a secret that is absent, scheduled for deletion, or missing a password returnsSecretsErrorException/InvalidSecretException, and this validation now applies in stub mode too.CommitTransaction/RollbackTransactionnow requireresourceArnandsecretArn(AWS marks both required), and a transaction is bound to its originating cluster: a mismatched or unknown transaction returnsTransactionNotFoundException(404) fromExecuteStatement/BatchExecuteStatementandNotFoundException(404) fromCommitTransaction/RollbackTransaction, matching AWS's per-operation error model. Statement timeouts surface asStatementTimeoutExceptionand unmodeled stub-mode SQL asBadRequestExceptioninstead of a fabricated success. Contributed by @Areson.
[1.4.14] — 2026-08-07
Added
- CodeBuild - builds can really run (
MINISTACK_CODEBUILD_EXECUTE=1) -StartBuildreturned a build that was alreadySUCCEEDED, so a pipeline rehearsed against MiniStack reported a pass without a single phase having run, and a buildspec that fails on AWS still looked green locally. With the flag set,StartBuildreturnsIN_PROGRESSand the project's inline buildspec is handed to the official AWS CodeBuild local agent (public.ecr.aws/codebuild/local-builds), which runs the phases in the project'senvironment.imagethe way CodeBuild does - the phase semantics come from AWS's own agent instead of a reimplemented executor.BatchGetBuildsreflects progress while the build runs: the agent'sPhase complete: <PHASE> State: <STATUS>lines becomephasesentries, and the container's exit status maps toSUCCEEDED/FAILED, withFAULTwhen Docker is unreachable.environment.environmentVariables,privilegedMode, and theCODEBUILD_BUILD_ID/_ARN/_NUMBER/_INITIATORvariables reach the build. The build reaches back into MiniStack:AWS_ENDPOINT_URL(plus placeholder credentials) is injected unless the project declares its own, soaws s3 cpinside a build hits this emulator rather than real AWS.timeoutInMinutesis enforced (the build is stopped and its phase reportedTIMED_OUT), and a restored build that was in flight when MiniStack stopped is reportedFAULTrather than polling as running forever.StopBuildis honoured deterministically: it records the intent before removing the container, so the worker reports the requestedSTOPPEDinstead of racing it toFAULT. Build output also reaches CloudWatch Logs: the record already advertisedlogs.groupName/logs.streamName, and an executed build now writes the agent output there, soaws logs get-log-eventsandaws logs tailread back a real build log instead of an empty stream. Default behaviour is unchanged - without the flag builds stay metadata-only. Requires the Docker socket; the agent image and workspace path are fixed internals, not configurable. Contributed by @igorgawrys1. - EventBridge Pipes — the SDK data plane is now reachable — Pipes was fully built (pipe store, background poller, region scoping, persistence, CloudFormation provisioner) but had no REST route, so
aws pipes list-pipesfell through to S3 virtual-host addressing and returnedNoSuchBucket.ListPipes,CreatePipe,DescribePipe,UpdatePipe,DeletePipe,StartPipe,StopPipe, and the tag operations are now served over boto3 / Terraform / CDK atpipes.<region>and/v1/pipes, reusing the existing store. - AWS Config — control plane for config rules, configuration recorders, and delivery channels:
PutConfigRule/DescribeConfigRules/DeleteConfigRule, recorder and delivery-channel CRUD plus their status reads,StartConfigurationRecorder/StopConfigurationRecorder, and the compliance and evaluation-status reads. - Cloud Control API (
cloudcontrol) — the generic resource control plane behind Terraform'sawsccprovider and CDK L1 constructs:CreateResource/GetResource/UpdateResource/DeleteResource/ListResourcesplus the resource-request status and cancel operations, with the AWSProgressEventandResourceDescriptionshapes (Propertiesas a JSON string). - Cognito — choice-based sign-in in the Hosted UI (
ALLOW_USER_AUTH) — the Hosted UI served a single password form regardless of the user pool's sign-in policy. A client whoseExplicitAuthFlowsincludesALLOW_USER_AUTHnow drives a multi-step choice-based flow driven byPolicies.SignInPolicy.AllowedFirstAuthFactors: username, then a challenge-selection screen (skipped when only one factor is allowed), thenPASSWORDorEMAIL_OTPentry, ending in the standard authorization-code redirect.EMAIL_OTPcodes are fixed at123456(consistent with the existing confirmation/reset codes) but verified against the session;WEB_AUTHNandSMS_OTPare out of scope. Clients withoutALLOW_USER_AUTHkeep the single-page form unchanged. Contributed by @kjdev. - KMS —
UpdateKeyDescription— the action was not registered, so every call returnedInvalidAction: Unknown action(HTTP 400) and terraform-provider-aws failed the whole update whenever anaws_kms_keydescription drifted. It now resolves the key by id or ARN, updates the description (an explicit empty string clears it, as on AWS), returns an empty body on success, andNotFoundExceptionfor an unknown key. Contributed by @sac-outsystems.
Fixed
- SNS —
$oroperator in subscription filter policies — a filter policy with a top-level$orkey was matched with plain AND semantics, so$ornever matched and every message was silently dropped as non-matching.$oris now evaluated the way AWS does: a recognized$or(an array of at least two objects whose field names are not reserved rule keywords) matches when any of its member policies matches, sibling keys are AND-ed with it, member keys are AND-ed internally, and nested$oris supported; an unrecognized$oris treated as a literal attribute name, as on AWS. Applies to theMessageAttributesfilter scope. Reported by @StiliyanDr. - CloudWatch —
GetMetricDatahonoursMetricStatdimensions —GetMetricDataresolved a query by namespace and metric name alone, ignoringMetricStat.Metric.Dimensions, so it aggregated across every dimension set and even returned data for a dimension value that was never published. Each(namespace, name, dimension-set)is a distinct metric;GetMetricDatanow filters by the query's exact dimensions, matching whatGetMetricStatisticsandListMetricsalready do. Reported by @boesing. - RDS —
StopDBCluster/StartDBClusternow stop and start Aurora compute — both operations only flipped metadata: a "stopped" cluster's backing container kept running and accepting SQL connections, and its members never leftavailable.StopDBClusternow stops the cluster's shared container — preserving the container, volume, and data, exactly like Aurora keeps the cluster volume — and marks the cluster and every memberstopped.StartDBClusterrestarts the preserved container (recreating compute from the persistent named volume when the container is gone or unrestartable) and, likeCreateDBInstance, returns immediately with a transitional status while a readiness worker flips the cluster and members toavailableonce the database accepts authenticated connections. Invalid transitions return the AWS-exactInvalidDBClusterStateFaultmessages — includingCreateDBInstance/DeleteDBInstanceagainst a stopped cluster — and a warm boot keeps an intentionally stopped cluster stopped instead of reviving its compute. A start whose compute genuinely fails to come back lands the cluster back onstopped(retryable) instead of reporting a dead endpoint asavailable, and a stop that cannot stop the container surfaces an error instead of publishing a falsestopped. Contributed by @kiran01bm. - RDS — Aurora PostgreSQL engine versions are validated at create time —
CreateDBCluster/CreateDBInstanceaccepted anyEngineVersionstring foraurora-postgresql: because the Docker image is derived from the major alone, a bogus minor like16.99silently ran PostgreSQL 16 while claiming to be16.99, and only an unknown major produced a visible image-pull failure. An unknown version — anythingDescribeDBEngineVersionsdoesn't advertise and that isn't a dot-boundary prefix of an advertised version (bare majors like16stay accepted, since real AWS resolves them server-side) — now fails immediately withInvalidParameterCombination/Cannot find version {version} for aurora-postgresql, matching real AWS and the existing aurora-mysql behavior;DescribeOrderableDBInstanceOptionsrejects unknown versions the same way instead of echoing a fabricated option. The advertised catalog is refreshed to the full creatable set real AWS returns (41 versions, 11.9 through 18.4, including-limitlessvariants, as of 2026-08-06) and is a single shared constant used by both the catalog and the validator; the defaultaurora-postgresqlversion is now17.7(AWS's current default) and the CloudFormationAWS::RDS::DBClusterprovisioner uses that shared default instead of a hard-coded15.4. Contributed by @kiran01bm. - RDS — duplicate DB instance wire code matches AWS — a duplicate
CreateDBInstance,CreateDBInstanceReadReplica, orRestoreDBInstanceFromDBSnapshottarget returned wire codeDBInstanceAlreadyExistsFault, but real AWS omits theFaultsuffix for instance-level error codes (cluster-level codes such asDBClusterAlreadyExistsFaultkeep it). SDKs match the exact string to produce their typed error — aws-sdk-go-v2, for example, deserialized the response as a generic API error instead of the typedDBInstanceAlreadyExistsFault. The wire code is nowDBInstanceAlreadyExists. This deliberately reverts the v1.1.18 change, which mistook the SDK exception shape name for the wire code — the model'serror.codefield (DBInstanceAlreadyExists) is what SDKs match, and exact-string tests now pin the correct direction. Contributed by @kiran01bm. - Query-protocol services MiniStack does not implement now return a parseable error — a call to an unimplemented Query service (
redshift,elasticbeanstalk,cloudsearch,sdb,importexport) fell through to S3 and returned a 405<Error>root that botocore's query parser can't read, raising a bareKeyError('Error')instead of aClientError. Such requests now return a Query<ErrorResponse>envelope (<Type>Sender</Type>, codeInvalidAction) at HTTP 400. - AWS Backup, CloudFront, Inspector2, and MediaConnect — unrouted read operations — services MiniStack ships whose REST sub-paths returned
Unknown path, so an SDK call reached the service and got an error where AWS returns data. Roughly 96 read operations across the four now return AWS-shaped responses (Backup 47, Inspector2 22, CloudFront 14, MediaConnect 13); operations that require a resource store MiniStack does not keep were left unrouted rather than given a fabricated shape. - CloudFormation —
AWS::KMS::KeyhonoursKeySpecand update semantics — the provisioner hard-codedSYMMETRIC_DEFAULTand droppedKeyPolicy,Tags,Enabled, andEnableKeyRotation, so a template asking for an asymmetric or otherwise-specced key reachedCREATE_COMPLETEwhileDescribeKeyreported a symmetric key, and had no update handler (a changed resource minted a brand-new key). It now delegates toCreateKeyso the CFN and API paths agree, translatesKeyPolicy/Tags, appliesEnabled/EnableKeyRotation/RotationPeriodInDays, adds an update handler that fails the immutableKeySpec/KeyUsage/Origin/MultiRegionproperties and applies the mutable ones in place, schedules deletion (withDeletionDate) instead of dropping the key, and fails the stack on an unimplemented spec rather than silently substituting a symmetric key.RSA_3072is now creatable viaCreateKey. Contributed by @hiddengearz. - CloudWatch Logs — Insights
toMillis(@timestamp)filters andGetQueryResultspagination — the Insights subset ignoredfilter toMillis(@timestamp) <=|>=|<|>|=|!= <epoch_ms>, so sort+limit alone returned the wrong edge of the stream, andGetQueryResultsreturned the full result set regardless ofmaxItems.toMillis(@timestamp)comparisons are now honoured, andGetQueryResultspages withmaxItems/nextToken. Contributed by @ovsteenb. - EC2 —
AuthorizeSecurityGroupIngress/AuthorizeSecurityGroupEgressecho the existing rule on a duplicate — both operations skip a rule that already exists (idempotency) but also dropped it from the response, returning an emptysecurityGroupRuleSet; terraform-provider-aws readsSecurityGroupRules[0]with no length check and panics. The already-present rule is still not re-appended, but it is now echoed insecurityGroupRuleSetwith the same idDescribeSecurityGroupRulesreports. This hits egress on the first apply, whereCreateSecurityGroupseeds the default allow-all rule that Terraform then re-declares. Contributed by @sac-outsystems.
[1.4.13] — 2026-08-06
Fixed
- Docker image — restored to its prior size — the unpinned
awsclibuild dependency floated to 1.46.0, which vendors its own copy ofbotocoreands3transfer(~120 MB uncompressed) on top of thebotocorealready installed, inflating the 1.4.12 image by roughly 15 MB.awscliis now pinned to 1.45.63 — the last release before the vendoredbotocore— returning the image to its 1.4.11 size.
[1.4.12] — 2026-08-06
Added
- CloudWatch Logs —
GetLogRecord, Insights@ptrrows, andStartLiveTail—StartQuery/GetQueryResultspreviously stubbed empty results, so there was no way to obtain an Insights@ptror round-tripGetLogRecord.PutLogEventsnow assigns an opaque pointer per event; Insights queries return matching rows in the AWS field/value shape (@ptr,@timestamp,@message,@logStream,@log); andGetLogRecordresolves those pointers to the full transformed field map (unmaskaccepted, masking not implemented). Insights evaluates a CWLI subset:fields, chained| filter(@field = '…',@field like /regex/[i]with AND semantics),| sort @timestamp asc|desc, and| limitapplied after filter+sort asmin(query limit, StartQuery limit).StartLiveTailholds a wire-validapplication/vnd.amazon.eventstreamopen until client disconnect (initial-response, thensessionStart, thensessionUpdateframes fed by matching concurrentPutLogEvents); idle heartbeats are once per second and at most 10 updates are buffered (oldest dropped,sampledset).FilterLogEventsnow returns theeventIdreal AWS assigns, whileGetLogEventskeeps its{timestamp, message, ingestionTime}shape.DescribeLogGroupsreturns botharn(with trailing:*) andlogGroupArn(StartLiveTail-safe, no star). Full CWLI (stats,parse,or, …) remains out of scope. Contributed by @ovsteenb. - Lambda —
PutFunctionRecursionConfig/GetFunctionRecursionConfig— the recursion-config sub-resource used by Terraform'saws_lambda_function_recursion_configwas unrouted, soGET/PUT /2024-08-31/functions/{name}/recursion-configfell through to aResourceNotFoundException. Both operations are now served:RecursiveLoopdefaults toTerminate, acceptsAllow/Terminate, round-trips per function, and returnsResourceNotFoundExceptionfor an unknown function. Reported by @mayankgupta57. - API Gateway v2 — state is now account- and region-scoped — HTTP and WebSocket APIs, routes, integrations, stages, deployments, authorizers, responses, and tags were account-scoped, so control-plane resources and execute-api resolution bled across regions. They now scope by account and region, with execute-api dispatch pinning each request to its owning API's region. Contributed by @Areson.
Fixed
- S3 — lifecycle
Andfilters no longer hang the Terraform waiter — aaws_s3_bucket_lifecycle_configurationrule using anAndfilter (prefix + tags) never converged, timing out the provider's 3-minute waiter. The AWS provider expands theAndoperator withObjectSizeGreaterThan = 0(and, for a prefixlessAnd,Prefix = ""), whichGetBucketLifecycleConfigurationomitted, so the provider'sreflect.DeepEqualequality check never matched. TheAndoperator now echoesObjectSizeGreaterThan(0 when unset) and an emptyPrefixwhen unset, and explicit object-size filters round-trip at both the filter andAndlevel. Reported by @rogercost. - DynamoDB —
Scan/QuerywithProjectionExpressionand noSelect— a scan or query supplying onlyProjectionExpressionwas rejected withSelect value ALL_ATTRIBUTES is not compatible with ProjectionExpression. Per the AWS API aProjectionExpressionwithoutSelectis equivalent toSPECIFIC_ATTRIBUTES; the effective default is nowSPECIFIC_ATTRIBUTESwhenever a projection is present, while an explicit incompatibleSelect(ALL_ATTRIBUTES,COUNT, …) with aProjectionExpressionis still rejected. Reported by @jin-gizmo. - DynamoDB Streams — long-lived containers no longer accumulate stream backlog — shard records grew without bound and event-source-mapping poll state was never released, so memory and read latency degraded over a container's lifetime. Stream records now expire after 24 hours and per-mapping poll state is released, with reads resuming from the trim horizon after expiry. Contributed by @maximoosemine.
- RDS — DB subnet group and security-group fidelity — subnet groups did not resolve their VPC or availability zones and
VpcSecurityGroupIdswere dropped on cluster writes. Subnet groups now resolveVpcIdand AZs from the referenced EC2 subnets and returnInvalidSubnetfor an unknown subnet, andVpcSecurityGroupIdsonCreateDBCluster/ModifyDBClusterare preserved rather than mangled by the Query serializer. Contributed by @Areson. - EC2 —
DescribeVolumesnow evaluatesFilters— the operation ignoredFiltersand returned every volume; it now matches onvolume-id,size,status,volume-type,availability-zone,snapshot-id,create-time,encrypted,multi-attach-enabled,attachment.*, andtag:/tag-key. Contributed by @bandle. - EC2 —
DescribeSubnetsnow evaluates thecidr-blockfilter — thecidr-block/cidr/cidrBlockaliases were ignored; they now match a subnet'sCidrBlockexactly. Contributed by @bandle. - EC2 —
DescribeInternetGatewaysnow evaluatesFilters— the operation parsed onlyInternetGatewayIdand ignoredFilters, returning every gateway in the account; filters are now applied. Contributed by @bandle. - Step Functions — Map
Parametersapplied per item only — a Map state appliedParametersto the state input and then reused it as the per-item selector.Parametersis the legacy spelling ofItemSelector, so it is now applied only per item. Contributed by @bandle. - Step Functions — EC2
aws-sdkparameter names no longer over-expanded — acronym expansion (needed for RDS, e.g.DbClusterIdentifier→DBClusterIdentifier) was wrongly applied to EC2, mangling already-correct names such asVpcIdandEnableDnsHostnames. EC2aws-sdkparameter names now pass through unchanged. Contributed by @bandle. - Lambda — SDK client stub lookup normalized — JSON-RPC SDK client stubs are now keyed by exact full module specifier (including the
eventsandlogsaliases), preserving bundled-module precedence and the actionable local-executor error for a missing stub. Contributed by @roshie548. - Lambda — durable execution restore scoping — the durable-execution restore path rebuilt timers and callback indexes only for the ambient account, so executions in non-default accounts could stall and non-boot-region executions could re-arm under the wrong region after a restart. Restore now rebuilds across every persisted account scope and derives each execution's account and region from its
DurableExecutionArn. Contributed by @Areson.
[1.4.11] — 2026-08-04
Added
- Lambda — Function URL data plane —
CreateFunctionUrlConfigreturned a{urlId}.lambda-url.{region}.on.awsURL that nothing served: a request addressed to it matched no route, fell through to S3 virtual-host addressing, and came back asNoSuchBucket. Function URLs are now invocable. A request reaching the gateway on a{urlId}.lambda-url.{region}.*host — or on the path-based/_aws/lambda-url/{urlId}/...form, for clients that can't setHostand browsers that won't resolve*.localhost— resolves the URL id to its function and invokes it with a payload-format-2.0 event carrying$defaultforrouteKeyandstage,rawPath/rawQueryStringpercent-encoded as AWS sends them, andbody/queryStringParametersomitted rather than null.AuthTypeis enforced (AWS_IAMreturns403 Forbiddento an unsigned request, header-signed and presigned both pass;NONEis open), theCorsconfig drives preflight and response headers with a non-allowed origin getting none, andInvokeMode: RESPONSE_STREAMresponses are unwrapped from theHttpResponseStreamframing so the prelude supplies the status and headers instead of leaking into the body. Cookies returned via the format-2.0cookiesarray becomeSet-Cookieheaders. Contributed by @liammizrahi. - API Gateway v1 — state is now account- and region-scoped — REST APIs, resources, methods, integrations, deployments, stages, models, API keys, and usage plans were stored globally and leaked across account and region boundaries. They now scope by account and region; execute-api dispatch resolves a REST API's owning region by id (the mock execute-api host carries no region segment) and runs the invocation in that scope, and a caller-supplied
ms-custom-idstays unique across the account's regions. Persisted state carries the on-disk format v3 an older binary refuses rather than misreads; legacy snapshots restore into each API's region and v1 tags remain account-scoped. Contributed by @Areson. - CloudWatch Logs — Insights queries are now account- and region-scoped — Logs Insights query ids were account-scoped, so a
StartQueryin one region could be read or stopped from another, contrary to the regional Logs Insights API. They now scope by account and region; persisted state carries the on-disk format v3 an older binary refuses, and legacy queries restore into their referenced log group's region. Contributed by @Areson.
Fixed
- Step Functions —
aws-sdk:ec2tasks now return the SDK output shape — the EC2 Query-XML adapter passed a near-wire structure through without reshaping or typing, sodescribeVolumesreturnedVolumeSet.Item.Statuswhere AWS returnsVolumes[0].State, scalars were strings, empty collections were""instead of[], and arequestIdthe SDK never returns was included — an ASLChoicewritten against AWS silently took the wrong branch locally. The normalizer now follows the SDK output shape: PascalCase member names,*Setwrappers pluralized and unwrapped, and list/int/bool leaves coerced, with overrides for names that cannot be inferred (e.g.keySet->KeyPairs). Contributed by @bandle. - CloudWatch —
DescribeAlarmsand metric reads over CBOR still broke the Terraform AWS provider ≥ 6.50 — after 1.4.10 fixed the alarm timestamp encoding, absent optional fields (ExtendedStatistic,Unit) were still serialized as CBOR Nil, which the provider's typed smithy-rpc-v2-cbor decoder rejected withunexpected value type *cbor.Nil; separately,GetMetricStatisticsandGetMetricDatareturned theirTimestamp/Timestampsmembers as strings rather than CBOR tag 1. Absent optional fields are now omitted from every CloudWatch CBOR response (real AWS never sends null), and metric-data timestamps are tag-1 encoded. Reported by @sdreger.
[1.4.10] — 2026-08-03
Added
- CloudFront — cache, origin request, and response headers policies — full CRUD plus
GetConfigandListDistributionsBy...IdforCachePolicy(/2020-05-31/cache-policy),OriginRequestPolicy(/origin-request-policy), andResponseHeadersPolicy(/response-headers-policy), so Terraform'saws_cloudfront_cache_policy,aws_cloudfront_origin_request_policy, andaws_cloudfront_response_headers_policycreate, read, update, and delete end-to-end. Each config round-trips in full:CachePolicyConfig(MinTTL/DefaultTTL/MaxTTLandParametersInCacheKeyAndForwardedToOrigin),OriginRequestPolicyConfig(header/cookie/query-string behaviors and name lists), andResponseHeadersPolicyConfig(CORS, security headers, server-timing, custom and remove headers).ETagis returned on every read,If-Matchis enforced on update/delete (InvalidIfMatchVersion/PreconditionFailed), and the...AlreadyExists/NoSuch.../...InUseerror codes match AWS. Reported by @wparad. - Cognito — state is now account- and region-scoped — user pools, pool domains, identity pools, and identity tags were account-scoped and leaked across regions. They now scope by account and region, and unsigned IDP / Identity data-plane requests infer the owning region from pool and identity IDs, tokens, sessions, or unambiguous client ownership. Persisted state carries the versioned regional schema (on-disk format v3) that an older binary refuses rather than misreads; legacy resources self-place from their region-bearing IDs. Contributed by @Areson.
- CloudFormation — state is now account- and region-scoped — stacks, stack events, exports, and change sets were account-scoped, so same-name stacks collided across regions and exports leaked into cross-region
Fn::ImportValuelookups. They now scope by account and region; asynchronous stack work retains the owning region and nested stacks stay co-located with their parent. Contributed by @Areson. - EKS —
ListIdentityProviderConfigs—GET /clusters/{name}/identity-provider-configswas unimplemented and returnedNo route. It now returns the AWS-shapedidentityProviderConfigslist ({name, type}) and aResourceNotFoundExceptionfor an unknown cluster. Contributed by @b-rajesh. - DynamoDB PartiQL —
RETURNING,REMOVE, and richerWHEREpredicates —ExecuteStatementnow supportsRETURNING ALL OLD */ALL NEW */MODIFIED OLD */MODIFIED NEW *onUPDATEandRETURNING ALL OLD *onDELETE, theREMOVEclause, andbegins_with/IN/IS MISSING/IS NOT MISSINGpredicates. AnUPDATEwhoseWHEREmatches no item now returnsConditionalCheckFailedExceptionrather than a silent no-op, matching AWS.
Fixed
- IoT — binary topic-rule payloads are no longer corrupted — the rules engine built every rule event by decoding the payload as UTF-8 with
errors="replace", so a payload that is not valid UTF-8 reached the action with each non-ASCII byte replaced byU+FFFD.encode(<expr>, 'base64')is now supported and encodes the payload as published, soSELECT encode(*, 'base64') AS data FROM 'telemetry'delivers{"data": "<base64>"}that decodes back to the published bytes — the documented way to reach a Lambda action, which does not accept binary input. No lossy decode remains on the publish → rule → invoke path; a payload that is not valid UTF-8 and whose SELECT projects no attributes dispatches no action rather than dispatching corrupted text. Contributed by @maximoosemine. - IoT — topic-rule SQL is now evaluated — the rules engine routed a publish to its actions but ignored the rule's
SELECTclause, so a rule declaringSELECT deviceId AS id FROM 'sensors/+/telemetry'delivered the whole message instead of the projection. The SELECT clause is now parsed and projected —*, attribute paths,ASaliases,topic()/topic(n),timestamp(), and literals, with unaliased items named as AWS names them and missing attributes omitted — for both delivery paths, Basic Ingest (wheretopic()reports the topic after the rule prefix) and a publish matching theFROMfilter. A JSON payload underSELECT *still arrives as the parsed object. Contributed by @maximoosemine. - ACM — wildcard SAN DNS validation record now matches its base domain — a certificate with a wildcard subject alternative name emitted a validation
ResourceRecordnamed_acme-challenge.*.example.com, so Terraform'saws_acm_certificate_validationnever found the record itsaws_route53_recordhad created and failed withmissing DNS validation record. Real ACM strips the leading*., so*.example.comandexample.comshare one_acme-challenge.example.comCNAME with an identical name and value.RequestCertificatenow emits that collapsed record, so the wildcard and apex entries line up and the validation resource resolves. Reported by @wparad. - API Gateway — HTTP API routes are selected by specificity, not creation order — the v2 router returned the first route whose method and path matched in insertion order, so a dedicated route (e.g.
POST /items) could lose to a greedyANY /{proxy+}catch-all depending on which was created first duringterraform apply. Matching routes are now ranked so the most specific one wins, as real API Gateway always dispatches to the most specific match. Contributed by @Lukasdoe. - EC2 —
DescribeAvailabilityZonesnow returns real AZ IDs — every zone reported itsZoneIdas a copy of itsZoneName(e.g.us-east-1aunder both), but AWS deliberately differs: names are shuffled per account while IDs are region-coded and stable.ZoneIdis now the region-coded form (use1-az1,euc1-az1,apse2-az1, …), matching AWS's coding across every region. Contributed by @bandle. - DynamoDB —
ProjectionExpressionlist-index results no longer carrynullplaceholders — projecting a list element (e.g.#i[2]) returned the element behind sparsenullentries ([null, null, {…}]) instead of the single projected element, and a sibling attribute in the same projection left the placeholders in place. Projected list results are now compacted to only the referenced elements. - Persistence — MediaConnect state now persists, and regionalized services carry downgrade protection — MediaConnect had restore logic but was never registered for saves, so its state was lost across restarts; it now persists. Kinesis, Firehose, KMS, EventBridge, ElastiCache, Pipes, Scheduler, SNS, and MediaConnect now advertise the on-disk format version (v3) that an older binary refuses rather than misreading their region-scoped state. Contributed by @Areson.
- CloudWatch —
DescribeAlarmsover CBOR broke the Terraform AWS provider ≥ 6.50 — alarmStateUpdatedTimestamp/AlarmConfigurationUpdatedTimestampwere serialized as bare unsigned integers in the smithy-rpc-v2-cbor response, so the provider's typed decoder (CloudWatch uses CBOR from provider 6.50) failed the read-back withunexpected value type cbor.Uintandaws_cloudwatch_metric_alarmcould not be created. Timestamp members are now encoded as CBOR tag 1 (epoch date-time), which the decoder expects; integer members such asPeriodandEvaluationPeriodsare unchanged. Reported by @sdreger.
[1.4.9] — 2026-08-01
Added
- Lambda MicroVMs — new service — control-plane emulation of the AWS Lambda MicroVM API (
2025-09-09):RunMicrovm,GetMicrovm,ListMicrovms,SuspendMicrovm,ResumeMicrovm,TerminateMicrovm,CreateMicrovmImage,CreateMicrovmAuthToken, andCreateMicrovmShellAuthToken. MicroVMs transition straight toRUNNINGand images toCREATED(no real provisioning); state is account- and region-scoped. Reported by @wparad. - Region-scoped state — EC2, CloudTrail, ECR, Glue, OpenSearch, WAFv2, and Backup now isolate state by account and region, matching real AWS and joining IoT and AppSync Events from 1.4.8. Same-name resources in different regions no longer collide. WAFv2 homes
CLOUDFRONT-scope resources in us-east-1 withglobal-segment ARNs. Persisted state carries the versioned regional schema (on-disk format v3) that an older binary refuses rather than misreads; legacy resources migrate by ARN region. Contributed by @Areson. - Region-scoped state — ACM, Elastic Load Balancing (ALB/NLB), MediaConnect, and RDS Data now isolate state by account and region as well, using the same versioned regional schema (on-disk format v3) and by-ARN legacy migration.
- IAM — role update parity —
CreateRoleandGetRolenow round-tripPermissionsBoundary;PutRolePermissionsBoundary/DeleteRolePermissionsBoundaryupdate it with AWS-shaped role output and missing-role errors; andUpdateRoleDescriptionnow returns and persists the updated role. This unblocks Terraform providers that reconcile fixed boundaries and descriptions on service roles. Contributed by @jayjanssen.
Changed
- S3 — presigned URL signatures are now verified — presigned SigV4 URLs were accepted without checking the signature, so a URL signed with bogus credentials, or one whose signed headers (
content-type,content-length, …) were changed after signing, still succeeded. Presigned URLs are now verified against the server credential (AWS_SECRET_ACCESS_KEY, defaulttest); a bad signature or a tampered signed header returns403 SignatureDoesNotMatch, matching real S3. Header-signed and anonymous requests are unaffected. Reported by @BartekAndree.
Fixed
- Step Functions —
aws-sdk:s3:headObjectdropped the object's userMetadatamap — the S3 REST-XML SDK-integration spec maps response headers to output fields by exact name, which cannot express the N dynamicx-amz-meta-*headers, so the task result carried noMetadatakey and an ASL reading$.Metadata.<key>(e.g.States.StringToJson($.Metadata.shardcount)to size a downstream fan-out) failed withStates.Runtime. The dispatcher now collectsx-amz-meta-*response headers into aMetadatamap with the prefix stripped, attached after the SFN key-convention pass so the metadata keys stay verbatim (lowercase, as S3 stores them) instead of being title-cased like API member names. Contributed by @michael-denyer. - Cognito —
CUSTOM_AUTHnow honors Cognito-owned SRP challenges and passesClientMetadatato DefineAuth — AmplifyCUSTOM_WITH_SRPfailed withUSER_ID_FOR_SRP was not foundbecauseCUSTOM_AUTHalways invoked CreateAuth and returnedCUSTOM_CHALLENGE, even when DefineAuth returnedPASSWORD_VERIFIER/SRP_A. InitiateAuth withSRP_Anow recordsSRP_Asuccess (AWS-like), returns built-inPASSWORD_VERIFIERchallenge parameters, and continues the custom-auth session after RespondToAuthChallenge so MFACUSTOM_CHALLENGErounds still work. DefineAuth also receivesClientMetadata(previously hard-coded{}), matching Create/Verify. Contributed by @onelshina. - EC2 -
ModifySecurityGroupRules- this action was unimplemented and returnedInvalidAction: Unknown EC2 action: ModifySecurityGroupRules. Full support is now provided. Contributed by @staranto. - Step Functions —
aws-sdkintegrations for Query-protocol services sent malformed requests — the shared adapter numbered EC2 list parameters under the wrong wire names and passed the form body as a string rather than bytes, so calls such asaws-sdk:ec2:describeInstancesandaws-sdk:sqs:getQueueAttributesfailed or silently dropped parameters. EC2 list parameters are now numbered under their botocore wire names, the body is encoded to bytes,GetQueueAttributesreturns the SDKAttributesmap, andIsTruncatedis emitted as a boolean. Contributed by @bandle. - Step Functions — wildcard path projections now resolve — JSONPath wildcard (
[*]) projections in ASL returned incorrect results. Contributed by @felixp-square. - IoT — topic-rule Lambda action resolved the function in the wrong region — after IoT state became region-scoped, a topic rule invoking a Lambda action looked the function up in the request region rather than the function's own, so cross-region rule targets missed. Contributed by @Areson.
- S3 —
GetBucketEncryptionnow returns the default SSE-S3 configuration — a bucket with no explicit encryption returnedServerSideEncryptionConfigurationNotFoundError, but since 5 January 2023 every S3 bucket has default SSE-S3 encryption, so real S3 returns anAES256configuration.GetBucketEncryptionnow returns that default (matching AWS) rather than the error. Reported by @rsariyev-nav. - SNS — subscription filter policies now match
String.Arraymessage attributes — aFilterPolicycompared the rawStringValueof aString.Arrayattribute (e.g.["example.created"]) against the policy values, so array attributes never matched. Each element of aString.Arrayattribute is now evaluated separately, matching AWS. Reported by @cabrerafd.
[1.4.8] — 2026-07-28
Added
- IoT — state is now account- and region-scoped — the control plane (Things, thing types, thing groups, certificates, policies, topic rules, device shadows) and the MQTT broker (clients, persistent sessions, subscriptions, retained messages) were account-scoped, so same-name resources, subscriptions, and retained messages collided or leaked across regions. All of it now scopes by account and region; the request region threads through the HTTP and WebSocket MQTT paths, and exact account/region scope is required before topic-wildcard matching so signer-controlled values can't cross regions. Persisted state carries a versioned regional schema (on-disk format v3) that an older binary refuses rather than misreads; legacy resources migrate by ARN region and retained messages migrate to the boot region. Contributed by @Areson.
- AppSync Events — state is now account- and region-scoped — Event APIs, channel namespaces, and API keys were account-scoped and collided across regions. They now scope by account and region, with the WebSocket and HTTP data planes resolving an API's creation region while preserving SigV4 credential-region enforcement, advertised-host validation, and per-API fan-out isolation. Persisted state carries the versioned regional schema (on-disk format v3) an older binary refuses; legacy child records migrate with their parent API. Contributed by @Areson.
Fixed
- Step Functions — context object paths now resolve array indexes — JSONPath references such as
$$.Map.Item.Value.values[0].namereturnednullbecause context paths used a separate dotted-key-only resolver. Context paths now retain their distinct$$.root while sharing the standard path traversal, so indexed references work inItemSelectorfields and intrinsic-function arguments. Contributed by @felixp-square. - S3 Tables — Iceberg REST commits duplicated schema/spec/sort-order entries, crashing Spark on load —
_iceberg_commit_tableappended unconditionally onadd-schema/add-spec/add-sort-order, but Spark re-declares its current unchanged schema, partition spec, and sort order on every write, so a second commit produced a duplicate id and the next table load failed building Iceberg's id-keyed maps (Multiple entries with same key). These updates are now idempotent by id, matching the invariant Iceberg's ownTableMetadatabuilder enforces.add-snapshotdeduplication is intentionally not added — that is an optimistic-concurrency concern, not a structural one. Contributed by @squirmy. - S3 Tables —
AWS::S3Tables::TableCloudFormation ignored the declared schema — the provisioner hardcoded an empty Iceberg schema and never readIcebergMetadata.IcebergSchema.SchemaFieldList, so every table created through CloudFormation had zero columns regardless of the template, and downstream consumers failed (a Firehose Iceberg-destination delivery errored withdoes not have a column with name …). The provisioner now parsesSchemaFieldList(Name/Type/Required) into the table's Iceberg schema, the same way theCreateTableAPI path does. Contributed by @ryan-bennett. - CloudFormation — cross-stack CDK deploys crashed with
'dict' object has no attribute 'startswith'—aws-cdk-localrewrites a CDK cross-stack reference into the non-AWSFn::GetStackOutputintrinsic instead ofFn::ImportValue, and the engine never resolved it, so the unresolved dict reached a provisioner (for example anAWS::Lambda::PermissionFunctionName) and rolled the stack back. The engine now resolvesFn::GetStackOutputto the named output of the referenced already-deployed stack, socdklocal deploy --allacross dependent stacks works. Reported by @jacsonrsasse.
[1.4.7] — 2026-07-26
Added
- Amazon Bedrock AgentCore — new service emulator — the agent-runtime control plane and data plane are now emulated. The
bedrock-agentcore-controlendpoint implementsCreateAgentRuntime,GetAgentRuntime,ListAgentRuntimes,UpdateAgentRuntime,DeleteAgentRuntime,ListAgentRuntimeVersions, and the runtime-endpoint operations (CreateAgentRuntimeEndpoint,GetAgentRuntimeEndpoint,ListAgentRuntimeEndpoints,UpdateAgentRuntimeEndpoint,DeleteAgentRuntimeEndpoint); thebedrock-agentcoredata-plane endpoint implementsInvokeAgentRuntime, which returns the invocation payload echoed back.CreateAgentRuntimereportsCREATINGandUpdateAgentRuntimereportsUPDATINGbefore settling toREADY, each update bumpsagentRuntimeVersion, ARNs follow the realagent/{uuid}:{version}andagentEndpoint/{uuid}shapes, and all state is account+region scoped. Reported by @wolfgangmeyers. - SNS —
ListPlatformApplications— the mobile-push action returnedInvalidActioneven though platform applications created withCreatePlatformApplicationwere already stored. It now lists the caller's platform applications with their attributes andNextTokenpagination; results are account+region scoped, matching AWS's per-region platform applications. Reported by @ctalibard-sk. - Kinesis Data Firehose —
AWS::KinesisFirehose::DeliveryStreamCloudFormation support — stacks containing a delivery stream failed withUnsupported resource typeeven though the Firehose API already implementedCreateDeliveryStream. The resource now provisions through CloudFormation into the existing Firehose control plane (S3, Extended S3, Iceberg, and the other destination configs),Refreturns the delivery stream name, andFn::GetAtt Arnreturns its ARN. Contributed by @squirmy. Reported by @ryan-bennett. - Kinesis Data Firehose — Apache Iceberg (S3 Tables) delivery — a DirectPut delivery stream with an
IcebergDestinationConfigurationnow actually writes records into the target S3 Tables Iceberg table, not just provisions the stream. Each record routes to its destination table from theDestinationTableConfigurationList(or a transform Lambda'smetadata.otfMetadata), and the row operation follows real Firehose Merge-on-Read semantics:insertby default,update/deletematched on the table'sUniqueKeys(a record whose operation needs keys but has none is dropped to the error path, as on AWS). Rows are written through the S3 Tables Iceberg REST catalog using the bundled DuckDB engine and are immediately queryable. Reported by @ryan-bennett. - Region scoping — Amazon MWAA, Amazon EKS, and AWS Transfer Family — state is now isolated by account and region, so same-named resources in different regions no longer collide. Persisted state carries a versioned regional schema (on-disk format v3) that an older binary refuses rather than misreads. Contributed by @Areson.
- S3 —
GetObjectAttributes—GET /{bucket}/{key}?attributesreturned the object body instead of the attributes document. It now returns aGetObjectAttributesResponsecarrying only the fields named in the requiredx-amz-object-attributesheader (ETag,Checksum,ObjectParts,StorageClass,ObjectSize): theETagis emitted without the surrounding quotes the HTTP header carries,StorageClassis omitted for S3 Standard objects (as on AWS),Checksumreports the object's stored checksum with itsChecksumType, andObjectPartslists the parts of a multipart-completed object. HonorsversionId, and returnsNoSuchKey/NoSuchBucketfor missing objects. Reported by @JayJuch.
Fixed
- SQS —
QueueUrlused a hardcodedlocalhosthost, breaking Docker-executed Lambdas — a Node.js Lambda running underLAMBDA_EXECUTOR=dockercould not post to SQS without hardcoding the endpoint in its client: the AWS JS SDK v3 SQS client uses the returnedQueueUrlas its request endpoint (useQueueUrlAsEndpoint), and every URL was rendered ashttp://localhost:4566/…, which inside the Lambda container resolves to the container itself rather than the host running MiniStack, so the request failed with connection refused.CreateQueue,GetQueueUrl, andListQueuesnow renderQueueUrl(s) using the caller's incomingHostheader (how they actually reached MiniStack, e.g.host.docker.internal:4566), the same approach LocalStack takes; internal queue state stays keyed on canonical URLs and lookups remain host-agnostic. An explicitly configuredMINISTACK_HOSTpins the host and disables the rewrite. Contributed by @thejusdutt. Reported by @Millroy094. - DynamoDB — validation and read metering aligned with real AWS — a batch of parity fixes driven by the dynamodb-conformance suite. Numeric values with surrounding whitespace or underscores (
" 5","1_000") are now rejected; document nesting is capped at 32 levels; partition and sort key values are capped at 2048 and 1024 bytes and expression strings at 4096 bytes.CreateTablevalidates indexProjectionsettings (INCLUDErequiresNonKeyAttributes,KEYS_ONLYforbids them, unknown types are rejected) and rejects aStreamSpecificationwithStreamEnabled: falsealongside aStreamViewType.UpdateTablemergesAttributeDefinitionsby name and prunes ones no longer referenced by the key schema or any index.PutItem,UpdateItem, andBatchWriteItemreject wrong-typed, non-scalar, or empty values written into a secondary-index key attribute.QueryandScanreject incompatibleSelect/ProjectionExpressioncombinations with the AWS messages, and a composite index excludes items missing its range key (sparse indexes).ConditionExpressionBETWEENvalidates that the lower bound does not exceed the upper at parse time. PartiQLUPDATE/DELETEreturn{"Items": []}rather than an empty object. Eventually-consistent reads now meter 0.5 RCU (strongly-consistent reads 1.0). Empty binary set members are accepted; only empty string-set members are rejected. - S3 Tables — Iceberg REST catalog returned AWS-shaped errors instead of the spec envelope — the
/icebergendpoints returned{"__type": "NotFoundException", ...}on a missing namespace or table, but the Iceberg REST OpenAPI requires{"error": {"message", "type", "code"}}. Spec-compliant REST clients (DuckDB, Spark, Trino) treat aLoadTable404 as "proceed to create", but only when it is a properNoSuchTableException; the AWS shape made them abort, so writing to an S3 Tables Iceberg table over the REST catalog failed. Errors on the/icebergsurface now use the REST spec envelope (NoSuchTableException/NoSuchNamespaceException), leaving the S3 Tables control plane's AWS error shape unchanged. - Lambda (Docker executor) — Docker-in-Docker ZIP functions failed with
invalid mount config for type "bind"— when MiniStack ran inside a container andLAMBDA_REMOTE_DOCKER_VOLUME_MOUNTwas set (as the README previously advised), the runtime container was created with a bind mount whose source was the volume name rather than an absolute path, so Docker rejected it withmount path must be absoluteand every ZIP invocation failed. In-container runs now always populate the sibling container's/var/task(and/var/runtimeforprovided.*) viadocker cpover the host socket — no shared volume required.LAMBDA_REMOTE_DOCKER_VOLUME_MOUNTis deprecated and ignored. Reported by @smoores-dev. - Cognito — pools with
UsernameAttributesused the raw email or phone number asUsernameinstead of a generated UUID — in a user pool configured for email or phone sign-in (UsernameAttributes),AdminCreateUserstored and returned the submitted email/phone as theUsername, but real Cognito treats that value as an alias and assigns an immutable system-generated UUID as the actualUsername. TheUsernameis now a UUID forUsernameAttributespools, the alias resolution paths (invitation email, duplicate detection, Hosted UI login) key off it, and changing the email attribute afterwards no longer changes theUsername. Contributed by @kjdev.
[1.4.6] — 2026-07-24
Added
- EC2 —
AWS::EC2::VPCEndpointCloudFormation support — VPC endpoints now provision through CloudFormation into the shared EC2 state, soDescribeVpcEndpointsreturns them;Refreturns thevpce-id andFn::GetAttexposesId. Endpoint type, VPC/route/subnet/security-group associations, tags, and in-place updates are supported. Contributed by @robert-pitt-foodhub. - API Gateway v1 —
AWS::ApiGateway::DocumentationVersionCloudFormation support — documentation versions now create, update, and replace through CloudFormation;Refreturns the{RestApiId}/{DocumentationVersion}identity, and a version change triggers replacement. Contributed by @robert-pitt-foodhub. - API Gateway v1 —
AWS::ApiGateway::RequestValidatorCloudFormation support — request validators now provision through CloudFormation; bothRefandFn::GetAtt RequestValidatorIdreturn the validator id. ANameorRestApiIdchange triggers replacement while the validation flags update in place. Contributed by @robert-pitt-foodhub. - AppSync —
AWS::AppSync::FunctionConfigurationCloudFormation support — pipeline functions now provision through CloudFormation;Refreturns the function ARN andFn::GetAttexposesFunctionArn,FunctionId,Name, andDataSourceName. AnApiIdchange triggers replacement. Contributed by @robert-pitt-foodhub. - Lambda —
AWS::Lambda::UrlCloudFormation support — function URLs now provision through CloudFormation and share the Function URL API state;Fn::GetAttexposesFunctionArnandFunctionUrl,AuthType/InvokeMode/Corsupdate in place, and aTargetFunctionArnorQualifierchange triggers replacement.UpdateFunctionUrlConfignow also appliesInvokeMode. Contributed by @robert-pitt-foodhub. - CloudWatch Logs —
AWS::Logs::ResourcePolicyCloudFormation support — resource policies now provision through CloudFormation;Refreturns thePolicyName, a policy-document change updates in place, and aPolicyNamechange triggers replacement. Contributed by @robert-pitt-foodhub. - CloudFront —
AWS::CloudFront::CloudFrontOriginAccessIdentityCloudFormation support — origin access identities now provision through CloudFormation;Refreturns the identity id (E…) andFn::GetAttexposesIdandS3CanonicalUserId, both retained across comment updates. Contributed by @robert-pitt-foodhub. - API Gateway v1 —
GetExport— a REST API stage can now be exported as OpenAPI 3 (oas30) or Swagger 2 (swagger), in JSON or YAML, with the optionalintegrationsextension included on request. Contributed by @robert-pitt-foodhub. - RDS — Aurora MySQL global replication — Aurora MySQL 8 global clusters now replicate from the global writer to secondary-region readers over GTID-based binary log replication, with binlog retention bounded on the source and fail-closed handling for volumes initialized by an older version. Contributed by @Areson.
- Region scoping — Athena, Auto Scaling, Cloud Map, EFS, EMR, Inspector2, Amazon MQ, AppSync, and S3 Files — state is now isolated by account and region, so same-named resources in different regions no longer collide. Persisted state carries a versioned regional schema (on-disk format v3) that an older binary refuses rather than misreads, and legacy state migrates by recovering each record's region from its stored ARNs. Contributed by @Areson.
Fixed
- API Gateway v2 —
queryStringParameters/bodysent asnullinstead of omitted — the HTTP API v2 Lambda proxy event includedqueryStringParameters/bodywith anullvalue when a request had no query string or no payload, rather than omitting the key entirely as real AWS does. Strict event-shape validators (e.g. AWS Lambda Powertools'isAPIGatewayProxyEventV2) acceptundefinedor a proper value but rejectnull, so every bodyless or querystring-less request against such a validator failed with an unhandledInvalidEventError, even though the invocation itself succeeded and the Lambda's own business logic never ran. Contributed by @ryan-bennett. - Cognito — Hosted UI bound the authorization code to the raw email alias instead of the resolved Username — in pools with
UsernameAttributesorAliasAttributes, the email entered on the Hosted UI login page was bound to the authorization code verbatim, so the code exchange keyed off the alias rather than the user's real Username. The login and new-password submit paths now bind the code to the Username resolved by the alias lookup. Contributed by @kjdev. - CloudFormation/Lambda — Docker-executed custom resources hung because the
ResponseURLusedlocalhost— withLAMBDA_EXECUTOR=docker, a Lambda-backed custom resource completed its work but could not post its completion callback: theResponseURLpointed atlocalhost, which inside the Lambda container resolves to the container itself rather than the host running MiniStack, so the PUT failed with connection refused and the stack sat inCREATE_IN_PROGRESSuntil the one-hour service timeout. TheResponseURLhanded to a container-executed custom resource now rewriteslocalhost/127.0.0.1tohost.docker.internal, the same host already used forAWS_ENDPOINT_URL; explicitly configured hostnames are left untouched. Reported by @robert-pitt-foodhub.
[1.4.5] — 2026-07-22
Added
- API Gateway v1 —
AWS::ApiGateway::ModelCloudFormation support — stacks with request/response models failed withUnsupported resource type: AWS::ApiGateway::Model. Models now create, update, and delete against the v1 model store; JSON-valued schemas are normalized to the API's string representation andRefreturns the model name. Contributed by @robert-pitt-foodhub. - API Gateway v1 —
AWS::ApiGateway::DomainNameCloudFormation support — CDK custom-domain stacks rolled back withUnsupported resource type. Regional and edge domains now provision through the v1 control plane;Refreturns the domain name andFn::GetAttexposesDistributionDomainName,DistributionHostedZoneId,DomainNameArn,RegionalDomainName, andRegionalHostedZoneId. Contributed by @robert-pitt-foodhub. - API Gateway v1 —
AWS::ApiGateway::BasePathMappingCloudFormation support — base path mappings now create, update, replace, and delete; an omittedBasePathmaps to the root(none)mapping andRefreturns the mapping's identifier. Contributed by @robert-pitt-foodhub. - API Gateway v1 — documentation parts —
CreateDocumentationPart,GetDocumentationPart,GetDocumentationParts,UpdateDocumentationPart, andDeleteDocumentationPart, plusAWS::ApiGateway::DocumentationPartCloudFormation support.Refreturns the documentation part id andFn::GetAtt DocumentationPartIdis exposed. Contributed by @robert-pitt-foodhub. - Lambda —
AWS::Lambda::EventInvokeConfigCloudFormation support — CDK stacks configuring asynchronous retry limits, maximum event age, or on-success/on-failure destinations rolled back withUnsupported resource type. Configs are now isolated per function qualifier (version/alias), andGetFunctionEventInvokeConfig/ListFunctionEventInvokeConfigsreturn them per qualifier. Contributed by @robert-pitt-foodhub. - CloudWatch —
AWS::CloudWatch::DashboardCloudFormation support — stacks containing dashboards rolled back withUnsupported resource type. Dashboards now create, update the body in place, replace on a name change, and delete;Refreturns the dashboard name. Contributed by @robert-pitt-foodhub. - OpenSearch —
AWS::OpenSearchService::DomainCloudFormation support — domains and CDK-generated access policies now provision through CloudFormation with in-place updates, replacement, rollback, andFn::GetAttfor the domain ARN and endpoint. Contributed by @robert-pitt-foodhub. - OpenSearch — package management —
CreatePackage,UpdatePackage,DescribePackages,DeletePackage,AssociatePackage,DissociatePackage, andListPackagesForDomainare now served. Packages reportAVAILABLEand domain associationsACTIVEimmediately, so a poll after create/update/associate succeeds on the first call. Reported by @Simon-Hayden-Dev. - Cognito —
AWS::Cognito::UserPoolGroupCloudFormation support — the raw group APIs existed but the CFN resource type failed the whole stack withUnsupported resource type. Groups now provision through CloudFormation,Refreturns the group name, and deletion removes the group from its member users. Contributed by @ryan-bennett. - Cognito — resource servers (
CreateResourceServer,UpdateResourceServer,DescribeResourceServer,DeleteResourceServer,ListResourceServers) plusAWS::Cognito::UserPoolResourceServerCloudFormation support. Every resource-server action previously returnedInvalidAction: Unknown Cognito IDP actionand the CFN resource type failed the whole stack. Resource servers are keyed by their caller-suppliedIdentifierwithin a pool, matching real AWS, andRefon the CFN resource returns thatIdentifier. Contributed by @ryan-bennett. - Cognito —
GetTokensFromRefreshToken— the session-refresh action aws-amplify v6.15+ uses exclusively returnedInvalidAction: Unknown Cognito IDP action, so Amplify apps silently lost their session when the access token expired. It now returns the sameAuthenticationResultshape asREFRESH_TOKEN_AUTH; refresh token rotation andRefreshTokenReuseExceptionare not modeled. Reported by @scriptgenerator64. - Region scoping — Batch and SES — state is now isolated by account and region, so same-named resources in different regions no longer collide. Persisted state carries a versioned regional schema that an older binary refuses rather than misreads. Contributed by @Areson.
Fixed
- CloudFront — invalidations on CloudFormation-created distributions —
CreateInvalidationon a distribution provisioned through CloudFormation raised aKeyErrorbecause the CFN path never initialized the invalidation store that the nativeCreateDistributiondoes. The store is now initialized on create and cleaned up on delete. Contributed by @robert-pitt-foodhub. - CloudFormation/Lambda — CDK S3 bucket notification custom resources no longer hang — custom-resource properties reached CDK's bundled handler as Python
bool/numbers instead of CloudFormation's string wire representation (it called.lower()onManaged), and the warm Python worker omittedlog_stream_name, so the failure path couldn't PUT to theResponseURLand the stack hung until the one-hour service timeout. Custom-resource properties now use the string representation and warm workers expose the standard Lambda context fields. Contributed by @robert-pitt-foodhub. - API Gateway v1 —
AWS::ApiGateway::StageRef—Refreturned<api-id>-<stage>instead of the stage name, so dependent resources failedGetStagewithInvalid Stage identifier specified.Refnow returns the stage name, matching AWS. Contributed by @robert-pitt-foodhub. - SQS —
ListQueuespagination — results were silently truncated atMaxResultsand noNextTokenwas returned or accepted, so a client with more than 1000 queues could not enumerate them all.ListQueuesnow returns aNextTokenwhen more results remain and accepts it on the next page, across both the JSON and Query/XML protocols. Contributed by @bfreitastgtg. - EC2 —
DescribeSecurityGroupRulestags — the operation omitted each rule'sTagsandSecurityGroupRuleArn, so Terraform'saws_vpc_security_group_ingress_rulesaw perpetualtags_alldrift. Rule tags set at authorize time (or viaCreateTagson thesgr-id) are now stored and returned along with the rule ARN, andtag:/tag-keyfilters are honored. Reported by @staranto. - Cognito —
AWS::Cognito::UserPoolLambdaConfigdropped by CloudFormation — the CFN provisioner built a pool's state without ever readingLambdaConfigfrom the template properties, so any Lambda trigger (PreTokenGeneration, PreSignUp, PostConfirmation, etc.) configured on a CFN-provisioned pool was silently never invoked, even though the identical rawCreateUserPoolAPI call already honored it correctly.LambdaConfigis now copied onto the pool the same way the raw API does. Contributed by @ryan-bennett.
[1.4.4] — 2026-07-22
Added
- RDS —
DisableHttpEndpoint— the Aurora Data API HTTP endpoint could be enabled viaEnableHttpEndpointbut never disabled:DisableHttpEndpointreturnedInvalidAction. It now mirrors enable, settingHttpEndpointEnabledtofalseon the cluster matchingResourceArn. Contributed by @jayjanssen. - ALB — data-plane forwarding to
instance/iptargets — the ALB data plane routed live traffic to Lambda targets only;instance/iptarget groups returned502 Target type not supported. Requests are now proxied over HTTP to the registered target with hop-by-hop headers stripped,X-Forwarded-*andX-Amzn-Trace-Idinjected, and connection failures surfaced as502. Contributed by @jasondcamp. - ElastiCache — Valkey engine —
Engine=valkeyfell into the memcached branch, requesting a nonexistent image and falling back to memcached's port 11211.CreateCacheCluster/CreateReplicationGroupnow spawn a realvalkey/valkey:<major.minor>-alpinecontainer on port 6379 (AWS versions 7.2, 8.0, 8.1), andDescribeCacheEngineVersionslists them. Contributed by @jasondcamp. - KMS —
GenerateDataKeyPairandGenerateDataKeyPairWithoutPlaintext— the emulator hadGenerateDataKeybut no data-key-pair operation, so both returnedInvalidAction. They now generate an asymmetric data key pair wrapped under a symmetric CMK (theWithoutPlaintextvariant omitsPrivateKeyPlaintext) across the AWSKeyPairSpecenum,SM2excluded. Contributed by @yl. - API Gateway v1 —
AWS::ApiGateway::GatewayResponse(CloudFormation) — CDK/CloudFormation stacks customizing REST API errors rolled back withUnsupported resource type. The v1 control plane now servesPutGatewayResponse/GetGatewayResponse(s)/DeleteGatewayResponse, and the resource provisions with in-place updates and generated-default restore on delete. Contributed by @robert-pitt-foodhub. - Cognito —
NEW_PASSWORD_REQUIREDin the Hosted UI — a first-loginFORCE_CHANGE_PASSWORDuser was let straight through the managed-login endpoint, issuing an OAuth code without ever changing the temporary password. The Hosted UI now shows a change-password form, enforces the pool policy, and completes to the code once the password is set. Contributed by @kjdev. - s3tables — CloudFormation and Iceberg REST —
AWS::S3Tables::TableBucket/Namespace/Tablenow provision through CloudFormation, and the Iceberg REST catalog surface (config, namespaces, tables, load-table, commit) is served for table buckets, backed by DuckDB. Contributed by @squirmy. - RDS — Aurora shared-storage model — cluster members previously provisioned diverging per-instance databases. They now share one cluster-owned container, so tables, users, and grants created through one member are visible through the writer and reader endpoints and the RDS Data API. Contributed by @Areson.
- Region scoping — EventBridge Scheduler, CodeBuild, and Resource Groups — state is now isolated by account and region, so same-named resources in different regions no longer collide. Persisted state carries a versioned regional schema that an older binary refuses rather than misreads. Contributed by @Areson.
Fixed
- CloudFormation/Lambda — CDK S3 bucket notification custom resources no longer hang —
Custom::S3BucketNotificationsreceived boolean properties as Pythonboolvalues even though CloudFormation serializes custom-resource primitive leaves as strings, so CDK's bundled handler crashed when it called.lower()onManaged. Its failure-reporting path then crashed again because the warm Python Lambda context omittedlog_stream_name, preventing the handler from PUTtingFAILEDto the CloudFormationResponseURLand leaving the stack inCREATE_IN_PROGRESSuntil the one-hour service timeout. Custom-resource properties now use CloudFormation's string wire representation, and warm Python workers expose the standard Lambda context fields, including log group/stream names, function version, client/identity placeholders, and remaining execution time. - Batch —
UpdateComputeEnvironment— Terraformaws_batch_compute_environmentwith anupdate_policyblock failed withInvalidAction.UpdateComputeEnvironmentnow resolves the compute environment by name or ARN and appliesstate,serviceRole,computeResources,updatePolicy,unmanagedvCpus, andcontext. Reported by @smoores-dev. - S3 — empty object tag value — a bare
x-amz-taggingkey with no=valuewas dropped instead of stored. Empty tag values are now preserved as a tag with an empty value, matching real S3. Contributed by @murlock. - EC2 —
DescribeSecurityGroupRulesby rule id — the operation ignoredSecurityGroupRuleIds(a group filter was required) and rule ids shifted when another rule on the group was revoked. Rule ids are now stable and content-derived andSecurityGroupRuleIdsis honored, fixing Terraformaws_vpc_security_group_ingress_rulerefresh. Reported by @staranto. - Lambda — docker worker respawn on config change — with
LAMBDA_EXECUTOR=docker,UpdateFunctionConfigurationleft the old container running with stale config because the reaper matched the pre-region-scoping key shape. It now reaps the function's containers so the next invocation uses the new configuration. Reported by @ykharko.
[1.4.3] — 2026-07-18
Added
- IoT — device shadow operations —
GetThingShadow,UpdateThingShadow, andDeleteThingShadowon theiot-dataendpoint (classic and named shadows via?name=) previously returnedInvalidRequestException: Unsupported iot-data path: .../shadow. Shadows now storedesired/reportedstate: updates deep-merge into the stored document (anullvalue removes the field), bump the version, and stamp per-attributemetadatatimestamps (only the attributes an update touches are re-stamped); the/acceptedresponse echoes only the sections sent, whileGetThingShadowreturns the full document including the computedstate.deltaand itsmetadata.delta. A staleversionin an update is rejected with a409, deleting a shadow keeps its version (as on real AWS, it is not reset), and reading or deleting a nonexistent shadow returnsResourceNotFoundException. Shadows are account-scoped and persisted with the rest of the IoT state. Contributed by @maximoosemine. - IoT — MQTT publishes are routed through topic rules to Lambda — an MQTT/
iot-datapublish is now matched against each account's topic rules by the rule'sFROM '<topic filter>'clause (with+/#wildcards), and every matching enabled rule'slambdaactions are invoked asynchronously with the message payload as the event (SELECT *). Basic Ingest is supported: a publish to$aws/rules/<ruleName>is delivered straight to that rule's actions and bypasses pub/sub. Disabled rules are skipped. Contributed by @maximoosemine. - API Gateway v2 —
AWS::ApiGatewayV2::AuthorizerCloudFormation support — deploying a stack with a JWT authorizer on an HTTP API previously failed withUnsupported resource type: AWS::ApiGatewayV2::Authorizerand rolled the stack back, even though the same authorizer already worked via the raw API and Terraform. A provisioner now maps the CFN properties onto the existing authorizer store (Refreturns the authorizer id,Fn::GetAtt AuthorizerIdsupported, per the CFN resource reference), andAWS::ApiGatewayV2::RoutecarriesAuthorizerId/AuthorizationScopesthrough (previously dropped) so the route is actually enforced. Contributed by @ryan-bennett. - RDS — Aurora cluster shared-storage model — Aurora MySQL and Aurora PostgreSQL members now share one cluster-owned database container instead of provisioning divergent per-instance databases. Writer and reader endpoints, direct connections, and the RDS Data API resolve to the same live data, so tables, users, and grants created through one member are visible through every member. Deleting the final provisioned member stops but preserves the shared container, leaving the cluster available while direct SQL and the Data API remain unavailable; attaching a new first member restarts the same container and data. Cluster deletion owns container and volume cleanup, and persisted clusters respawn one shared container on warm boot. The local reader endpoint intentionally remains read/write because it targets the same database process; engine-enforced read-only behavior would require a separate replicating process. Contributed by @Areson.
Changed
- EventBridge, ECS, and Firehose — region-isolated state — continuing the multi-region work, three more services move their state to account+region scope: EventBridge (event buses, rules, targets, archives, replays, connections, API destinations, and endpoints; replays run under the region they were started in, and S3→EventBridge notifications dispatch in the bucket's region), ECS (clusters, task definitions and their revisions, services, tasks, capacity providers, account settings, and attributes), and Firehose (delivery streams, with Kinesis-source ingest kept within the stream's account and region). Same-name resources in different regions no longer collide, cross-region lookups return the same errors real AWS returns, and legacy persisted state migrates by recovering each record's region from its stored ARNs (ECS bumps its on-disk state format to v3). Contributed by @Areson.
Fixed
- Cognito —
ListUsersstatusfilter matched against the wrong field —Filter='status = "Enabled"'/"Disabled"was compared againstUserStatus(the confirmation-state enum:CONFIRMED,FORCE_CHANGE_PASSWORD,UNCONFIRMED, etc.), which never equals the literal string"Enabled"/"Disabled". As a result, filtering bystatusalways returned an empty list, regardless of how many users existed or their actual enabled/disabled state.statusnow correctly reflects the account'sEnabledboolean toggled byAdminEnableUser/AdminDisableUser, matching real AWS Cognito'sListUsersFilter semantics. Contributed by @jey-mfv. - Cognito —
PreTokenGenerationtriggerSourcereflects the call path — every issued token reportedTokenGeneration_Authentication; refresh flows (REFRESH_TOKEN_AUTHand the/oauth2/tokenrefresh_tokengrant) now sendTokenGeneration_RefreshTokens, and the managed-loginauthorization_codegrant sendsTokenGeneration_HostedAuth, matching the trigger-sources table in the Cognito developer guide. Contributed by @kjdev. - Cognito —
PreSignUp_ExternalProvidertrigger fires on federated sign-up — SAML/OIDC federation callbacks persisted new users without ever invoking the pool's PreSignUp Lambda, which real Cognito always fires immediately before creating a federated user. The trigger now runs fail-closed (a throwing Lambda blocks the sign-up withUserLambdaValidationExceptionand the user is never persisted), and itsautoVerifyEmail/autoVerifyPhoneoverrides are applied to the created user. Federated users keepUserStatus: EXTERNAL_PROVIDERas on real AWS (autoConfirmUserdoes not change a federated user's status). Contributed by @kjdev. - EventBridge Pipes — cross-region source or target rejected — a pipe whose source or target ARN is in a different region than the pipe is now rejected before any state is written (surfaced through CloudFormation as
CREATE_FAILED), matching AWS, where a pipe's source and target are same-region. Global and malformed ARNs are still accepted as before. Contributed by @Areson. - Lambda — Node warm-worker invoke no longer fails on fd 1 writes —
fs.writeSync/fs.writeon stdout bypassed the existingprocess.stdout.writeredirect to stderr, so sync loggers (e.g. pino with{ sync: true }) could emit on the JSON-line protocol channel and surface falseRuntime.HandlerError/Unknown errorresponses even when the handler succeeded. The Node worker bootstrap now redirects fd 1 throughfs.writeSync/fs.write, and the warm-worker stdout reader accepts only protocol lines whosestatusisokorerror. Contributed by @vvaide. Reported by @kofuk. - Lambda —
X-Amz-Log-ResulthonorsLogType— the execution-log header was attached to every synchronous invoke; per the Invoke API reference it is returned only whenLogType=Tail, carrying the last 4 KB of the execution log base64-encoded. Both now match. Contributed by @Sanjays2402. Reported by @w-zx. - Lambda — event source mappings pace failed-invoke retries per ESM — a failing ESM was retried at full poll-loop speed whenever another busy ESM kept the loop awake, and a burst on a healthy ESM was throttled to one batch per tick. The poll loop now keeps draining while work is being processed and each failing ESM backs off independently; failure semantics are unchanged (SQS messages redrive after the visibility timeout, stream shards retry the same batch). Contributed by @squirmy.
- S3 — a versioned delete with an explicit
VersionIdpermanently removes that version —DeleteObjectandDeleteObjectsaddressed with aVersionIdreported success but never touched the version store, soListObjectVersionsstill returned every version and delete marker (DeleteObjecteven appended a new marker, driving the count up). Both paths now purge the exact version/marker and reconcile the current version; a delete without aVersionIdstill creates a delete marker as before. Contributed by @asleeponduty. - S3 — versioned object reads preserve
Content-Type—GetObjectwith aVersionIdalways returnedapplication/octet-stream, even when that version was written with an explicit content type. PutObject version records now retain their own content type, and versioned reads return it while preserving the existing fallback for older records. Contributed by @vvaide. Reported by @aaronsteed. - S3 —
CreateBucketapplies and validates request-bodyTags— the<Tags>container in aCreateBucketbody was ignored (onlyLocationConstraintwas parsed), so tags supplied at creation were silently dropped and a follow-upGetBucketTaggingreturnedNoSuchTagSetwhile S3 ControlListTagsForResourcereturned an empty list. Create-time tags are now stored and returned by both, validated before the bucket is created (key 1-128 chars, value 0-256, the reservedaws:prefix rejected withInvalidTag, at most 50 tags, and a duplicate key returns a500 InternalError); an invalid tag set leaves no bucket behind. Contributed by @nirajsapkota.
[1.4.2] — 2026-07-13
Added
- IoT —
AWS::IoT::TopicRuleCloudFormation support — deploying anAWS::IoT::TopicRulepreviously failed withUnsupported resource type: AWS::IoT::TopicRuleand rolled the stack back. A provisioner now creates and deletes the rule (normalizing the PascalCaseTopicRulePayload—Sql,Actions,Lambda/FunctionArn, … — to the API's camelCase shape),Refreturns the rule name andFn::GetAtt Arnthe rule ARN. The IoT control plane gains the backing operations:CreateTopicRule,GetTopicRule,ListTopicRules,ReplaceTopicRule, andDeleteTopicRule. Rules are account-scoped and persisted with the rest of the IoT state. Contributed by @maximoosemine.
Changed
- SNS, Kinesis, KMS, and ElastiCache — region-isolated state — continuing the 1.4.0 multi-region work, four more services move their state to account+region scope: SNS (topics, subscriptions, platform applications, platform endpoints), Kinesis (streams, shard iterators — which now also survive a warm boot, still subject to their 5-minute expiry — and enhanced-fan-out consumers), KMS (keys and aliases — the same alias name can now target different keys per region, as on AWS), and ElastiCache (clusters, replication groups, subnet/parameter groups, snapshots, users, user groups, and events; local Redis/Memcached container names now carry the account and region so same-name clusters coexist across regions). Same-name resources in different regions no longer collide, cross-region lookups return the same errors real AWS returns, and background pollers process each resource under its own account and region. Legacy persisted state migrates by recovering each record's region from its stored ARNs; records without an ARN migrate to the default region (
MINISTACK_REGION). Contributed by @Areson.
Fixed
- DynamoDB — validation parity with real AWS on reads, deletes, batches, and transactions — validation gaps that let malformed requests succeed silently (all verified against real AWS DynamoDB): (1)
GetItem,DeleteItem, andBatchGetItemnow reject key attributes carrying an empty string/binary value, asPutItemalready did; (2)BatchWriteItemvalidates every member before applying any — previously a bad member returned the correctValidationExceptionbut earlier members were already written; (3)TransactWriteItemsvalidates every member before applying anything and matches real AWS's two failure shapes: an empty-string/binary key value (or malformed item) is an up-front top-levelValidationException, whereas a wrong-typed key or an update-expression type error is surfaced as aTransactionCanceledExceptionwith a positionalValidationErrorcancellation reason — previously an invalid member was silently committed with no error at all; (4)Queryrejects aKeyConditionExpressionBETWEENwith inverted bounds at parse time with the AWS error message, instead of returning an empty result; (5)Queryvalidates key-condition operands like key values — an empty string/binary operand on a key attribute is rejected; (6)Queryrejects anExclusiveStartKeywhose sort value violates the range-key predicate (The provided starting key does not match the range key predicate) — such a cursor can never have been issued by a previous page; (7)UpdateItemSETrejects a document path that doesn't resolve on the item (The provided expression refers to an attribute that does not exist in the item) — e.g.list_appendon a missing attribute, whereif_not_existsis the sanctioned form; previously the assignment was silently skipped; (8)UpdateItemADD/DELETEreject non-Number/Set operands (Incorrect operand type for operator or function, with the AWS quirk that thetypeSetis reported asALLOWED_FOR_ADD_OPERANDeven forDELETE) and operands whose type doesn't match the existing attribute (An operand in the update expression has an incorrect data type) — previouslyADDcould silently replace a set attribute with a number, andDELETEsilently no-opped. All error shapes verified against real AWS DynamoDB. Contributed by @ifutivic. - DynamoDB —
Query/ScanreturnLastEvaluatedKeywhen results end exactly atLimit— real DynamoDB doesn't look ahead: whenever it stops because of the limit it returns aLastEvaluatedKey, even if nothing remains, and the follow-up page comes back empty with no key. MiniStack only returned the key when strictly more items remained, so SDK pagination helpers that rely on the exact-limit page (e.g. "has more pages" checks) diverged from AWS. Verified against DynamoDB Local. Contributed by @ifutivic. - Step Functions —
aws-sdk:lambdawrite actions —createFunction,updateFunctionConfiguration,updateFunctionCode,createAlias, andupdateAliasnow dispatch through the Lambda REST emulator (previously they failed withStates.Runtime: not yet implemented; onlygetAliasandgetFunctionConfigurationwere covered). The SFN SDK-conventionKmsKeyArnparameter is mapped to Lambda's wire-formKMSKeyArnso it's honored instead of silently ignored, task output keys use the same SFN casing convention as the other dispatchers, and Lambda errors surface with prefixed codes soCatchclauses match. Contributed by @Areson. - API Gateway v2 — WebSocket
$connectinvokes JWT authorizers — a JWT authorizer configured on the$connectroute was ignored, so any client could connect without a token. The route's authorizer is now validated exactly like the HTTP API path — missing or invalid tokens close the connection with code 1008, and validated claims and scopes are injected intorequestContext.authorizer.jwtfor the integration. Reported by @Lukasdoe. - S3 — versioned
GetObjectreturns the body after a restart withS3_PERSIST=1— object-version records live in memory only, so after a restart aGetObjectwithversionId(for the id restored via the 1.4.1 metadata sidecar) found a version record with no data and returned an empty body. Restore now seeds the current version from the on-disk sidecar, and versioned reads fall back to the persisted object body on disk. Reported by @adzcodemi. - SQS — XML error responses carry the legacy query-protocol error codes — the query-protocol (XML) error path emitted the modern JSON-protocol code in
<Code>(e.g.QueueDoesNotExist), but SDKs speaking the legacy query protocol match on the namespaced codes (e.g.AWS.SimpleQueueService.NonExistentQueue) — the sameawsQueryCompatiblemapping already sent in thex-amzn-query-errorheader on the JSON path is now applied to the XML<Code>element. Reported by @play4uman.
[1.4.1] — 2026-07-09
Added
- EKS — clusters pull images from local ECR — every k3s cluster now boots with an auto-generated
/etc/rancher/k3s/registries.yamlthat mirrors the cluster's ECR registry hostname (<account>.dkr.ecr.<region>.amazonaws.com) to the MiniStack gateway, sokubectl run --image <account>.dkr.ecr.<region>.amazonaws.com/repo:tagpulls an image you pushed to local ECR — no manual registry wiring. The mirror endpoint is MiniStack's own address on the shared Docker network when one is detected, andhost.docker.internal(added to the k3s container viahost-gateway) when MiniStack runs on the host. Verified end-to-end: image pushed to local ECR, pod pulled and reachedRunning. Reported by @L3337. - RDS — Aurora MySQL version-to-image mapping and MySQL 8.4 support — Aurora MySQL containers now boot the MySQL image matching the requested engine version track (5.7 / 8.0 / 8.4) instead of the floating
mysql:8tag, which had started silently booting MySQL 8.4 for Aurora MySQL 8.0 test cases.DescribeDBEngineVersionsreturns the full creatable Aurora MySQL catalog with correct per-family parameter groups — including the new8.4.mysql_aurora.8.4.7/aurora-mysql8.4(GA 2026-05-21) — an explicitEngineVersionnot in the catalog is rejected with the AWS error shape, andaurora-mysql8.4parameter-group defaults omitskip-character-set-client-handshake(removed in MySQL 8.4) while older families keep it. The default Aurora MySQL version moves from the no-longer-creatable8.0.mysql_aurora.3.03.0to8.0.mysql_aurora.3.10.3. Contributed by @Areson.
Changed
- EventBridge Pipes — region-isolated state — pipe records and stream positions move to account+region scope (continuing the 1.4.0 multi-region work), so same-name pipes in different regions no longer collide, and the background poller processes each pipe under its own account and region. Legacy persisted state migrates by recovering each pipe's region from its ARN. Contributed by @Areson.
- Docker images — Python 3.13 base — both images (
DockerfileAlpine andDockerfile.fullDebian) move frompython:3.12topython:3.13, clearing the CPython 3.12 interpreter CVEs flagged by image scanners; CI now runs the test suite on 3.13 to match the shipped interpreter.Dockerfile.fullalso runsapt-get upgradeso Debian base packages pick up security patches on every rebuild, as its comment always claimed and as the Alpine image already did. Contributed by @scottschreckengaust.
Fixed
- Lambda — concurrent
provided.*invocations no longer fail withETXTBSY("Text file busy") — each invocation extracted the function zip into its own temp directory and exec'd thebootstrapbinary from it; while one thread still held the extraction's write descriptor, another thread's process spawn let the child inherit it, and executing the binary failed withETXTBSY(a classic CPython fork/exec race). Extraction is now content-addressed — one shared read-only directory per code sha256, matching real Lambda's read-only/var/task— and spawns are serialized against extraction so the race cannot occur. Reported by @crestonbunch. - Lambda —
provided.*runtime env restoresAWS_LAMBDA_FUNCTION_MEMORY_SIZE,AWS_LAMBDA_FUNCTION_VERSION, andAWS_LAMBDA_LOG_STREAM_NAME— 1.4.0's reserved-name filtering stripped these from the user environment, and the provided-runtime executor (unlike the container, local, and warm-worker paths) never re-injected them from the function config, so the Rustlambda_runtimecrate — which requiresAWS_LAMBDA_FUNCTION_MEMORY_SIZE— crashed on startup. All three are now set from the function configuration, matching the other executors and real AWS. Reported by @crestonbunch. - Lambda — SQS event source mappings deliver
messageAttributesin camelCase — records forwarded to functions carried the PascalCase inner keys SQS uses on the wire (StringValue/DataType/BinaryValue), but real Lambda re-serializes them to camelCase (stringValue/dataType/…) before invoking. Typed handler bindings — e.g. Java'sSQSEvent.MessageAttribute, which Jackson populates case-strictly — saw all-null attributes and failed on messages whose attributes were set correctly. The ESM now performs the same camelCase transformation as AWS at the delivery boundary; the SQS API surface itself is unchanged. Reported by @w-zx. - S3 —
versionIdsurvives payload persistence to a volume — withS3_PERSIST=1, the on-disk.meta.jsonsidecar never recorded the object'sversion_id, and all four write paths (PutObject, POST upload, CopyObject, CompleteMultipartUpload) persisted the sidecar before the version id was assigned — so after a restart, GET/HEAD returned nox-amz-version-idfor objects on the volume. The sidecar now stores the version id and is written after version assignment, so the current version id of every object survives restarts. (Historical version data is still memory-only; full version-history persistence is tracked separately.) Reported by @adzcodemi. - Cognito —
ListUsersparses quoted attribute names inFilter— the filter parser only matched unquoted attribute names, but AWS's documented syntax also accepts the quoted form ("email" = "value"— used in AWS's own API-reference sample request), and on any parse failure MiniStack silently returned all users. Both forms now parse (including the docs' no-space"email"^="value"shape), and an unparseable filter logs a warning. Contributed by @kjdev.
[1.4.0] "Areson" — 2026-07-08
Added
- Multi-region support — resource state is now isolated per account and region. The request region is taken from the SigV4 credential scope (Authorization header or presigned
X-Amz-Credentialquery parameter), so two clients pointed at different regions see fully independent state, matching real AWS. Region-isolated in this release: AppConfig, Bedrock, Bedrock Agent, Bedrock Agent Runtime, Bedrock Runtime, CloudWatch, CloudWatch Logs, DynamoDB (tables, metadata, and Streams), Lambda (functions, event source mappings, durable executions), MSK, RDS, S3 Tables, Secrets Manager, SQS, SSM Parameter Store, and Step Functions. Cross-resource references resolve in the referenced ARN's own account and region (SNS→SQS fanout, EventBridge targets, ESM sources), background workers (event source pollers, the EventBridge scheduler tick, durable-function resume) re-scope to each resource's tenant, and ARNs are parsed and validated everywhere — cross-region references that real AWS rejects now return the same errors AWS returns. Persisted state moves to an on-disk format v2 with a version stamp (a newer-format file is refused instead of mis-parsed on downgrade); legacy account-scoped state files load and migrate automatically, recovering each record's region from its stored ARNs. Services not listed above keep sharing state across regions within an account, exactly as in 1.3.x — region isolation for them lands in subsequent releases. Note forPERSIST_STATEusers: legacy records that carry no ARN migrate to the default region (MINISTACK_REGION), so pre-1.4 state created with a client region different fromMINISTACK_REGIONin a non-ARN service reads back under the default region. Contributed by @Areson. - Amazon Bedrock — four new services — the full local Bedrock surface: bedrock control plane (66 operations verified against botocore — foundation-model catalog with real model IDs, inference profiles, guardrails with versioning, custom and imported models, provisioned throughput, and the customization / import / copy / batch-invocation job families), bedrock-runtime (
Converse,ConverseStream,InvokeModel,InvokeModelWithResponseStreamwith real eventstream wire format,ApplyGuardrail, and async invokes — deterministic family-aware mock responses selected by model ID prefix for Anthropic, Titan, Nova, Llama, Mistral, Cohere, and AI21 shapes), bedrock-agent (72 operations — agents, knowledge bases, data sources, ingestion jobs, flows, prompts, tags), and bedrock-agent-runtime (31 operations —InvokeAgent,Retrieve/RetrieveAndGenerate, reranking, sessions, flow executions, prompt optimization). Led by @dcabib. - Amazon MSK — Kafka control plane: cluster lifecycle (
CreateCluster,ListClusters,DescribeCluster,DeleteCluster,ListNodes), configurations with revisions, SCRAM secret association, and tagging.GetBootstrapBrokershonorsMINISTACK_MSK_BOOTSTRAPso clients route to a real broker you bring (Redpanda, Kafka, KRaft) while the control plane stays emulated; the Kafka wire protocol itself is not emulated.
[1.3.72] — 2026-07-06
Added
- EC2 — placement group actions —
CreatePlacementGroup,DeletePlacementGroup, andDescribePlacementGroupsare implemented (they previously failed withInvalidAction: Unknown EC2 action), soaws_placement_groupin Terraform/CDK creates, reads, and deletes against MiniStack. Groups are account-scoped and tagged like every other EC2 resource (pg-ids,CreateTags/DescribeTags, andtag:/group-name/state/strategyfilters), duplicate names returnInvalidPlacementGroup.Duplicateand unknown names returnInvalidPlacementGroup.Unknown, andpartitionCountis emitted only for thepartitionstrategy — matching real EC2. Contributed by @c-julin. - Auto Scaling — groups report in-service instances so capacity waiters converge —
CreateAutoScalingGroup,UpdateAutoScalingGroup, and a newly handledSetDesiredCapacitynow materializeDesiredCapacitymock instances (InService/Healthy, round-robined across the group's Availability Zones), andDescribeAutoScalingGroups/DescribeAutoScalingInstancesreport them. Previously a group reported zero instances forever, so Terraform'saws_autoscaling_groupcapacity waiter blocked for the fullwait_for_capacity_timeoutand then failed on every apply; it now converges. Contributed by @c-julin.
Fixed
- Router — access key extraction from presigned-URL query parameters — the per-request account (multi-tenancy) and CloudTrail attribution were read only from the
Authorizationheader, so a presigned S3 URL created under a non-default account resolved to the default account and returned 404 on the bucket lookup. The access key is now also extracted from the SigV4X-Amz-Credentialand SigV2AWSAccessKeyIdquery parameters, matching how AWS honors query-string credentials as a general signing mechanism. Contributed by @neriyaco. - EKS — OIDC issuer scheme follows the gateway protocol — the cluster OIDC issuer advertised by
DescribeClusterand the discovery document was hardcoded tohttp, so Terraform'saws_iam_openid_connect_provider, which client-side rejects non-https urls, failed at plan time. The scheme now derives fromUSE_SSL:httpswhen the gateway serves TLS,httpotherwise, so the advertised issuer matches what MiniStack actually serves and IRSA Terraform applies against a TLS gateway. - DynamoDB —
UpdateItemvalidates values, andUPDATED_NEW/UPDATED_OLDmatch AWS —UpdateItemnow runs the same attribute and item-size validation asPutItem(it skipped it before), andUPDATED_NEW/UPDATED_OLDreport every attribute the update expression touched — including aSETthat assigns the same value, which was previously omitted as a no-op and diverged from AWS. String-set validation no longer rejects empty-string members. Contributed by @chincharjuin.
[1.3.71] — 2026-07-06
Added
- EventBridge Scheduler — standalone schedules now fire their targets — a background sweep evaluates each
ENABLEDschedule and invokes its target when due, soaws_scheduler_scheduleresources actually deliver instead of being stored inert. Supportsat(yyyy-mm-ddThh:mm:ss)one-time,rate(...), andcron(...)expressions; honorsState,StartDate/EndDate, andActionAfterCompletion: DELETE(one-shot cleanup after a firedat()schedule); and dispatches to Lambda, SQS, SNS, and Step Functions targets, reusing the EventBridge rule dispatch so behavior matches the rules path.FlexibleTimeWindowfires at the nominal time. Reported by @BarkinBalci. - Lambda — event source mappings accept and persist
ScalingConfig(MaximumConcurrency) —CreateEventSourceMappingandUpdateEventSourceMappingnow accept aScalingConfigblock and echo it back on create,GetEventSourceMapping, andListEventSourceMappings, so the SQS-triggerscaling_config { maximum_concurrency = N }on the Terraformaws_lambda_event_source_mappingresource round-trips instead of being silently dropped (which surfaced as a perpetual plan diff).MaximumConcurrencyoutside the AWS-valid 2–1000 range is rejected withValidationException;ScalingConfigis honored only for Amazon SQS event sources (rejected withInvalidParameterValueExceptionon any non-SQS source, matching AWS), and a non-integerMaximumConcurrencyis rejected as a validation error rather than causing a 500.BatchSizeandMaximumBatchingWindowInSecondswere already supported. Contributed by @liammizrahi. - Organizations —
ListParents+ tag ops for the OU Terraform round-trip — addsListParents(ChildId)(returns the single parent AWS reports —{"Parents": [{"Id", "Type"}]},Type=ROOTfor the org root elseORGANIZATIONAL_UNIT— from the_ParentIdalready stored on every OU and account; unknownChildId→ChildNotFoundException) andTagResource/UntagResource/ListTagsForResourcefor taggable org resources. The Terraform/OpenTofuaws_organizations_organizational_unitRead calls bothListParents(to populateparent_id, whichDescribeOrganizationalUnitomits) andListTagsForResourceon every create + refresh — even for an untagged OU. With either missing,applyhard-stops on the read-back (InvalidAction: Operation '<op>' not implemented), so a multi-OU hierarchy never finished creating and was never idempotent; with both, it applies cleanly and re-applies as a no-op. No new state. Contributed by @b-rajesh.
Fixed
- CloudTrail —
CreateTrailpersistsKmsKeyId—CreateTrailacceptedKmsKeyIdbut dropped it (onlyUpdateTrailstored it), soDescribeTrails/GetTrailread it back empty and Terraform'saws_cloudtraildid not converge in a single apply: the firstplanafterapplyshowed akms_key_iddiff that only cleared on a second apply (viaUpdateTrail).CreateTrailnow stores and returnsKmsKeyId, normalized to a full key ARN as real AWS echoes it (a bare key id is expanded; an ARN oralias/...is kept), and omits the field when no CMK is set so an unset trail shows no diff.UpdateTrailnormalizes it the same way and likewise omits it from its response when unset. Contributed by @b-rajesh. - S3 —
GetObjectreturnsx-amz-tagging-count(TagCount) —GetObjectnow reports the object's tag count via thex-amz-tagging-countresponse header (surfaced by SDKs asTagCount), present only when the object carries at least one tag and omitted otherwise, matching AWS. Previously the header was never sent, so boto3 and the AWS SDK for C++ reported noTagCountfor a tagged object. Reported by @vschreiner. - API Gateway v2 —
rawQueryStringstays percent-encoded — the payload-format-2.0 proxy event'srawQueryStringwas rebuilt from URL-decoded query parameters, so%20became a literal space (and a decoded=/&inside a value corrupted the query structure). Rust functions onlambda_http— which build the request URI fromrawQueryString— rejected the space withInvalidUriCharand returned 502. Each key and value is now re-encoded, sorawQueryStringmatches AWS and SDKs parse it correctly. Reported by @crestonbunch. - CloudFormation —
AWS::Lambda::EventSourceMappinground-trips all optional properties and updates in place — a CloudFormation-created mapping previously kept onlyFilterCriteriaand silently droppedDestinationConfig,ParallelizationFactor,MaximumRetryAttempts,MaximumRecordAgeInSeconds,BisectBatchOnFunctionError, andScalingConfig, causing perpetual Terraform/CDK diffs; all are now preserved on create. A stack update that changes the mapping now mutates it in place (same physical id), matchingUpdateEventSourceMapping, instead of re-running create and leaking a duplicate mapping that double-invoked the function; an immutable change (EventSourceArn/StartingPosition) is a proper replacement. Contributed by @maximoosemine.
[1.3.70] — 2026-06-30
Added
- CloudFormation — SAM transform (
AWS::Serverless-2016-10-31) templates are expanded into native CloudFormation — a template carryingTransform: AWS::Serverless-2016-10-31now has its SAM resources expanded into native CloudFormation before provisioning, via the canonicalaws-sam-translator, matching AWS's server-side expansion onCreateStack,UpdateStack, andCreateChangeSet. The dependency is optional and ships in the full image only; a lean image that receives a SAM template returns a clear error pointing to the full image instead of silently failing to expand. Contributed by @maximoosemine. - IAM — group policy attach/detach and inline group policies —
AttachGroupPolicy,DetachGroupPolicy,ListAttachedGroupPolicies,PutGroupPolicy,GetGroupPolicy,DeleteGroupPolicy, andListGroupPoliciesare now implemented, matching the existing User and Role coverage, so the create-group then attach-managed-and-inline-policy pattern works instead of returningInvalidAction: Unknown IAM action. Contributed by @maxflorentin. - SNS — mobile-push endpoint lifecycle:
GetEndpointAttributes,SetEndpointAttributes,DeleteEndpoint,DeletePlatformApplication— completes the platform-endpoint flow on top of the existingCreatePlatformApplication/CreatePlatformEndpoint.CreatePlatformEndpointnow dedups by device token within a platform application (AWS behavior): re-requesting the sameTokenreturns the existing endpoint ARN whenCustomUserDatamatches, and raisesInvalidParameter"Endpoint <arn> already exists with the same Token, but different attributes."when it differs — so callers can parse the ARN and reconcile.Publishto a platform-endpointTargetArnnow succeeds (stub delivery) instead of returningTopic does not exist, andDeletePlatformApplicationis idempotent and drops the application's endpoints. This lets app push-token registration flows (register → read/update attributes → delete) run end-to-end against MiniStack. Contributed by @sjincho.
Fixed
- S3 — S3 → EventBridge events use AWS-conformant
detail-type,reason, anddeletion-type— S3 → EventBridge delivery built thedetail-typeby string-mangling the granular notification event name (Object ObjectCreated Putinstead of AWS's fixedObject Created), hardcodeddetail.reasontoPutObjectfor every event, and omitteddetail.deletion-typeon deletes. Because EventBridge rules match ondetail-type, any rule written to the AWS-documented type (e.g.["Object Created"]) silently never matched. Each S3 event family now maps to its fixed EventBridgedetail-type, with the per-APIreason(PutObject/POST Object/CopyObject/CompleteMultipartUpload/DeleteObject) and adeletion-typeonObject Deleted. Contributed by @lucasmfraser. - API Gateway — failed OIDC discovery is negative-cached so a transient failure no longer causes a 2 hour auth outage —
_fetch_oidc_jwks_uricached the result of OIDC discovery unconditionally, so a single transient failure cachedjwks_uri = Nonefor the full 7200s TTL and every subsequent JWT validation for that issuer fell back to the wrong default path and returned 401/404 for up to two hours, recoverable only by a restart. Discovery now writes the 7200s cache only on success and a short 60s negative cache on failure, so auth recovers within a minute of the issuer becoming reachable while still avoiding a re-run on every request. Contributed by @Pratham2703005. - Lambda — worker respawn cleans up the previous tmpdir and terminates the dead process — when a Lambda worker died between invocations,
_spawn()created a fresh tmpdir without removing the previous one (leaking the extracted function code and layers on disk) and an errored handler setself._proc = Nonewithout terminating the subprocess (leaking ~68 MB per orphaned worker). Respawn now removes the old tmpdir and terminates the previous process first. Contributed by @hiddengearz. - Cognito — OAuth2 Basic-auth client secret containing
+is no longer corrupted — theAuthorization: Basiccredential decode usedunquote_plus, which turns a literal+in a Cognito-generated secret into a space, soclient_secret_basicfailed withinvalid_clientfor the roughly half of generated secrets that contain a+. It now usesunquote, preserving+while still decoding%2F/%2B. Contributed by @jgrumboe.
[1.3.69] — 2026-06-27
Fixed
- EKS —
DescribeClusterreturns a host-reachable endpoint on every path —DescribeClusternow advertises the host-published port,https://{MINISTACK_HOST}:{port}(MINISTACK_HOSTdefaults tolocalhost), uniformly on cluster create, OIDC-config restart, and persistence restore. Previously the failure-fallback and restore paths could leave a stale value, soaws eks update-kubeconfig+ kubectl from the host got an unreachable endpoint. The k3s container publishes 6443 to that host port (ports={"6443/tcp": port}), so the endpoint works from the host and from containers that can route toMINISTACK_HOST, keeping theACTIVE-cluster shape consistent foraws eks update-kubeconfigand Terraform. Contributed by @b-rajesh. - SQS —
SendMessagerejects message bodies with XML 1.0 forbidden characters — AWS SQS only accepts characters valid in XML 1.0 and returnsInvalidMessageContentsfor anything else; MiniStack silently accepted them, so a payload that fails against real AWS passed locally.SendMessage(and everySendMessageBatchentry) now rejects bodies containing C0 control characters other than tab/LF/CR, the surrogate block#xD800–#xDFFF, and#xFFFE/#xFFFFwithInvalidMessageContents. Contributed by @yamachu.
[1.3.68] — 2026-06-25
Fixed
- Cognito — OAuth2 token endpoint URL-decodes HTTP Basic client credentials — a
client_secretcontaining/or+arrives in theAuthorization: Basicheader as%2F/%2B(RFC 6749 §2.3.1 form-urlencodes the client id and secret before base64). MiniStack did not decode them, soclient_secret_basicfailed withinvalid_clientfor any secret with special characters. The credentials are now decoded, matching theclient_secret_postpath. Reported by @pny-nc. - Step Functions —
lambda:invoke.waitForTaskTokendelivers the unwrappedPayload— the callback path forwarded the whole service-integration envelope ({"FunctionName": ..., "Payload": {...}}) to the Lambda instead of just thePayload, unlike the synchronouslambda:invokepath. A handler reading its task token / input from the top level saw them nested underPayload, never resumed the task, and the execution hung until timeout. Contributed by @ryan-bennett. - Step Functions — a failed
lambda:invoketask setsCauseto a JSON-encoded error payload —Causewas the bareerrorMessagestring instead of AWS's JSON object ({"errorType": ..., "errorMessage": ..., "trace": [...]}), soCatchhandlers and downstream tasks thatjson.loads(Cause)to readerrorType/errorMessagefailed to parse it.Causenow matches the AWS wire form. Contributed by @ryan-bennett. - SNS —
lambdasubscribers are delivered to asynchronously — fanout invoked alambda-protocol subscriber synchronously insidePublish, so a slow or hung subscriber Lambda blocked thePublishcall and its upstream caller (e.g. a Step Functions task publishing a notification). Delivery now runs on a background thread, matching AWS's asynchronous SNS→Lambda delivery, soPublishreturns immediately. Contributed by @ryan-bennett.
[1.3.67] — 2026-06-24
Added
- CloudFormation / API Gateway —
AWS::ApiGateway::RestApiimports an OpenAPIBody— a REST API defined inline through theBodyproperty now materializes its paths, methods, andx-amazon-apigateway-integrationblocks as real resources, methods, and integrations, covering the basic SAM-transform Swagger 2.0 + Lambda-proxy shape. Partial support; authorization, request/response validation, and most extensions are not yet handled. Contributed by @maximoosemine. - EC2 — IAM instance profile association APIs —
AssociateIamInstanceProfile,DescribeIamInstanceProfileAssociations,ReplaceIamInstanceProfileAssociation, andDisassociateIamInstanceProfileare now implemented; launch-time associations are backfilled and cleared on termination, so Terraform'saws_instanceiam_instance_profileround-trips without drift. Contributed by @D-artisan.
Changed
- Docs — clarified that the AWS SAM transform macro is not supported —
Transform: AWS::Serverless-2016-10-31is not expanded, so a SAM template still needs the CDK/CloudFormation-synthesized form; the README now points to the IaC docs and MiniStack MCP for current guidance. Contributed by @dashitongzhi.
Fixed
- Cognito — OAuth2 token endpoint no longer consumes the authorization code on a failed client-secret check — a bad or absent client secret consumed the one-time code before failing, so a client that authenticates in two steps (HTTP Basic, then a
client_secret_postfallback, as Go/Vault does) gotinvalid_granton the retry. The client credentials are now validated before the code is consumed, so HTTP Basic client authentication succeeds. Reported by @pny-nc. - API Gateway v1 — literal path segments resolve ahead of a
{param}sibling regardless of creation order — a literal path (e.g./users/verifyUserEmail) returned 405 when a{id}sibling under the same parent was registered first, because resolution followed resource-creation order instead of AWS specificity. Resolution now orders literal >{param}>{proxy+}. Reported by @ethan-dyas438. - RDS Data API —
:nameplaceholders are substituted by whole token — the earlier substring replacement could corrupt an unrelated longer token (a:idparameter ate into a literal:identity) and was fragile around::typecasts. Substitution is now a single token-aware pass, keeping:1/:10distinct, leaving::jsonbcasts intact, and passing through any:wordthat is not a supplied parameter. Reported by @awilson9.
[1.3.66] — 2026-06-22
Added
- ElastiCache — broad parity improvements — built-in
default.*parameter groups for the Redis, Memcached, and Valkey families (including.cluster.onvariants) with AWS-style engine-version→family mapping; seeded defaults are immutable (create/modify/delete/reset rejected with AWS-shaped errors); replication-group creation materializes member cache clusters with metadata, tags, and member IDs and removes them on deletion; create/modify validate user groups withUserGroupNotFound; tag updates fan out to member cluster ARNs; and ElastiCache is now covered by the Resource Groups Tagging API. User and user-group error codes now use AWS's wire forms (UserNotFound,UserGroupNotFound, …). Contributed by @ZiningYin. - IAM — additional AWS-managed policies seeded —
AWSXRayDaemonWriteAccess,AWSXrayReadOnlyAccess, andAWSLambdaRoleare now pre-seeded with their canonical documents, so Terraform's tracing lookup (data "aws_iam_policy" { arn = ".../AWSXRayDaemonWriteAccess" }, used by everyattach_tracing_policy = truemodule) resolves. Contributed by @mattwang44.
Changed
- CI — test suite now runs as balanced parallel shards — the workflow plans shards from a per-file test-count map and runs them across separate runners, with a dedicated serial phase for global-state tests, cutting CI wall-clock time. Contributed by @jgrumboe.
- Build — bumped
github.com/containerd/containerd1.7.32 → 1.7.33 in the Go Testcontainers helper module.
Fixed
- CloudFormation —
aws cloudformation deploywithout--parameter-overridesnow updates resources — a change set created withUsePreviousValue=true(whatdeploysends for existing parameters when no overrides are given) resolved the parameter to an empty value instead of its stored value, so a parameter-driven resource name (e.g.!Sub ${StackName}-handler) resolved wrong and the stack update silently missed the real resource — its code/properties never changed.UsePreviousValueis now resolved against the stack's stored parameters on both the change-set andUpdateStackpaths. Reported by @ankitaabad. - Step Functions —
.waitForTaskTokennow invokes non-Lambda service integrations —arn:aws:states:::sqs:sendMessage.waitForTaskToken(andsns:publish,dynamodb:*,aws-sdk:*, …) scheduled the task but never performed the integration, so the payload carrying the task token was never sent and the execution hung. The callback path now dispatches the integration before blocking, and an objectMessageBodyis JSON-serialized for SQS. Reported by @taylor1791. - RDS Data API — PostgreSQL correctness fixes — psycopg2 connections now autocommit (matching the MySQL path), so a non-transactional
ExecuteStatementis no longer rolled back on connection close; named parameters are substituted longest-first so:1no longer corrupts:10/:18; andjsonbvalues are returned as their stored JSON text instead of an invalid single-quoted Python repr. Reported by @awilson9. - Cognito — token/session invalidation now takes effect —
RevokeToken,GlobalSignOut, andAdminUserGlobalSignOutwere no-ops, so a revoked refresh token still minted new access tokens. They now invalidate the affected refresh tokens, and theREFRESH_TOKEN_AUTHflow honours the revocation. - RDS —
CreateDBInstance/CreateDBClustervalidate parameter-group existence — referencing a non-existent custom parameter group now returnsDBParameterGroupNotFound/DBClusterParameterGroupNotFoundinstead of silently succeeding. - Athena —
GetTableMetadata/ListTableMetadatareturn real columns and partition keys — the responses were empty stubs; they now surface the backing Glue table's columns and partition keys. - SNS —
Publishnow accepts non-stringMessagevalues — Step Functions'arn:aws:states:::sns:publishintegration can passMessageas structured data rather than a plain string; it is now JSON-serialized before delivery instead of failing. Contributed by @noynoy83.
[1.3.65] — 2026-06-19
Fixed
- EC2 — source security groups (
UserIdGroupPairs) now returned byDescribeSecurityGroupRules/DescribeSecurityGroups—AuthorizeSecurityGroupIngress/Egressrules that reference another security group were dropped at ingestion and never surfaced:DescribeSecurityGroupRulesomittedReferencedGroupInfoandDescribeSecurityGroupsreturned an empty<groups>. Source-group pairs are now parsed and emitted by both. Reported by @kamegoro. Contributed by @kurok. - Auto Scaling — instance refresh actions implemented —
StartInstanceRefresh,DescribeInstanceRefreshes, andCancelInstanceRefreshpreviously failed withInvalidAction: Unknown AutoScaling action. They are now handled and recorded on the Auto Scaling group, so a refresh can be started, polled, and cancelled. Contributed by @c-julin. - S3 —
GetBucketOwnershipControlsnow 404s after delete — it always returned a default ownership block (HTTP 200), soDeleteBucketOwnershipControlswas not observable and Terraform's delete waiter looped (found resource), blockingterraform destroy. It now returnsOwnershipControlsNotFoundError(404) once controls have been deleted, while still reporting the default Object Ownership for a never-configured bucket. Contributed by @c-julin. - Glue —
GetUserDefinedFunctionsacceptsjava.util.regex\Q…\Epatterns — real AWS compilesPatternwithjava.util.regex, so clients like Trino's Glue connector send literal-quoted patterns (e.g.trino__\Qname\E__.*); Python'srerejected\Q…\EwithInvalidInputException: Invalid pattern syntax. The literal-quote sequences are now translated before matching. Contributed by @yonatoasis. - API Gateway v2 — CloudFormation provisioner honours the
ms-custom-idtag —AWS::ApiGatewayV2::Apiresources always got a random API id, ignoring anms-custom-idtag in the template even though the directCreateApipath and the v1 REST provisioner already honoured it. The v2 provisioner now resolves the custom id before falling back to a generated one. Contributed by @hiddengearz. - Lambda — function code stored as content-addressed blob files —
get_statebase64-encoded everycode_zipinline intolambda.json, so a deployment with many large zips (e.g. 26 functions × ~30 MB) produced a ~1 GB state file that OOM'd on warm boot while decoding. Code bytes are now written as content-addressed blobs alongside the state and loaded lazily. Contributed by @mattwang44. - Lambda — CloudFormation/CDK-provisioned layers now carry their content — layers created via CloudFormation stored no
_zip_data, so_resolve_layer_zipreturnedNoneat worker spawn and functions could not import their layer packages even thoughListLayersshowed them. The provisioner now stores the layer bytes. - Lambda — CloudFormation-created DynamoDB-stream ESMs anchor
LATESTat create time — matching theCreateEventSourceMappingAPI path, so aLATESTmapping skips records that already existed when the stack was deployed instead of replaying them; no-op for SQS/Kinesis sources. - ECS —
RunTasksecrets now resolve SSM Parameter Store references —containerDefinitions[].secretsvalueFromentries pointing at SSM parameters were previously left unresolved; they are now fetched in-process and injected into the container environment alongside Secrets Manager references.
[1.3.64] — 2026-06-15
Fixed
- Step Functions — mocked
Throwresponses now route toCatch— aSFN_MOCK_CONFIGThrowwas raised above the state's Retry/Catch handling, so the execution always failed instead of routing to a matchingCatchhandler. The mocked error now flows through the same Retry/Catch machinery as a real task failure. Reported by @amissemer. - Glue —
GetUserDefinedFunctionstreatsPatternas a regular expression — the pattern was matched as a glob, so regex patterns (such as the Trino Glue connector'strino__<name>__.*) never matched; an invalid pattern now returnsInvalidInputException. Contributed by @yonatoasis. - S3 —
WebsiteRedirectLocationis now preserved —x-amz-website-redirect-locationset onPutObjectis now stored and returned byGetObject/HeadObject. Contributed by @murlock. - IAM — instance-profile tagging actions implemented —
TagInstanceProfile,UntagInstanceProfile, andListInstanceProfileTagspreviously failed withInvalidAction: Unknown IAM action. They are now handled, tags are stored on the instance-profile object (including tags supplied atCreateInstanceProfiletime), and they read back fromGetInstanceProfile/ListInstanceProfiles(via theTagsmember) andListInstanceProfileTags. This read-back lets Terraform'saws_iam_instance_profilesettle to "No changes" on re-apply instead of detecting tag drift. Contributed by @c-julin. - EventBridge — input transformer reserved variables — substitute
<aws.events.event.json>,<aws.events.event>,<aws.events.rule-name>,<aws.events.rule-arn>, and<aws.events.event.ingestion-time>so CDK-style templates that embed the source event deliver valid JSON. Contributed by @AbdoNile. - CloudFormation —
GetTemplateSummarynow returnsCapabilitiesandCapabilitiesReason— the handler already acceptedTemplateBodyand returnedParameters/ResourceTypescorrectly, but omitted theCapabilitiesandCapabilitiesReasonfields. These are now computed from the template:CAPABILITY_NAMED_IAMfor IAM resources with explicit name properties (RoleName,UserName, etc.),CAPABILITY_IAMfor unnamed IAM resources, andCAPABILITY_AUTO_EXPANDfor templates with aTransform.CapabilitiesReasonuses the format confirmed against the AWS API:"The following resource(s) require capabilities: [<type>]". Contributed by @maximoosemine. - Lambda - CreateEventSourceMapping persists FilterCriteria — CreateEventSourceMapping was silently dropping the FilterCriteria parameter, so any filter specified at creation time was never applied. Contributed by @maximoosemine.
- ECS —
RunTasknow appliescontainerOverrides.commandto the launched Docker container — Overridden commands (including an explicit empty command) were ignored at runtime because the Dockercontainers.run(...)call still used the task-definition command. The effective container definition now carries the matched override command into Docker, while non-overridden containers keep their defaults. Contributed by @noynoy83. - ECS —
RunTasknow injectscontainerDefinitions[].secretsfrom Secrets Manager — secretvalueFromreferences (including the:json-key:form that selects one field from a JSON secret) were silently dropped, so containers started without those environment variables. They are now resolved in-process and merged into the container environment before container overrides are applied; SSM Parameter Store references are not yet resolved. Reported by @kamegoro. Contributed by @kurok. - S3 —
DeletePublicAccessBlocknow actually clears the configuration — after delete,GetPublicAccessBlockreturned a default all-blocked configuration with HTTP 200 instead ofNoSuchPublicAccessBlockConfiguration(404), so the delete was not observable and Terraform'saws_s3_bucket_public_access_blockdelete waiter timed out (found resource), blockingterraform destroy.GetPublicAccessBlocknow returns 404 when no configuration is set (never configured, or deleted). Reported by @kamegoro. Contributed by @kurok. - Lambda - CloudFormation-created ESMs now poll DynamoDB Streams — Before, these streams were not getting polled. Contributed by @maximoosemine.
- CloudWatch Logs — subscription filters now deliver matching log events to the destination Lambda — a
SubscriptionFilter(created via CloudFormation orPutSubscriptionFilter) was provisioned but never forwarded log events, so the processor Lambda was never invoked. Matching events fromPutLogEventsand from Lambda's own log emission are now delivered to Lambda destinations in AWS'sawslogsgzip+base64DATA_MESSAGEenvelope, with a self-loop guard so a filter on a function's own log group can't recurse. Reported by @ankitaabad.
[1.3.63] — 2026-06-13
Fixed
- Step Functions —
Assignis now applied in the mock execution path for JSONata Task states — whenSFN_MOCK_CONFIGwas active,_apply_state_assignwas never called on the mock return branch, so anyAssignblock in a JSONata Task state was silently skipped; downstream states referencing the assigned variables failed withStates.QueryEvaluationError: Undefined variable. The mock branch now mirrors the real execution path by calling_apply_state_assignafter_apply_jsonata_output. Contributed by @amissemer. - Step Functions — Pass state
Parametersnow resolve context object paths —$$.*references resolved tonullin Pass states because_execute_passappliedParameterswithout forwarding the execution context. It now forwards the context correctly when evaluatingParameters, fixing context object resolution for Pass states. Contributed by @noynoy83. - CloudFormation —
DescribeStackResourcesnow honors theLogicalResourceIdfilter — The handler now reads the optionalLogicalResourceIdparameter and, when present, returns only the matching resource or aValidationErrorif it does not exist in the stack. Contributed by @maximoosemine. - Lambda — local executor now exposes dependency layers'
site-packages— the in-process Python worker added<layer>/pythontosys.pathbut not<layer>/python/lib/python<ver>/site-packages, sopip install -tdependency layers failed to import (the docker executor, which uses the AWS runtime image, was unaffected). Reported by @omargr299. - Lambda —
LoggingConfig.LogGroupis honored when emitting CloudWatch logs — handler output was always written to the default/aws/lambda/<name>group instead of the configured or shared log group. Reported by @ankitaabad. - CloudFormation —
AWS::Logs::SubscriptionFilterresource type supported — templates using it no longer fail withUnsupported resource type; the filter provisions against the named log group and is removed on stack delete. Reported by @ankitaabad. - CloudFormation — change sets detect parameter-driven property changes —
aws cloudformation deploysilently no-oped when a property such as a LambdaCodeS3 key was driven by a stack parameter, because the change-set diff compared unresolved templates. It now resolves parameters and intrinsics before diffing, matchingupdate-stack. Reported by @ankitaabad.
[1.3.62] — 2026-06-11
Added
- Glue — Iceberg REST Catalog (Glue-backed) — read-path subset of the Apache Iceberg REST OpenAPI at
/iceberg, mirroring AWS Glue'sglue.<region>.amazonaws.com/icebergendpoint (prefix shapecatalogs/{catalog}), served on thegluecredential scope — distinct from the S3 Tables Iceberg surface, exactly as on real AWS.GET /v1/config,ListNamespaces,GetNamespace,ListTables,LoadTable,HEADTableExists; writes return 501. A Glue table participates when itsParameters["metadata_location"]points at an Icebergmetadata.jsonon MiniStack S3 (written by an external engine such as Trino/Spark; passed through verbatim). Lets DuckDB'sicebergextensionATTACHagainst MiniStack (requiresUSE_SSL=1). Contributed by @yonatoasis. - Glue —
ColumnStatisticsAPI family (Table + Partition) —UpdateColumnStatisticsForTable/GetColumnStatisticsForTable/DeleteColumnStatisticsForTableand the*ForPartitionequivalents, with AWS's{ColumnStatisticsList, Errors}/{Errors}response shapes and per-columnEntityNotFoundExceptionerror entries. Stats are account-scoped, persisted, and cleared when the owning table/partition is deleted. Contributed by @yonatoasis.
Fixed
- CloudFormation —
DescribeStackEventsreturns the initialREVIEW_IN_PROGRESSevent for change-set-created stacks —CreateChangeSetwith--change-set-type CREATEleft the placeholder stack inREVIEW_IN_PROGRESSbut seeded an empty event list, soDescribeStackEventsreturned[]and tools readingStackEvents[0](notablysam deploy) crashed withIndexError. The placeholder stack now emits theREVIEW_IN_PROGRESSevent for theAWS::CloudFormation::Stackresource on creation. Contributed by @maximoosemine. - Step Functions —
ecs:runTask/ecs:runTask.syncno longer dropContainerOverrides— the Pascal→camelCase conversion at the SFN→ECS hand-off only covered top-levelParameterskeys, so nestedOverrides.ContainerOverrides(including resolved"Value.$"entries) andNetworkConfigurationstayed PascalCase and were silently ignored — the container ran with task-definition environment only while the.syncstate still succeeded. The conversion is now recursive. Contributed by @lucasmfraser. - Lambda — layers are reachable in the docker executor, and zip permissions are preserved — the docker RIE executor extracted each layer to
/opt/layer_N, which is not on the runtime's search path, soimportfrom a layer failed; layer contents now merge into/opt(so/opt/python,/opt/lib,/opt/binresolve), exactly as on real AWS. Layer and function zip extraction now also restores unix mode bits, so/opt/bintools and bundled binaries keep their+x. Reported by @omargr299. awslocalworks in TLS mode without--no-verify-ssl— the wrapper now resolves MiniStack's TLS certificate (the auto-generated${TMPDIR}/ministack-tls/server.crt, or aMINISTACK_SSL_CERT/MINISTACK_CA_BUNDLEoverride) and exportsAWS_CA_BUNDLEonly when it points at a real file, so the AWS CLI verifies the cert instead of failing — plain-HTTP usage is untouched. Reported by @ChronosMasterOfAllTime.- Lambda — restored SQS event source mappings resume polling after a warm restart — the ESM poller is started from
lambda_svc's import-time restore, but the module was imported lazily only on a Lambda request, so after a persisted restart a pure-SQS workload (just sending to a mapped queue) never started the poller and the restored mapping satEnabledbut unpolled while messages piled up.lambda_svcis now eager-imported at boot when persisted ESMs exist, so polling resumes exactly like a freshCreateEventSourceMapping. Reported by @ChronosMasterOfAllTime.
[1.3.61] — 2026-06-10
Added
- AmazonMQ (
mq) — new service emulator for AWS MQ, covering both RabbitMQ and ActiveMQ engines. Broker control plane:CreateBroker,ListBrokers,DescribeBroker,UpdateBroker,DeleteBroker,RebootBroker, plusDescribeBrokerEngineTypesandDescribeBrokerInstanceOptions(engine / version / instance / storage matrix sourced from realaws mq describe-broker-instance-optionsoutput). ActiveMQ user management (CreateUser,DescribeUser,UpdateUser,DeleteUser,ListUsers) and broker tagging (CreateTags,ListTags,DeleteTags). Brokers come upRUNNINGimmediately (metadata only, no container);CreateBrokervalidates engine type, version, deployment mode, host instance type, and storage type against the supported matrix. State is account-scoped and persisted. Contributed by @lucas-giaco. - IAM —
GetAccountSummary,GetAccountPasswordPolicy,UpdateAccountPasswordPolicy,DeleteAccountPasswordPolicy,ListAccountAliases,CreateAccountAlias,DeleteAccountAlias— account-level posture reads.GetAccountSummaryreturns computed counts (Users,Groups,Roles,Policies,MFADevices,MFADevicesInUse,AccountMFAEnabled) plus static quotas.GetAccountPasswordPolicyreturnsNoSuchEntity(404) before any policy is set, matching real AWS. Account aliases stored per-account (replace-on-create semantics). Contributed by @lahmish. - IAM —
GenerateCredentialReport,GetCredentialReport— generates and returns the account credential report as a CSV (exact AWS column header). One row per user includingpassword_enabled(from login profiles),mfa_active(from MFA device assignments), andaccess_key_1/2_active(from access-key status). Root account synthetic row included.GetCredentialReportreturnsReportNotPresent(410) when no report has been generated.Contentis base64-encoded per the AWS blob encoding contract. Contributed by @lahmish.
Fixed
- S3 — event notifications now fire for non-default accounts —
PutObject/ object-removed notifications are delivered from a background thread that did not inherit the request's account context, so the worker ran under the default account (000000000000): the account-scoped bucket-notification config resolved empty and the event was silently dropped for any non-default account, while SQS / SNS / Lambda / EventBridge targets resolved under the wrong account. The thread now copies the request context (account + region); thes3:TestEventpath had the same gap and is fixed too. Reported by @rsking.
[1.3.60] — 2026-06-09
Added
- IAM —
CreateLoginProfile,GetLoginProfile,UpdateLoginProfile,DeleteLoginProfile— models whether an IAM user has a console password (the signal that a user is a human).CreateLoginProfilestoresUserName,CreateDate, andPasswordResetRequiredwithout persisting the password value (seed-side).GetLoginProfilereturnsNoSuchEntity(404) when no profile exists.UpdateLoginProfileupdatesPasswordResetRequired.DeleteLoginProfileremoves the profile. All four operations match the real AWS request/response shapes exactly so identity-discovery agents can distinguish humans from service accounts usingget-login-profile. Contributed by @lahmish. - IAM —
CreateVirtualMFADevice,EnableMFADevice,DeactivateMFADevice,ResyncMFADevice,ListMFADevices,ListVirtualMFADevices,DeleteVirtualMFADevice— full virtual MFA device lifecycle.CreateVirtualMFADevicereturnsSerialNumber(ARN formarn:aws:iam::<acct>:mfa/<name>) plusBase32StringSeedandQRCodePNGblobs (base64-encoded).EnableMFADeviceaccepts any TOTP codes (seed-side lenience).ListVirtualMFADevicessupportsAssignmentStatusfilter (Assigned/Unassigned/Any; defaultAny).DeleteVirtualMFADevicereturnsDeleteConflict(409) for assigned devices. Contributed by @lahmish. - IAM —
GetAccountAuthorizationDetails— the one-shot identity graph. ReturnsUserDetailList(inline policies, attached managed policies, group memberships, tags),GroupDetailList,RoleDetailList(inline policies, attached managed policies, instance profiles, tags, assume-role document url-encoded), andPolicies(customer-managed, with url-encoded version documents).Filter.member.Nhonored:User,Group,Role,LocalManagedPolicy.IsTruncated=false; pagination optional. Contributed by @lahmish. - IAM —
CreateSAMLProvider,GetSAMLProvider,ListSAMLProviders,UpdateSAMLProvider,DeleteSAMLProvider,ListOpenIDConnectProviders— SAML IdP CRUD plus OIDC provider enumeration. Accepts any non-emptySAMLMetadataDocument(real AWS requires valid XML ≥1000 chars; that validation is seed-side).GetSAMLProviderreturnsSAMLMetadataDocument,CreateDate,ValidUntil, andTags.ListOpenIDConnectProvidersreturns{Arn}entries (create/get/delete existed previously). Enables agents to enumerate federated IdPs cross-referenced with role trust policies. Contributed by @lahmish. - IAM —
GenerateServiceLastAccessedDetails,GetServiceLastAccessedDetails— Access Advisor generate→get job handshake. Returns a UUIDJobId.GetServiceLastAccessedDetailsreturnsJobStatus=COMPLETEDand an emptyServicesLastAccessedlist (no CloudTrail data). Contributed by @lahmish.
Fixed
- Cognito —
RespondToAuthChallenge/AdminRespondToAuthChallengemerge CUSTOM_AUTH verify result into the pending challenge round — the verify result was appended as a second, metadata-lesssessionentry, splitting one round across two records. AWS records oneChallengeResultper round, carrying bothchallengeMetadata(fromCreateAuthChallenge) andchallengeResult(fromVerifyAuthChallengeResponse) — multi-round flows that read both fields from the same element (e.g. magic-link → SMS-OTP) never advanced. The pending round is now updated in place. Contributed by @AdigaAkhil. - SQS — out-of-range numeric attributes rejected with
InvalidAttributeValue—CreateQueueandSetQueueAttributesaccepted any value and stored it verbatim, soVisibilityTimeout=99999(and every other numeric attribute) was silently kept. NowVisibilityTimeout(0..43200),MaximumMessageSize(1024..262144),MessageRetentionPeriod(60..1209600),DelaySeconds(0..900),ReceiveMessageWaitTimeSeconds(0..20), andKmsDataKeyReusePeriodSeconds(60..86400) are validated against the AWS ranges and rejected withInvalidAttributeValue(400) when outside the documented bounds or non-numeric. Reported by @dcabib. - EventBridge —
anything-buthonors nestedprefix/suffix/wildcardcontent filters —{"anything-but": {"prefix": "TEST-"}}(andsuffix/wildcardvariants) was silently ignored at dispatch and every event matched regardless of the field value, because the handler only recognized literal and list-of-literal forms. The nested-matcher form per AWS docs is now negated correctly: an event whose field matches the nested filter is excluded. Reported by @aldirrix. - ElastiCache — Redis container respawned after restart — with
PERSIST_STATE=1, restored cluster metadata reportedCacheClusterStatus=availablebut the persisted Docker container id no longer existed, so the endpoint was unreachable even thoughDescribeCacheClusterslooked healthy. Restored clusters and replication groups are now marked pending respawn atrestore_statetime and lazily spawned (under a lock to prevent concurrent first-requests from double-spawning) on the first dispatcher call — endpoint metadata is rewritten to the freshly-spawned container before any caller can read it. Failures are logged once and cleared from the pending set (no retry storm). Reported by @ItsSmiffy.
[1.3.59] — 2026-06-05
Added
- CloudFormation — AWS::AppConfig::Environment, ConfigurationProfile, HostedConfigurationVersion, DeploymentStrategy, Deployment — five new provisioners closing the AppConfig CFN surface (Application was added in v1.3.55). Property names, defaults, Ref returns, and Fn::GetAtt attribute names (
EnvironmentId;ConfigurationProfileId+KmsKeyArn;VersionNumber;Id;DeploymentNumber+State) match the AWS CFN reference verbatim.HostedConfigurationVersionenforces the optionalLatestVersionNumberlocking token against the current latest version.Deploymenttags are stored against the AWS-shape ARN (arn:aws:appconfig:{region}:{account}:application/{app}/environment/{env}/deployment/{num}). Reported by @zdenekmartinec. - AppSync — full AWS-standard
AppSyncResolverEventfor AWS_LAMBDA data sources —arguments,source,request.headers,prev,stash,info.{fieldName, parentTypeName, variables}built per the AppSync Lambda-resolver tutorial. ForAWS_LAMBDAauth mode, the authorizer Lambda is invoked first and itsresolverContextis threaded intoidentity. The authorizer event matches the verbatim AWS shape:authorizationToken,requestHeaders, andrequestContextwithapiId/accountId/requestId/queryString/operationName/variables. Unhandled resolver exceptions surface as a GraphQLerrorsentry instead of leaking the RIE error payload asdata. Contributed by @AdigaAkhil. - Glue —
BatchUpdatePartition— closes the last partition action gap; matches AWS's per-entry shape (Entries[*].{PartitionValueList, PartitionInput}in,Errors[*].{PartitionValueList, ErrorDetail{ErrorCode, ErrorMessage}}out). Updates the matched partition in place preservingCreationTimeand refreshingLastAccessTime; per-entryEntityNotFoundExceptionon missing partition; request-levelEntityNotFoundExceptionon unknown table. Contributed by @yonatoasis.
Fixed
- Lambda — layers mount inside the docker executor (DinD) —
_spawn_lambda_containerextracted layers viacontainer.put_archive(...), but the Docker API requires the destination path to already exist in the container; the base Lambda RIE image has/optbut no/opt/layer_Nsubdir, so the call returned 404 (Could not find the file /opt/layer_0 in container ...). The cp now extracts into the existing/optwitharcname=f"layer_{idx}", materialising/opt/layer_N/...from the tar. Also reaps the docker warm-container pool onUpdateFunctionConfiguration(worker-affecting field change) andDeleteFunction, mirroring the in-process worker invalidation from v1.3.58 — without this, the docker pool (keyed onacct:func:zip:CodeSha256) reuses pre-attach containers and the layer is never mounted on the reused container. Reported by @omargr299. - API Gateway v2 — JWT authorizer resolves JWKS via OIDC discovery for non-Cognito issuers —
_resolve_jwks_urlhardcoded{issuer}/.well-known/jwks.json, which 404s for issuers whose keys live elsewhere (Salesforce/id/keys, Okta/oauth2/v1/keys). The resolver now fetches{issuer}/.well-known/openid-configuration, reads the publishedjwks_uri, and caches per-issuer for 2h; the Cognito short-circuit is preserved, and the conventional/.well-known/jwks.jsonpath remains the fallback when discovery is unavailable. Contributed by @Pratham2703005. - S3 —
PutObjectchecksums (SHA256 / SHA1 / CRC32) are stored and surfaced onGetObject/HeadObject—PutObjectpreviously dropped everyx-amz-checksum-*header on the floor andGet/HeadObject(ChecksumMode='ENABLED')returned noChecksumSHA256(or sibling), so SDK-side integrity checks always failed. Now the object record carries an AWS-shapechecksumsdict; client-supplied values are accepted;x-amz-sdk-checksum-algorithm: SHA256 | SHA1 | CRC32triggers server-side compute; a mismatch between the supplied value and the server-computed one is rejected withBadDigest.CopyObjectpropagates the source's checksum (or accepts/computes a new algorithm against the copied body). Versioned reads (GetObject?versionId=X) return the per-version checksum.Get/HeadObjectemit checksum headers only when the request carriesx-amz-checksum-mode: ENABLED, and never on206 Partial Content(a whole-object checksum can't validate a sliced response). Checksums persist across restart via the on-disk meta sidecar. CRC32C / CRC64NVME require optional native libs not in stdlib; rather than silently accept unverifiable client-supplied values for those, ministack rejects the put with a clearInvalidRequestpointing to the supported algorithms. Reported by @Guigoz. - S3 — on-disk bucket directory is account-scoped —
CreateBucketpersisted its directory atDATA_DIR/<bucket>while every object write goes to the account-scopedDATA_DIR/<account>/<bucket>/<key>(via_object_disk_path). The unscopedmakedirsleft a spurious empty folder at the data-dir root that no code path ever used;DeleteBucketleft it behind even after the bucket record was gone._create_bucket/_delete_bucketnow scope the directory to the current account, matching the object-write layout end-to-end. Reported by @rsking. - Glue —
StartJobRunscript resolution + crawler completion under non-default accounts —_resolve_scriptbuilt an unscoped on-disk path while S3 persists objects atDATA_DIR/<account>/<bucket>/<key>, so file-backed Glue scripts never resolved; and_finish_crawlruns on athreading.Timerwhich doesn't copy contextvars, so for any non-default account the account-scoped_crawlersguard missed and the crawler hung inRUNNINGforever. The script path now includesget_account_id()to match the canonical writer; the job-run thread and crawler timer are wrapped withcontextvars.copy_context().run(...)(the same idiom asstepfunctions.py/rds.py) so the request's account is carried into background work. Contributed by @AdigaAkhil.
[1.3.58] — 2026-06-04
Added
- EKS — default
topology.kubernetes.io/zoneandtopology.kubernetes.io/regionlabels on k3s nodes — every cluster's k3s container now receives--node-label topology.kubernetes.io/zone={region}aand--node-label topology.kubernetes.io/region={region}, matching the labels real EKS nodes carry via the AWS cloud-controller-manager. Unblocks topology-aware controllers (Karpenter, Cluster Autoscaler, schedulertopologySpreadConstraints) without manualkubectl label nodeworkarounds. Region resolves throughget_region(). Per-node-group label overrides belong onCreateNodegroup.labels— the AWS-shape-correct surface. Contributed by @b-rajesh. - KMS — Ed25519 (
ECC_NIST_EDWARDS25519) sign/verify —CreateKeyacceptsECC_NIST_EDWARDS25519, returnsSigningAlgorithms=["ED25519_SHA_512","ED25519_PH_SHA_512"](both algorithms per the AWS Developer Guide "Supported signing algorithms for ECC key specs" table).Sign/VerifyforED25519_SHA_512enforcesMessageType=RAWper the AWS Sign API contract ("ED25519_SHA_512 signing algorithm requires MessageType:RAW… cannot be used interchangeably");ED25519_PH_SHA_512(Ed25519ph / HashEdDSA, RFC 8032 §5.1) returnsUnsupportedOperationExceptionrather than route through pure Ed25519 — those signatures would be incompatible with real AWS KMS. Contributed by @KABBOUCHI. - ELBv2 —
SetSubnets,SetIpAddressType,SetSecurityGroups— three load-balancer mutation actions now implemented per botocore output shapes:SetSubnetsreturnsAvailabilityZones+IpAddressType,SetIpAddressTypereturnsIpAddressType,SetSecurityGroupsreturnsSecurityGroupIds(note: notSecurityGroups). - Glue —
CreateUserDefinedFunction/UpdateUserDefinedFunction/DeleteUserDefinedFunction/GetUserDefinedFunction/GetUserDefinedFunctions— full UDF lifecycle atAWSGlue.<verb>. Records carryFunctionName,DatabaseName,ClassName,OwnerName,OwnerType,CreateTime,ResourceUris,CatalogIdper the AWSUserDefinedFunctionoutput shape.GetUserDefinedFunctionshonors the AWS-requiredPatternglob. - IAM — seeded AWS-managed policies for EKS —
AmazonEKSClusterPolicy,AmazonEKSWorkerNodePolicy,AmazonEKS_CNI_Policy,AmazonEKSServicePolicynow resolve to the real AWS policy documents (verbatim from the AWS Managed Policy Reference), not the wildcardAllow *fallback.GetPolicyVersionreturns the real action lists so policy simulators / Terraform diffs match real AWS.
Fixed
- EC2 —
Attachment.AttachTimeon ENI describe —AttachNetworkInterfacenow records the attach timestamp on the ENI's Attachment record;DescribeNetworkInterfacessurfaces it as<attachTime>in the wire XML, matching the AWSNetworkInterfaceAttachmentshape. Required by tools that audit attachment age (Cloud Custodian, Config rules). - Glue —
CreateDatabasehonors top-levelTags—CreateDatabasepreviously droppedTagson the floor; tags are now stored against the database ARN (arn:aws:glue:{region}:{account}:database/{name}) and retrievable viaGetTags.DeleteDatabasecleans them up. - Glue —
UpdateTableoptimistic concurrency viaVersionId— table records now carry a monotonically-increasingVersionId(string, per the AWSTableoutput shape).UpdateTablewith a staleVersionIdreturnsConcurrentModificationException; matching version bumps and applies. Calls withoutVersionIdkeep the old last-write-wins behaviour for back-compat. - ECS —
DeleteServicemarks INACTIVE instead of removing the record — matches the AWS contract: "Services in theDRAININGorINACTIVEstatus can still be viewed with theDescribeServicesAPI operation." Tasks are stopped synchronously, the service stays describable withstatus=INACTIVE, and tags remain attached. Re-creating a service with the same name is allowed once the prior incarnation isINACTIVE(matches the AWS-documented conflict-only-on-ACTIVE/DRAINING rule). - Lambda — layer
CodeSizeand post-attachment invocation —CreateFunction(Layers=[...])andUpdateFunctionConfiguration(Layers=[...])now surface each layer's realCodeSizeonGetFunctionConfiguration.Layers[*].CodeSize(looked up from the published layer version) instead of a hardcoded0.UpdateFunctionConfigurationalso recycles the$LATESTwarm worker when worker-affecting fields change (Layers,Runtime,Handler,Environment,MemorySize,Architectures,VpcConfig,FileSystemConfigs) — without this, a layer attached after the first invoke was never extracted into/opt/layer_Nfor the running worker, andimportfrom the layer failed at handler entry. Reported by @omargr299. - Cognito —
CUSTOM_AUTHtrigger Lambdas no longer deadlock the event loop —_dispatch_idpand_dispatch_identityare nowasyncand run their sync handlers viaasyncio.to_thread. Previously, a Cognito op that invoked a trigger Lambda (Define / Create / Verify auth challenge, pre-token, etc.) blocked the ASGI event loop while waiting for the Lambda HTTP callback that the same loop needed to serve — every CUSTOM_AUTH flow hung at the first trigger. Reported by @aahoughton.
[1.3.57] — 2026-06-03
Added
- EC2 Fleet —
CreateFleet+DescribeFleets— Tier-1 capacity allocation: parsesTargetCapacitySpecification(incl.DefaultTargetCapacityTypefor spot vs on-demand),LaunchTemplateConfigs[*]withOverrides[*], andTagSpecifications.Type=instantlaunches synchronously and returns the populatedInstances/Errorsblocks;Type=maintain/requestreturnFleetIdalone withActivityStatus=pending_fulfillmentandFulfilledCapacity=0per the AWS contract. Total capacity is round-robin distributed across every(config, override)slot, with oneInstances[*]item per non-empty slot carrying its ownLaunchTemplateAndOverrides.DescribeFleetson an unknownFleetIdreturnsInvalidFleetId.NotFound(was silently empty). Unblocks Karpenter / Cluster Autoscaler local validation. Reported by @b-rajesh. Contributed by @b-rajesh. - EKS — OIDC Identity Provider Config —
AssociateIdentityProviderConfig,DescribeIdentityProviderConfig,DisassociateIdentityProviderConfigat/clusters/{name}/identity-provider-configs/{verb}. Required-field validation (oidc.identityProviderConfigName,issuerUrl,clientId); duplicate or any-second OIDC config rejected withResourceInUseException(real AWS allows one OIDC IdP per cluster); IdP ARNarn:aws:eks:{region}:{account}:identityproviderconfig/{cluster}/oidc/{name}/{uuid}returned at associate time and stable across describes so Terraform / CDK / Pulumi don't see drift; tags wired throughListTagsForResource(resourceArn=idp_arn). Issuer URL + client ID + optional username/groups claims are forwarded to the k3s API server via--kube-apiserver-arg=oidc-*flags on restart. Cluster status staysACTIVEthroughout (the work is carried in the returnedupdaterecord, not on the cluster). Contributed by @b-rajesh. - SQS —
/_ministack/sqs/messagesadmin endpoint —GETreturns every queue's messages grouped by account (MessageId,Body,MD5OfBody,SentTimestamp,VisibleAt,IsVisible,ReceiveCount,FirstReceiveTimestamp,MessageAttributes,Attributes,MessageGroupId,MessageDeduplicationId,SequenceNumber). Optional?account=<12-digit>and?QueueUrl=<url>filters. Pure introspection — does not mutatevisible_at/receive_count/ any field a concurrentReceiveMessagetouches. Mirrors the existing/_ministack/ses/messagespattern. Reported by @mbamber. MINISTACK_RDS_PUBLIC_ENDPOINTenv var — set1when ministack itself runs in Docker but RDS clients reach the engine from outside that Docker network (remote ministack host, CI runners, host-side clients).DescribeDBInstancesthen returns{MINISTACK_HOST, host_port}— the published host port — instead of the container-internal address that's invisible from outside the network. Off by default, so existing deployments (native, or in-Docker with apps on the same network) keep their current behavior byte-for-byte.
Fixed
- AppConfigData —
StartConfigurationSessionaccepts identifier by ID or name —ApplicationIdentifier,EnvironmentIdentifier, andConfigurationProfileIdentifierare documented inservice-2.jsonas accepting either form; ministack previously treated them as IDs only, so passing names (a perfectly valid AWS pattern) produced a session token that referred to a non-resolvable triple. Each identifier is now resolved through ID-first / name-fallback lookups; unresolved →ResourceNotFoundException404. Contributed by @LiamMacP. - DynamoDB —
ExportTableToPointInTimereturnsIN_PROGRESSat submit,COMPLETEDonly after the grace window — the handler previously setIN_PROGRESSthen overwrote it toCOMPLETEDon the very nextDescribeExportcall, so callers never observed an in-progress export. Submit now returnsIN_PROGRESSand the flip happens in_describe_exportonly afterMINISTACK_DDB_EXPORT_COMPLETE_AFTER_SEC(default 1s) has elapsed — matching real AWS, which always reportsIN_PROGRESSat submit time. Reported by @hicksy. Contributed by @HarrisonTCodes. - DynamoDB —
ImportTablereturnsIN_PROGRESSat submit,COMPLETEDonly after the grace window — same fix shape:ImportTablewas building the response withImportStatus=COMPLETEDsynchronously, never giving callers a chance to observe the in-progress state real AWS guarantees. Now startsIN_PROGRESSwith noEndTime;DescribeImportflips toCOMPLETEDand stampsEndTimeafterMINISTACK_DDB_IMPORT_COMPLETE_AFTER_SEC(default 1s). Reported by @hicksy. - DynamoDB PartiQL —
UPDATE/DELETEwith a false non-key predicate now returnsConditionalCheckFailedException—UPDATE "t" SET n=9 WHERE pk='x' AND name='beta'against an item withname='alpha'previously silently no-op'd (PartiQL handlers iterated all rows and matched none). AWS treats the non-key clauses as a conditional check on the PK-targeted item: if the targeted item doesn't exist or any non-PK predicate fails, the request must surfaceConditionalCheckFailedExceptionand leave the item unchanged. Also:UPDATE/DELETEwithout an=clause on every primary-key attribute now returnsValidationExceptionup front instead of falling through to the table scan. Reported by @hicksy. - EKS — IdP changes no longer mutate cluster status —
AssociateIdentityProviderConfig/DisassociateIdentityProviderConfigpreviously flippedcluster.statustoUPDATINGduring the k3s restart, then back toACTIVE. Real AWS keeps the clusterACTIVEthroughout — the work is carried in the returnedUpdaterecord, not on the cluster shape. Onlycfg.statusis mutated now. The destructive k3s restart that wipes in-cluster workloads on associate/disassociate (a local-emulator limitation — k3s can't hot-swap kube-apiserver flags) is logged as a warning so the side effect is surfaced. - EC2
CreateFleet— shape parity restored —InstancesandErrorsare now emitted only whenType=instant(the AWS-documented constraint); formaintain/requestthe response is<fleetId>alone, instances launch asynchronously,FulfilledCapacity=0,ActivityStatus=pending_fulfillment.DefaultTargetCapacityType(notType) drivesLifecycle/SpotTargetCapacity/OnDemandTargetCapacity— the previous code comparedfleet_type == "spot", which is dead since theFleetTypeenum is{request, maintain, instant}and never contains"spot". Multi-config × multi-override distribution: everyLaunchTemplateConfigs[*].Overrides[*]slot now receives its share ofTotalTargetCapacity(round-robin) and renders its ownInstances[*]item with the correctLaunchTemplateAndOverrides. Tag-spec parser also accepts the AWS pluralTagSpecifications[*].Tags[*]shape alongside the previous singular. - EC2
DescribeFleetswith an unknownFleetId→InvalidFleetId.NotFound— previously dropped silently from the fleet set, so callers had no signal that a typo'd ID hadn't matched anything. Real EC2 returns the error envelope (HTTP 400); known IDs are preserved in the requested order alongside.
Changed
MINISTACK_HOSThonored consistently across services —ecs._discover_poll_endpoint,elasticache._spawn_redis_container,opensearch._spawn_dataplane,lambda_svc._execute_function_local(subprocessAWS_ENDPOINT_URL) and several response-URL builders previously had"localhost"hardcoded and ignoredMINISTACK_HOST. They now resolve through a module-level_MINISTACK_HOST = os.environ.get("MINISTACK_HOST", "localhost"), so a ministack running on a different host can be reached over the network with the standard describe-... commands (setMINISTACK_HOST=<remote-ip>at boot). Default behavior unchanged for existing localhost deployments. Contributed by @neriyaco.
[1.3.56] — 2026-06-02
Added
- Cognito User Pools —
CUSTOM_AUTHflow with DefineAuthChallenge / CreateAuthChallenge / VerifyAuthChallengeResponse triggers —InitiateAuth/AdminInitiateAuth/RespondToAuthChallenge/AdminRespondToAuthChallengenow run the full custom-auth state machine through the configured Lambdas.DefineAuthChallengedecides next-step /issueTokens/failAuthentication;CreateAuthChallengebuilds public + private challenge parameters carried through the opaque session token;VerifyAuthChallengeResponseevaluates the answer. Session TTL honors the client'sAuthSessionValidity(minutes), capped at 3 answered rounds per AWS. Unblocks passwordless / magic-link / SMS-OTP flows that previously failed withUnsupported AuthFlow: CUSTOM_AUTH. Reported by @aahoughton. Contributed by @AdigaAkhil. - EKS Access Entries (modern IAM bindings — replace aws-auth ConfigMap) — 8 new ops at
/clusters/{name}/access-entries[/{principalArn}[/access-policies[/{policyArn}]]]:CreateAccessEntry,DescribeAccessEntry,ListAccessEntries,UpdateAccessEntry,DeleteAccessEntry,AssociateAccessPolicy,DisassociateAccessPolicy,ListAssociatedAccessPolicies.accessScopevalidated against{cluster, namespace}withnamespacesrequired when scope is namespace-bound; deleting an access entry cascades its associated policies. Unblocks Crossplaneaccessentry.eks.aws.upbound.io, Terraformaws_eks_access_entry+aws_eks_access_policy_association, and any tool using the post-1.29EKS IAM binding API. Reported by @b-rajesh.
Fixed
- Lambda —
_X_AMZN_TRACE_IDinjected forTracingConfig.Mode=Active— the runtime env var the AWS X-Ray SDK reads on every segment was never being set, soaws-xray-sdk-pythonraisedMissing AWS Lambda trace data for X-Rayon any active-tracing function. Now synthesized per invocation (Root=1-<8hex>-<24hex>;Parent=<16hex>;Sampled=1) and threaded into the warm worker pool (Python + Node bootstraps pop the event field intoos.environ/process.env), the provided-runtime executor (per-spawnproc_env), and the local subprocess executor. The docker RIE executor is documented as unsupported — AWS RIE itself drops X-Ray, the pool reuses containers so a baked env would go stale — and now logs a warning when Active mode is configured on that path. Reported by @arivazhaganjeganathan-abc. - Firehose — Lambda processor invoked in the delivery pipeline —
ProcessingConfiguration.Processors[].Type=Lambdawas persisted on the destination but never consulted at invocation time; records flowed straight to S3 without the configured transformation. The full AWS contract is now honored: per-batch event{invocationId, deliveryStreamArn, region, records:[{recordId, approximateArrivalTimestamp, data}]}, response{records:[{recordId, result, data}]}withresult ∈ {Ok, Dropped, ProcessingFailed}.Ok→ transformeddatawritten downstream;Dropped/ProcessingFailed→ omitted; Lambda not-found / crash / malformed body → records pass through unchanged (best-effort per AWS). Applies to bothPutRecord/PutRecordBatchandKinesisStreamAsSourcefan-out. Reported by @arivazhaganjeganathan-abc. - Cognito CUSTOM_AUTH —
issueTokenson the cap-boundary attempt now wins overMaxAttempts— a correct answer on the 3rd round (cap boundary) was being silently rejected withMax authentication attempts exceededbecause the cap check fired before theissueTokensbranch. The cap is meant to prevent a NEXT (4th) round, not penalize success on the boundary. Reordered:failAuthentication→issueTokens→ max-attempts → next round. Applies to bothRespondToAuthChallengeandAdminRespondToAuthChallenge. - DynamoDB — AWS-canonical error-message parity across 24 operations —
PutItemset-duplicates now include the collection contents (Input collection [a, a] contains duplicates.);UpdateItemsyntax errors carry token-context (token: "INVALID", near: "INVALID SYNTAX");QueryemptyKeyConditionExpressionshort-circuits before unused-EAV;ScanLimit=0quotes the value (Value '0' at 'limit');ScanSegmentnegative path returns the standard1 validation error detectedenvelope with lowercasesegment; redundant-parentheses check pre-fires onFilterExpression/KeyConditionExpressionso empty tables still reject (rather than silently passing);begins_withnon-string operand pre-validated at parse time.BatchExecuteStatementper-statementError.Codenow drops theExceptionsuffix to matchBatchStatementErrorCodeEnum(DuplicateItem/ResourceNotFound).TransactGetItemsreports per-action missing-key errors viaTransactionCanceledExceptioncancellation reasons (not a request-level error).CreateTable>2 KeySchemaerror dumps the Java-toStringKeySchemaElement(attributeName=…, keyType=…)shape.GetItem/TransactGetItemsProjectionExpressionparses syntactically + rejects reserved keywords up front.UpdateItempre-rejects mutation of hash / range key attributes regardless of whether the item exists.BatchWriteItem/TransactWriteItems/TransactGetItemssize-exceeded errors include the AWS-shape Java-toString dump in the envelope.
[1.3.55] — 2026-06-01
Added
- AWS Elemental MediaConnect — control-plane stub —
CreateFlow,DescribeFlow,ListFlows,UpdateFlow,ListTagsForResourceat/v1/flows[/{FlowArn}]and/tags/{ResourceArn}.ListFlowsreturns the slimmer AWSListedFlowprojection (no Outputs/Sources/Entitlements);UpdateFlowis narrow to the AWS-allowed top-level fields (SourceFailoverConfig,Maintenance,SourceMonitoringConfig,NdiConfig); flow records use the wire-form camelCase keys per the AWS REST-JSON model. No real streaming/transcoder — flows are control-plane metadata, enough to integration-test services that wrap the MediaConnect API. Reported by @tashif-hoda. - EKS
AssociateEncryptionConfig+ OIDC discovery / JWKS for IRSA — newPOST /clusters/{name}/encryption-config/associatereturns anupdateenvelope and rejects re-association (matches AWS, which only allows adding encryption to a cluster that has none). Clusteridentity.oidc.issuernow points at a ministack-hosted URL (/oidc/id/{32-char-id}) instead of the realoidc.eks.{region}.amazonaws.com(unreachable from clients);GET <issuer>/.well-known/openid-configurationandGET <issuer>/keysare served at the AWS-shape paths, withauthorization_endpoint: "urn:kubernetes:programmatic_authorization"andclaims_supported: ["sub","iss"]matching the real EKS discovery document. A single RSA keypair is generated lazily on first request and shared across clusters — sufficient for Terraform'saws_iam_openid_connect_providerto fetch the document. Reported by @b-rajesh.
Fixed
- API Gateway v2 Lambda-proxy —
Set-Cookiefromheadersand thecookiesarray now both ship — observed real-AWS behavior is to emit the array entries first followed by anySet-Cookiecarried inheaders; the earlier supersede approach silently dropped the header cookie. Case-insensitive on the header key.Contributed by @rmlasseter. - API Gateway v2 Lambda-proxy —
isBase64Encodedhonored in both directions — request bodies for binary content types are now base64-encoded withisBase64Encoded: true; response bodies markedisBase64Encoded: trueare decoded to raw bytes (HTTP API v2 has nobinaryMediaTypesnegotiation — it's unconditional). The text/binary split for the request body (onlytext/*andapplication/json/application/xml/application/javascriptarrive as UTF-8 strings; everything else, including a missingContent-Typeandapplication/x-www-form-urlencoded, is base64) matches the AWS-observed behavior. Contributed by @rmlasseter. - API Gateway v1 Lambda-proxy —
binaryMediaTypesis now wired — request bodies whoseContent-Typematches a configuredbinaryMediaTypeare delivered base64-encoded withisBase64Encoded: true; response bodies withisBase64Encoded: trueare decoded to raw bytes only when the requestAcceptalso matches abinaryMediaType.binaryMediaTypeswas stored on the API record but inert at invocation before this. Wildcards (*/*,type/*) honored on the configured side; a request value of*/*does NOT auto-match specific configured types — verified against real AWS. Contributed by @rmlasseter. - API Gateway v2 Lambda-proxy — case-insensitive header override — a lowercase
content-type(or any case-mismatched header) from a Lambda response now replaces ministack's seeded default rather than shipping a duplicate header. HTTP field names are case-insensitive per RFC 9110 §5.1. Contributed by @rmlasseter. - API Gateway v1 Lambda-proxy — case-insensitive header override — same fix on the
headersmerge for REST APIs: the v1 builder previously case-folded only themultiValueHeadersmerge, so a lowercasecontent-typeshipped twice; it now overrides the default and is emitted once. Contributed by @rmlasseter.
[1.3.54] — 2026-05-30
Added
- EKS addons —
CreateAddon,DescribeAddon,ListAddons,UpdateAddon,DeleteAddonat/clusters/{name}/addons[/{addonName}[/update]]. Status flips toACTIVEon create / update (the same shortcut the nodegroup path already uses — Terraform polls untilACTIVEso a slow-roll status would only stall plans). Tags + persistence wired through the existing patterns. Unblocksaws_eks_addonfor the standard cluster bootstrap (vpc-cni,coredns,kube-proxy,aws-ebs-csi-driver). Reported by @b-rajesh.
Fixed
- API Gateway Lambda-proxy
Set-CookieandmultiValueHeadersnow reach the client — v2 maps the payload-format-2.0cookiesarray to a list-valuedSet-Cookie(RFC 6265 §3 forbids comma-folding); v1 folds the format-1.0multiValueHeadersinto the response with multiValueHeaders winning overheaderson key collision per the AWS contract;app.py:_send_responseexpands list-valued headers into one wire line per entry. Collision check is case-insensitive (HTTP headers are case-insensitive per RFC 7230 §3.2), soSet-Cookieinheadersplusset-cookieinmultiValueHeaderscorrectly resolves to MVH wins instead of shipping both. Contributed by @rmlasseter. - DynamoDB data-plane table-name length range —
PutItem/GetItem/UpdateItem/DeleteItem/Query/Scannow accept the AWS-documented 1..255 range (the 3-char minimum is a control-plane-only rule onCreateTable). NULL-attribute error message text aligned to"Null attribute value types must have the value of true". - EC2 launch template version XML shape —
CreateLaunchTemplateVersionreturns a single<launchTemplateVersion>struct;DescribeLaunchTemplateVersionswraps the same struct in<launchTemplateVersionSet><item>…</item></launchTemplateVersionSet>. The<item>wrapper now belongs at the list-context boundary, not on the inner struct — matching the AWS Query-protocol response. Reported by @b-rajesh.
[1.3.53] — 2026-05-30
Added
- Firehose
KinesisStreamAsSource→ S3 fan-out — delivery streams of typeKinesisStreamAsSourcewith anExtendedS3/S3destination now actually consume records from the source Kinesis stream and forward them to S3. Previously the source configuration round-tripped onDescribeDeliveryStreambut no consumer ever read the records. Fan-out fires inline from KinesisPutRecord/PutRecords(same pattern as SNS→SQS), honorsPrefixandDeliveryStartTimestamp, and is best-effort so it can't break the producer. Reported by @arivazhaganjeganathan-abc.
Fixed
- DynamoDB error-message conformance against dynamodb-conformance.org Tier 3 — 30+ message-text fixes so the exact AWS strings are returned. Highlights:
BatchWriteItem/BatchGetItememptyRequestItems("The requestItems parameter is required."); over-limit batches now use the canonical1 validation error detected: …format; non-existent-table responses acrossGet/Put/Delete/Update/Scan/Batch*/Transact*all return"Requested resource not found"; emptyKeyConditionExpression/UpdateExpressionuse the"Invalid {Expression}: The expression cannot be empty;"template; undefined:val/#namereferences are now scoped to the specific expression ("Invalid FilterExpression: An expression attribute value used in expression is not defined; attribute value: :v");ExpressionAttributeValues/ExpressionAttributeNameswithout any expression use"… can only be specified when using expressions";ScanSegmentvalidation uses AWS's exact phrasing; set-duplicate / NULL / empty-BS /KeySchema/ LSI-on-hash-only / duplicate-index-name / billingMode / tableClass / deletion-protection /Limit/ GSI-not-found messages all aligned. Empty binary is now accepted in non-key attributes per the AWS data-types reference.ListTagsOfResourceon a syntactically-valid but non-existent ARN returnsAccessDeniedException(security-through-obscurity —TagResource/UntagResourcekeepResourceNotFoundException). - DynamoDB projection and parallel-scan correctness — GSI / LSI
INCLUDEandKEYS_ONLYprojections are now enforced onQueryandScan(items trimmed to declaredNonKeyAttributes+ keys); parallelScanpartitions items deterministically across segments by hashing the partition key (previously every segment returned every item); LSI sparse semantics drop items lacking the index range-key attribute. - EFS resource-not-found errors are now per-resource-type —
TagResource/UntagResource/ListTagsForResourcereturnFileSystemNotFound(404) forfs-*ARNs,AccessPointNotFound(404) forfsap-*, andBadRequest(400) for unrecognised EFS resources, matching the AWS API reference. - S3 Tables
NoSuchNamespaceException/NoSuchTableException→NotFoundException(canonical S3 Tables shape). - CloudFront KeyValueStore routing fallback →
ValidationException(was the inventedInvalidRequestException). - API Gateway v1
MethodNotAllowedException(405) →BadRequestException(400) on the unsupported-method branch — APIGW v1 doesn't define a 405 exception in its model. - ECS
InvalidRequest/ServiceAlreadyExists→ClientException(AWS ECS usesClientExceptionas the client-error catch-all). - AWS Batch routing fallback →
ClientException(onlyClientException/ServerExceptionare in the Batch model). - MWAA
InvalidRequestException/ResourceAlreadyExistsException→ValidationException(the MWAA model exposes neither). - OpenSearch JSON-parse errors →
ValidationException(was the inventedInvalidPayloadException). - Account routing fallback →
ValidationException(wasInvalidRequest). - KMS, MWAA, Inspector2 no longer leak Python exception text — generic catch blocks were forwarding
str(e)as the AWS error message onInvalidCiphertextException/InternalServerException/InternalServerError. Responses are now opaque per AWS convention. - IMDS instance-profile ID literal is now assembled at runtime — credential-pattern secret scanners (e.g. AquaSec) were false-flagging the
AIPA…literal inimds.pyas a leaked instance-profile ID. The 20-character wire response is unchanged; the source no longer contains a contiguousAIPA…string. Reported by @diplomatic-ms.
[1.3.52] — 2026-05-29
Added
- Lambda Durable Functions (Durable Execution) — full support for the AWS Lambda durable functions preview API (
2025-12-01), includingCreateFunctionwithDurableConfig,CheckpointDurableExecution,GetDurableExecutionState,GetDurableExecution,GetDurableExecutionHistory,ListDurableExecutionsByFunction,StopDurableExecution, and the three external callback opsSendDurableExecutionCallbackSuccess,SendDurableExecutionCallbackFailure,SendDurableExecutionCallbackHeartbeat. End-to-end verified against the officialaws-durable-execution-sdk-python(1.5.0) andaws-durable-execution-sdk-java(2.44.13). A resume scheduler firesWAITexpiries, callback timeouts (Callback.Timeout/Callback.Heartbeat), and step-retry backoffs (NextAttemptDelaySeconds). State persists across restarts — the in-memory callback index is rebuilt from restored executions on boot and pending timers are re-armed. Reported by @youngkwangk. - S3 object tagging by
versionId—GET/PUT/DELETE?tagginghonor theversionIdquery parameter, andPutObject/POSTform upload now store thex-amz-taggingheader against the resulting version rather than the object key, matching AWS's versioned-tagging semantics. Reported by @barrywilks7. - CloudFormation
AWS::AppConfig::Application— create and delete provisioners for the AppConfig application resource type, wired into the existing CloudFormation dispatcher. Reported by @zmartinec.
Fixed
- DynamoDB gap closing — additional alignment work across DynamoDB validators and response shapes.
- Lambda durable
MaxItemspagination —ListDurableExecutionsByFunction,GetDurableExecutionState, andGetDurableExecutionHistorynow return 400InvalidParameterValueExceptionwhenMaxItemsis outside the AWS-documented[0, 1000]range, instead of silently clamping. - Lambda durable
CheckpointDurableExecutionvalidation —OperationUpdateentries with missingId/Type/Actionor with aTypeoutsideEXECUTION/CONTEXT/STEP/WAIT/CALLBACK/CHAINED_INVOKEare rejected with 400InvalidParameterValueExceptioninstead of being silently stored as garbage operations. - Lambda durable
StopDurableExecutionon terminal — calling Stop on an already-terminal execution returns 400InvalidParameterValueExceptionper the AWS-documented "Stops a running durable execution" contract.
[1.3.51] — 2026-05-27
Added
- DynamoDB Backups —
CreateBackup,DescribeBackup,DeleteBackup,ListBackups,RestoreTableFromBackup, andRestoreTableToPointInTime. Restore rebuilds the target table with the snapshot's items, key schema, and indexes;BillingModeOverride,GlobalSecondaryIndexOverride, andLocalSecondaryIndexOverrideare honored. State persists across restarts via the existing ministack persistence hooks. - DynamoDB Export / Import —
ExportTableToPointInTime,DescribeExport,ListExports,ImportTable,DescribeImport,ListImports. Both ops are idempotent onClientToken. The emulator completes exports synchronously and re-creates the destination table fromTableCreationParameterson import. Driven by the dynamodb-conformance.org gap report. - DynamoDB Contributor Insights —
UpdateContributorInsights,DescribeContributorInsights,ListContributorInsights. ENABLING→ENABLED and DISABLING→DISABLED state machine matches the way real AWS settles status on subsequentDescribecalls; optionalIndexNameis validated against the table's GSI list. - DynamoDB Resource-Based Policies —
PutResourcePolicy,GetResourcePolicy,DeleteResourcePolicywith full revision-id semantics.ExpectedRevisionIdmismatches raisePolicyNotFoundException, including theNO_POLICYconditional path documented in the AWS API reference. Policy size is capped at 20 KB per the AWS quota. - DynamoDB PartiQL transactions and batches —
BatchExecuteStatementandExecuteTransaction, includingClientRequestTokenidempotency, all-or-nothing rollback on any statement failure, andDuplicateItemExceptiononINSERTagainst an existing primary key.ExecuteStatementnow also returnsConsumedCapacitywhenReturnConsumedCapacityis set. - DynamoDB
DescribeLimits— returns canonical account- and table-level read/write capacity limits. - EC2
CreateSecurityGroupreturnsSecurityGroupArn,DeleteSecurityGroupreturns the deletedGroupId, andRevokeSecurityGroupEgressreturnsRevokedSecurityGroupRules— security group lifecycle responses now carry the fields real AWS emits, so workflows that inspect create / revoke / delete output get the same shapes as production. Contributed by @Areson.
Fixed
- DynamoDB item-level validation —
PutItem,BatchWriteItem, andTransactWriteItemsnow reject emptySS/NS/BS, duplicate set elements, and empty strings for hash or sort key values. Numbers are canonicalized (leading-zero strip, negative-zero normalization, trailing-decimal trim) and bounded to 38 significant digits and magnitude[1E-130, 9.9999...E+125]. The 400 KB item-size cap is now enforced with attribute names contributing to the total per the AWS Developer Guide accounting. - DynamoDB batch caps —
BatchWriteItemrejects more than 25 requests,BatchGetItemrejects more than 100 keys, both with the AWS-canonical validation error. Duplicate target keys are rejected in both ops, andBatchGetItemagainst a non-existent table now raisesResourceNotFoundExceptionup front instead of silently routing the table toUnprocessedKeys. - DynamoDB transaction caps and accounting —
TransactWriteItemsandTransactGetItemscap at 100 actions,TransactWriteItemscaps at 4 MB total payload, both reject duplicate target keys, and both returnConsumedCapacityat 2× the per-item rate per the AWS Developer Guide.ClientRequestTokenidempotency raisesIdempotentParameterMismatchExceptionon payload mismatch. - DynamoDB
CreateTablevalidation — table name pattern[A-Za-z0-9_.-]+and length 3-255, exactly oneHASHand at most oneRANGEinKeySchema, every key attribute must appear inAttributeDefinitionswith no unused entries, duplicateIndexNameacross LSI/GSI rejected, LSIs require aRANGEkey on the base table and must use the sameHASHkey,BillingModeenum enforced,ProvisionedThroughputonly allowed onPROVISIONEDtables.TableClass,OnDemandThroughput, and AWS-managed-keySSEDescriptionnow round-trip viaDescribeTable. - DynamoDB
UpdateTablevalidation — rejects PROVISIONED → PROVISIONED no-op, rejectsProvisionedThroughputwithPAY_PER_REQUEST, rejects zero or negative capacity values, validatesTableClassenum, adds GSI duplicate-name and undefined-attribute detection, and returnsResourceNotFoundExceptionwhen deleting or updating a non-existent GSI.OnDemandThroughputchanges round-trip viaDescribeTable. Deletion protection onDeleteTableis enforced. - DynamoDB
Queryvalidation —KeyConditionExpressionmay only reference key attributes (returnsQuery condition missed key schema elementon violation), emptyKeyConditionExpressionrejected,Selectenum enforced (ALL_PROJECTED_ATTRIBUTESonly on an indexed query,SPECIFIC_ATTRIBUTESrequires aProjectionExpressionorAttributesToGet),ConsistentRead=trueon a GSI rejected,Limit >= 1enforced, malformedExclusiveStartKeyrejected. - DynamoDB
Scanvalidation —Segment/TotalSegmentsco-requirement and range checks,Limit >= 1,ConsistentReadon a GSI rejected,Selectenum same asQuery,ScanFilter+FilterExpressionmutually exclusive,AttributesToGet+ProjectionExpressionmutually exclusive. - DynamoDB
UpdateItemsemantics —SETreferences now resolve against the pre-update snapshot of the item (soSET a = b, b = :vassigns the OLD value ofbtoa), an intermediate path that doesn't exist is rejected, hash- and range-key attribute mutation is rejected,REMOVEwithReturnValues=UPDATED_NEWomitsAttributesfrom the response (no new values to report), and emptyUpdateExpressionis rejected. - DynamoDB
GetItemProjectionExpressionhonors nested paths — nested map paths (level1.level2.leaf), list indexes (items[1]), combined nested + index (rec.tags[0]), and multiple sibling paths under the same root all return the correctly-pruned attribute tree instead of the whole root attribute. - DynamoDB
ReturnValuesandReturnItemCollectionMetricsper op — invalidReturnValuesenum is rejected per op (PutItemandDeleteItemonly acceptNONEandALL_OLD), invalidReturnItemCollectionMetricsrejected, andSIZEreturns the AWS shape{ItemCollectionKey, SizeEstimateRangeGB}on tables with at least one LSI. - DynamoDB binary keys order bytewise and
size()counts UTF-16 code units — binary sort keys are compared after base64 decoding sob'\x01' < b'\xff',begins_withon binary now decodes both operands before comparing prefixes, andsize(s)returns the UTF-16 code-unit count for strings (a surrogate-pair emoji counts as 2) and the decoded byte length for binary, matching the AWS Developer Guide. - DynamoDB rejects unaliased AWS reserved keywords in expressions — every bare identifier in
ConditionExpression,UpdateExpression,FilterExpression,KeyConditionExpression, orProjectionExpressionthat matches the canonical AWS DynamoDB reserved-word list is now rejected withAttribute name is a reserved keyword; reserved keyword: <word>. Users must alias the name viaExpressionAttributeNamesexactly as with real AWS. - DynamoDB rejects redundant parentheses and
contains(x, x)— the((expr))pattern is rejected across all expression fields (returns the AWS "expression has redundant parentheses" validator), andcontains()with structurally identical operands is rejected with the AWS "operands must be distinct" message. - DynamoDB
ExpressionAttributeNames/ExpressionAttributeValuesbookkeeping — every defined#aliasand:placeholdermust be referenced by some expression in the request, and every#aliasor:placeholderused in an expression must be defined. Mismatches return the AWS-canonical "unused" or "not defined" validation error instead of silently passing. - DynamoDB PartiQL
INSERTagainst an existing item now raisesDuplicateItemException— previously emittedConditionalCheckFailedException. Matches the error code listed in botocore'sExecuteStatementservice-2.json shape. - DynamoDB
TagResource/UntagResource/ListTagsOfResourcevalidate theResourceArn— non-DynamoDB ARNs and ARNs pointing at non-existent tables now returnValidationExceptionandResourceNotFoundExceptionrespectively, instead of silently storing tags against a phantom resource. - DynamoDB
UpdateTimeToLiverejects emptyAttributeName— matches AWS shape validation. - EC2
DescribeSecurityGroupsdistinguishes malformed IDs from missing ones — malformed security group IDs now returnInvalidGroupId.Malformedand valid-looking but unknown IDs continue to returnInvalidGroup.NotFound, matching the way AWS classifies the two failure modes. Contributed by @Areson. - Glue
StartJobRunno longer auto-pulls a missing image — Spark jobs that target a Glue Docker image now check whether the image is already present locally and stub the run toSUCCEEDEDwhen it is not, instead of triggering a multi-gigabyte pull on the request path. - MWAA worker containers auto-remove on exit — Airflow task containers spawned by the MWAA emulator now self-clean instead of leaving stopped containers on the Docker daemon after every DAG run.
[1.3.50] — 2026-05-26
Added
- S3 Tables (
s3tables) — new service emulator for the AWS S3 Tables API: table buckets, namespaces, and Iceberg-format tables. Control plane coversCreateTableBucket,ListTableBuckets,GetTableBucket,DeleteTableBucket,CreateNamespace,ListNamespaces,GetNamespace,DeleteNamespace,CreateTable,ListTables,GetTable,DeleteTable,GetTableMetadataLocation,UpdateTableMetadataLocation. Ships with an embedded Iceberg REST catalog at/icebergso Spark jobs configured withspark.sql.catalog.*.type=restandspark.sql.catalog.*.uri=http://<ministack>/icebergcan create, load, and commit Iceberg tables without an external catalog server. Data files land in MiniStack's S3 service; table metadata (schemas, snapshots, manifests) lives in memory. - Glue Spark jobs run on the official
amazon/aws-glue-libsPySpark image —GlueVersion: 4.0and3.0map to their canonical AWS Glue images (glue_libs_4.0.0_image_01/glue_libs_3.0.0_image_01); override the image viaGLUE_DOCKER_IMAGE. Job containers run on MiniStack's Docker network so they reach S3, RDS, and other ministack services by container hostname. - IAM
UpdateAccessKey— enables toggling an access key betweenActiveandInactive, matching the two statuses the real AWS API accepts. OptionalUserNameis validated when provided. Contributed by @lahmish. - IAM
GetAccessKeyLastUsed— returns the AWS "never used" shape (Region/ServiceName=N/A, noLastUsedDate) since MiniStack does not track per-key usage history. Contributed by @lahmish.
Fixed
- Lambda invocation log includes user output alongside the traceback on error — when a handler raised after printing, the response log dropped the user output and only returned the traceback. Both are now returned, newline-separated, matching real Lambda CloudWatch Logs output. Contributed by @Baptiste-Garcin.
- EC2
CreateVpcEndpointandCreateFlowLogsnow persistTagSpecifications— tags passed at creation time were silently dropped. Tags are now stored, returned byDescribeFlowLogs, and cleaned up onDeleteFlowLogs. Thefl-prefix is also registered in the resource-type guesser so flow-log IDs are correctly resolved by the Resource Groups Tagging API. Contributed by @lahmish.
[1.3.49] — 2026-05-25
Added
- Amazon Inspector2 — new service emulator with 14 API operations:
Enable,Disable,ListFindings(with filtering, sorting, pagination),BatchGetFindingDetails,ListCoverage,ListCoverageStatistics,ListFindingAggregations,SearchVulnerabilities,TagResource,UntagResource,ListTagsForResource,CreateFilter,ListFilters,DeleteFilter. Generates deterministic stub vulnerability findings for ECR container images, Lambda functions, and EC2 instances when enabled. Contributed by @ry-allan. - RDS auto-respawn at boot — when
PERSIST_STATE=1and anrds.jsonstate file exists, MiniStack now eager-imports the RDS module at startup and respawns the Docker container for every persisted instance immediately, with no client API call required. Previously the module loaded lazily on the first RDS request, leaving the postgres/mysql container down until the user happened to call anawslocal rdsoperation. Zero idle cost when no RDS state file is present (the conditional skips the import entirely). Reported by @doodaz. - Glue
CreateTablepersistsViewOriginalText/ViewExpandedText— views created viaCreateTable(the path used by Trino, Spark, and Athena) lost their SQL body because_create_tableignored both fields.GetTablenow returns them, unblocking Trino's iceberg connector and other engines that fail withviewOriginalText must be present. Contributed by @yonatoasis. - Glue
CreateTable/UpdateTablepersistViewDefinitionandIsMultiDialectView— newer multi-dialect view clients (Spark 3.4+, Glue 4.0 jobs, Lake Formation cross-engine views) round-trip the full view definition instead of seeing it silently dropped on create.
Fixed
- AppSync Events resources persist across restarts with
PERSIST_STATE=1— Event APIs, channel namespaces, and API keys created against the AppSync Events endpoint (/v2/apis) were silently dropped on container restart becauseappsync_events.jsonwas never written at shutdown. State is now saved and restored on every restart, matching the behavior of every other persisted service. Same fix covers a related class of restart drops forapigateway_v1on first boot and for services reached only via inter-service calls (Lambda-auto-created CloudWatch log groups, EventBridge targets fired by S3 notifications). Reported by @yaegassy. - RDS respawn after restart no longer fails with
port is already allocated— restored DB instances tried to bind the engine's standard port (5432 for postgres, 3306 for mysql) on the host instead of the original docker host port, so every restart with persisted state left the instance infailed. The host port is now tracked separately on the instance, validated as free before reuse, and falls back to a fresh free port if something else has taken it. StaleCreated-status containers from prior failed boots are force-removed before respawn so they don't hold the binding. Reported by @doodaz. - CloudFront
ListDistributionsround-trips origin configuration —DistributionSummarynow includesOriginsandDefaultCacheBehaviorfrom the stored distribution config, so custom origins round-trip consistently across create, get, list, and update flows. Contributed by @CoffeeRaptor. - CloudFront
DistributionSummaryemits all AWS-required fields —Aliases,CacheBehaviors,CustomErrorResponses,PriceClass,ViewerCertificate,Restrictions,WebACLId,HttpVersion,IsIPV6Enabled, andStagingare now emitted alongside the fields above. When a field wasn't set on the originalCreateDistributionConfig, ministack emits a minimal-but-valid default (emptyQuantity=0containers,CloudFrontDefaultCertificate=true,HttpVersion=http2) so strict-parsing SDKs (Go v2, Java v2) don't reject the response.
[1.3.48] — 2026-05-24
Added
- S3
GetObjectAclandPutObjectAcl— both?aclsubresource operations are now implemented.GetObjectAclreturns the stored policy or, if none has been set, the AWS default of a singleFULL_CONTROLGrant to the request's account-id owner.PutObjectAclaccepts either a canned ACL via thex-amz-aclheader (private,public-read,public-read-write,authenticated-read,aws-exec-read,bucket-owner-read,bucket-owner-full-control) or a full<AccessControlPolicy>XML body; invalid canned values returnInvalidArgumentand malformed bodies returnMalformedACLError. As with retention, legal-hold and bucket policies, the policy is stored and round-tripped but not enforced on the data plane.NoSuchKeyreturned for missing keys, matching the only error modeled in botocore. Reported by @smpial.
Fixed
- RDS persistence-restore module-import race — the v1.3.47 restore-respawn threads called
_get_docker()which was defined further down in the same module, so a thread reaching the lookup before the parser finished raisedNameError: name '_get_docker' is not definedand stranded the restored instance increating. Theload_state("rds")block now runs at the bottom of the module, after every helper the restore threads can touch. Reported by @doodaz.
[1.3.47] — 2026-05-23
Added
- CloudFormation nested stacks —
AWS::CloudFormation::Stackresources now provision their child template (fetched fromTemplateURL), passParametersthrough, expose childOutputsviaFn::GetAtt: [Nested, Outputs.<Name>], and cascade delete/update with the parent.Refof the nested resource resolves to the child stack ARN, matching real AWS. Reported by @jayalfredprufrock.
Fixed
- CloudFront invalidations — repeated
CreateInvalidationcalls with the sameCallerReferencenow return the existing invalidation for that distribution; path comparison is set-based so re-submitting the same paths in a different order is treated as idempotent rather than as a divergent batch. Contributed by @CoffeeRaptor. - S3
DeleteObjects— objects deleted in a batch are now removed from disk, mirroringDeleteObject. Contributed by @parafoxia. - RDS persistence-restore — backing Docker containers are now respawned for persisted DB instances at restart, with status flowing
creating → available/failedbased on container liveness instead of staying frozen as zombie metadata. Per-instance threads now carry the original account context so multi-tenant restores land writes on the correct account. Reported by @doodaz. - Cognito
/oauth2/idpresponseand/saml2/idpresponse— distinct error messages and a server-side WARNING log when the OIDCstate/ SAMLRelayStatedoesn't match any pending authorize flow, so configuration drift (expired or unknown state) is diagnosable without staring at an opaqueInvalidParameterException. Reported by @ocr-lasagna. - Cognito
/{poolId}/.well-known/jwks.jsonand/{poolId}/.well-known/openid-configurationno longer shadow S3 — these endpoints now fall through to the S3 handler when the pool prefix doesn't match a registered user pool, so apps storing their own.well-known/*documents in an S3 bucket get the actual object back instead of a fake Cognito JWKS. Real AWS only serves these for actual pools.
[1.3.46] — 2026-05-21
Added
- S3
PutObjectconditional writes —If-None-Match: "*"(create-once) andIf-Match: "<etag>"(optimistic concurrency) are now enforced onPutObject, matching the AWS feature shipped November 2024. Precondition violations return 412PreconditionFailed, exceptIf-Match: "<etag>"against a missing key which returns 404NoSuchKeyper the AWS user guide. ETag comparison strips surrounding quotes on both sides. The symmetricx-amz-copy-source-if-matchheaders onCopyObjectwere already supported; this closes the gap on plainPutObject. Contributed by @mattcookio.
Fixed
- Cognito JWT
issclaim uses the pool's region, not the request region — when a SigV4 scope carried a different region from the pool's creation region, the JWTissmismatched the pool ID prefix and standards-compliant validators rejected the token. A new_pool_region(pool_id)resolver parses the region from the pool ID ({region}_{suffix}) and is applied to theissclaim, the PreTokenGeneration trigger event region, the user-pool ARN, the OIDC discoveryissuer, and the hosted-UI CloudFront URL onCreateUserPoolDomain/DescribeUserPoolDomain. The parser accepts 3-segment commercial regions and 4-segment GovCloud / ISO regions (us-gov-east-1,us-iso-east-1, etc.). Contributed by @subrotosanyal.
[1.3.45] — 2026-05-20
Fixed
- CloudWatch Logs
GetLogEvents/FilterLogEventsacceptlogGroupIdentifier— both ops now resolve the target log group from the AWS-documentedlogGroupIdentifierparameter (either the bare group name or a fullarn:aws:logs:<region>:<account>:log-group:<name>[:*]ARN), as well as the originallogGroupName. Calls that pass an ARN — common from AWS SDK code that has the group ARN handy — no longer fail withResourceNotFoundException: The specified log group does not exist: None. Reported by @msulima. - ElastiCache
DescribeCacheClustersemits fullCacheNodeshape — the per-node XML now includesCacheNodeCreateTime(ISO8601),ParameterGroupStatus,CustomerAvailabilityZone(derived from the cluster's preferred AZ), andSourceCacheNodeId(when non-empty) in addition to the previousCacheNodeId/CacheNodeStatus/Endpoint.hashicorp/terraform-provider-awsv6.45.0 deref'sCacheNodeCreateTimewithout a nil check during read afteraws_elasticache_clusterapply, causingUnexpected nil pointer in: {CacheNodeCreateTime:<nil> …}and preventing Terraform from confirming cluster availability. Reported by @trackme-ddisley. - API Gateway v1
UpdateStageboolean fields parsed from patch strings — AWS sendspatchOperations[].valueas strings, but the v1 PATCH handler previously assigned them as-is via the generic patch path. SDK clients (e.g. Pulumi / AWS SDK Go v2) that read backtracingEnabledandcacheClusterEnabledthen failed deserialization withexpected Boolean to be of type *bool, got string instead. Those two root-stage fields are now coerced tobool("true"→True) before being applied, with an exact path match so a stage variable namedtracingEnabledis unaffected. Contributed by @duc12597.
[1.3.44] — 2026-05-19
Added
- Standard AWS ECS Docker labels on
RunTaskcontainers — every container MiniStack spawns for an ECS task now carries the five canonicalcom.amazonaws.ecs.*labels real ECS sets (cluster ARN, container-name, task-arn, task-definition-family, task-definition-version), matching the keys and values documented in the AWS ECS container metadata file spec. Lets host-side log shippers, monitoring agents, anddocker ps --filter "label=…"queries identify containers the same way they would against real ECS. Contributed by @YakirOren. - Step Functions JSONata standard library expanded — the JSONata evaluator now ships every built-in function called out in the ticket, plus the parity-edge cases AWS/JSONata require: string (
$uppercase,$lowercase,$substring,$trim,$contains,$split,$join,$replace,$pad), numeric ($sum,$average,$max,$min,$abs,$floor,$ceil,$round,$power,$sqrt,$formatNumber), array ($sort— including thefunction($l, $r){...}comparator form —$reverse,$distinct,$append), object ($keys,$values,$lookupover both objects and arrays-of-objects,$existsdistinguishing missing paths from explicitnullper JSONata spec), type ($type,$boolean— falsy for arrays of only-falsy values), date/time ($now()/$now(picture)/$now(picture, timezone)with the XPath-3.1 picture-string subset,$millis), and utility ($uuid,$base64encode,$base64decode).$contains,$split, and$replaceaccept JSONata regex literals (/pattern/flags), with$1/$&substitution refs supported in$replace. The headline ticket example"Condition": "{% $exists($states.input.userId) %}"now routes correctly whether the field is present, explicitlynull, or missing. Implemented natively in Python with no new runtime dependency. Reported by @youngkwangk.
Fixed
- RDS Data API no longer acknowledges writes through the SQL stub for real containers that are still booting — when a Docker-backed RDS instance is configured but its container is still bootstrapping,
ExecuteStatement/BatchExecuteStatementpreviously fell back to the in-memory SQL stub on any connection error and returned a 200 acknowledgingCREATE USER/GRANTstatements that never reached MySQL. The fallback now only applies to control-plane-only clusters (no real container). Container-backed clusters whose endpoint can't be reached surfaceDatabaseUnavailableException(HTTP 504, the canonical AWS error code), so callers see the same transient-error shape they'd see against real RDS. Real SQL errors (lock-wait timeout, etc.) still surface asBadRequestException, not transient-unavailable. Contributed by @jayjanssen. CreateDBInstancereturns immediately withDBInstanceStatus="creating"for Docker-backed instances, matching real AWS — readiness finalisation runs on a daemon thread and transitions the instance toavailableorfailedbased on container liveness. Previously the call blocked inline for up to 60s. Image-side password mismatches (auth-denied during the readiness probe) log at WARNING with a remediation hint.- RDS Aurora MySQL local endpoint and master-user parity — Aurora cluster endpoints now track the reachable backing DB instance endpoint after cluster members are created, so Lambda containers using
DescribeDBClusters.Endpointcan connect to MiniStack-backed databases. MySQL and Aurora MySQL containers also grant the configured master username AWS/RDS-like global privileges after the server is reachable, with version-specific dynamic privileges treated as best-effort. Contributed by @jayjanssen.
[1.3.43] — 2026-05-18
Added
- AWS IoT Core (Phase 1) — new service covering the control plane and a WebSocket-only MQTT data plane. Control plane:
CreateThing/DescribeThing/ListThings/UpdateThing/DeleteThing,CreateThingTypeand group,CreateThingGroup+AddThingToThingGroup/RemoveThingFromThingGroup, certificates via a new in-process Local CA (CreateKeysAndCertificate,RegisterCertificate,UpdateCertificate,DeleteCertificate,ListCertificates),AttachThingPrincipal/DetachThingPrincipal/ListThingPrincipals/ListPrincipalThings, policies with versioning (CreatePolicy,CreatePolicyVersion,GetPolicyVersion,ListPolicyVersions,SetDefaultPolicyVersion,DeletePolicyVersion), policy attachment (AttachPolicy,DetachPolicy,ListAttachedPolicies,ListTargetsForPolicy), andDescribeEndpointreturning a per-account hostname. Data plane: HTTPiot-data PublishatPOST /topics/{topic}with QoS 0/1 and?retain=true, plus MQTT 3.1.1 over WebSocket multiplexed on the gateway port (clients use themqttSec-WebSocket-Protocol value and connect to the address returned byDescribeEndpoint). Multi-tenancy enforced by transparent topic prefixing in the bridge layer — the account ID is resolved from the SigV4 credential at WebSocket upgrade and topics are prefixed before they hit the in-process pub/sub registry, so two accounts publishing to the same topic name never see each other's traffic. Persistent sessions (cleanSession=0), QoS 1 in-flight tracking + retransmit with DUP flag, Last Will and Testament on ungraceful disconnect, duplicate-client-id force-disconnect, and retained-message delivery on subscribe all implemented per MQTT 3.1.1. Local CA root certificate exposed atGET /_ministack/iot/ca.pemso test code can configure SDK trust; CA + broker state (retained messages, persistent sessions) persist across restarts whenPERSIST_STATE=1. Deferred to later phases: Device Shadows, mTLS on 8883,ListRetainedMessagesqueries, Rules Engine, Jobs, Fleet Provisioning. IoT policy documents are stored but not enforced on the data plane. Plain TCP 1883 is intentionally not exposed (real AWS IoT requires TLS or SigV4 on every connection). Requires thecryptographypackage (declared in the[full]optional dependency); slim image users hit a cleanRuntimeErroron first IoT call. Contributed by @jgrumboe. - Athena ↔ Glue catalog integration + S3 result persistence —
StartQueryExecutionnow resolvesdatabase.tablereferences against Glue'sGetTableto find the underlying S3 location, so queries against Glue-managed tables work without hand-writtenread_csv('s3://...')paths. Completed query results are written to the configuredOutputLocationas<id>.csvplus a<id>.csv.metadatacompanion (column names + Athena-mapped types) — the CSV file includes the column-name header row as the first line, matching real Athena's output format. Mixed queries combining Glue tables with explicits3://URIs in the same statement also resolve correctly. Contributed by @m7w.
Fixed
- EventBridge rule targets pointing at Step Functions state machines — targets with an ARN of the form
arn:aws:states:<region>:<account>:stateMachine:<name>previously fell through to the "unsupported target type" warning and silently dropped events. The dispatcher now calls into the existingstepfunctions._start_execution, which runs the execution on a daemon thread with acontextvars.copy_context()snapshot so the request's account context is preserved. The transformed payload (postInput/InputPath/InputTransformer) is passed verbatim as the execution input, soInput*features work for free.RoleArnon the target is accepted and ignored, matching how the existing Lambda/SQS/SNS dispatchers handle it. Contributed by @DaviReisVieira. - Step Functions
StartExecutionaccepts version and alias ARNs — real AWS lets callers (and EventBridge targets) reference a state machine by its base ARN, a published-version ARN (stateMachine:<name>:<version>), or an alias ARN routed viaCreateStateMachineAlias. Previously only the base ARN resolved — versions and aliases returnedStateMachineDoesNotExist. A new resolver walks the base / version / alias stores; alias dispatch picks the highest-weighted version in the routing configuration (ties → first listed) for deterministic test behaviour. EventBridge → Step Functions dispatch leans on the same resolver, so EB rules pinning a target to a specific version or alias now actually fire. - Athena DuckDB queries no longer stall the event loop —
StartQueryExecutionpreviously scheduled the DuckDB run viaasyncio.create_task, but DuckDB'sconn.execute()is a blocking C call so the asyncio loop sat idle for the full query duration, stalling every other in-flight request on the single-process server. Wrapped inasyncio.to_threadso multiple concurrent Athena queries run on worker threads and the loop stays free. - Step Functions
aws-sdk:lambdaintegration —arn:aws:states:::aws-sdk:lambda:getAliasandgetFunctionConfigurationnow dispatch through the Lambda REST emulator with JSONPath-resolvedFunctionName,Name, andQualifierparameters. Unblocks readiness workflows that verify a Lambda alias and its published version before invoking it. The dispatcher captures the caller's account ID from the request contextvar and embeds it in the synthetic Authorization header (instead of hardcodingtest), so SFN executions running under a non-default 12-digit account correctly resolve Lambdas in their own account scope. Contributed by @jayjanssen. - Lambda published-version readiness propagates from
$LATEST— published version snapshots created while$LATESTis stillPending/InProgressnow transition toActive/Successfulwith the function, soGetFunctionConfiguration --qualifier <version>converges instead of staying stuck after the alias points at the version. Contributed by @jayjanssen.
[1.3.42] — 2026-05-16
Added
- MWAA (Managed Workflows for Apache Airflow) — new service emulating the AWS MWAA REST API for both Airflow 2.x and Airflow 3.x.
CreateEnvironmentspins up a realapache/airflow:<version>container in standalone mode on the same Docker network as MiniStack, syncs DAGs from the configuredSourceBucketArn+DagS3Pathinto/opt/airflow/dags/once the container reaches AVAILABLE, and forces an aggressive scan interval so DAGs become visible within seconds.CreateWebLoginTokenandCreateCliTokenreturn the correct field names (WebToken/CliToken) per the boto3 MWAA model.InvokeRestApiproxies to the running Airflow REST API —/api/v2/for v3 (open via Simple Auth Manager withALL_ADMINS=true),/api/v1/for v2 (basic auth using the standalone-generated admin password captured from the container after boot).GetEnvironment,UpdateEnvironment,ListEnvironments,DeleteEnvironmentand full container lifecycle (stop + remove on delete) included; per-environment host port released on delete so long-running stacks don't leak ports. Host-prefix routing (api.airflow.<region>) correctly bypassed by the S3 vhost extractor so requests reach the MWAA handler instead of being misread as bucket names. End-to-end verified with real DAGs visible viaInvokeRestApi GET /dagson both Airflow 2.10.4 and Airflow 3.0.6. - CloudWatch Alarm
AlarmActions→ SNS publish — alarm state transitions (OK↔ALARM↔INSUFFICIENT_DATA) now dispatch the configuredAlarmActions/OKActions/InsufficientDataActionslists. SNS topic ARNs are published with the AWS-shaped JSON payload (AlarmName,NewStateValue,NewStateReason,StateChangeTime,Region,OldStateValue,Triggersub-object with metric/threshold/comparison). Fires on bothSetAlarmState(manual) and the auto-evaluation path triggered byPutMetricData.ActionsEnabled=False(orDisableAlarmActions) suppresses dispatch. Closes the largest single inter-service integration gap — alerting-driven testing now works end-to-end. - Lambda → CloudWatch Metrics — every Lambda invocation now publishes the four canonical
AWS/Lambdametrics dimensioned byFunctionName:Invocations(count),Errors(count, 1 on handled/unhandled failure),Duration(ms, wall-clock around the worker call),Throttles(count, 1 when reserved-concurrency rejected the call). Recorded for bothRequestResponseandEventinvocation types. Queryable via the standardGetMetricStatisticsAPI, same shape and granularity real CloudWatch emits. - CloudFormation
AWS::ApiGateway::Account— the singleton CFN resource that storesCloudWatchRoleArnfor the API Gateway account. Previously failed withUnsupported resource type, which blocked any CDK stack usingnew RestApi({ cloudWatchRole: true })— a very common pattern. The handler writes the role ARN into the same store the runtimeUpdateAccount/GetAccountAPI reads from, so the value round-trips end-to-end. Reported by @sajansharmanz.
Changed
- Test harness — xdist session-startup reset coordination — the per-worker
autousereset_serverfixture previously had every xdist worker hit/_ministack/reseton session start, so a slower worker's reset could fire after a faster worker had already begun creating fixtures, wiping that state mid-test (most visibly as occasionallist_functions()empty results intest_lambda_create_invoke). The first worker now wins anO_EXCLfile lock and runs the reset; the others wait briefly for a marker file and skip. Single-process pytest (no xdist) keeps the original behaviour. Removes a class of CI flakes that only reproduced under parallel load.
[1.3.41] — 2026-05-16
Fixed
- KMS
Decrypterror code on malformed ciphertext — when the caller omittedKeyIdand the ciphertext was too short or otherwise unparseable, MiniStack returnedNotFoundException("Unable to find the key for decryption"); real AWS returnsInvalidCiphertextExceptionin that case. The two errors are distinguished by AWS-SDK clients that catch encryption faults separately from key-lookup faults (e.g., wrapper libraries that retry onNotFoundbut surfaceInvalidCiphertextimmediately).NotFoundExceptionis still returned when the caller did pass an explicitKeyIdthat doesn't resolve, matching real AWS.
[1.3.40] — 2026-05-15
Added
- Cognito invitation and verification emails via SES —
AdminCreateUser,SignUp,ResendConfirmationCode,ForgotPassword, andAdminResetUserPasswordnow hand their welcome / temporary-password / verification mail to the in-process SES emulator, so simulated apps see the message in/_ministack/ses/messagesand it relays via SMTP whenSMTP_HOSTis set. Mirrors AWS behaviour:MessageAction=SUPPRESSskips,RESENDre-sends,DesiredDeliveryMediums=["SMS"]excludes email, and template placeholders ({username},{####}) expand. Sender resolves toEmailConfiguration.From, falling back to[email protected](overridable viaCOGNITO_DEFAULT_FROM); setCOGNITO_EMAIL_ENABLED=falseto short-circuit globally. Adds the previously-missingResendConfirmationCodeaction while wiring the delivery path. Contributed by @kjdev. - Step Functions JSONata
Assign+ workflow variables — state-levelAssignfields now bind values into an execution-scoped variable store, and later JSONata expressions can reference them as$name(with dotted-path access like$user.email). Pass$states.resultresolves to the computed Output; Task$states.resultto the raw API result; Catch handlers expose$states.errorOutput. Undefined references surface asStates.QueryEvaluationError, matching the AWS error code for JSONata evaluation failures. Reported by @youngkwangk.
Fixed
- Cognito alias-attribute user lookup —
_resolve_usernow honors the pool'sAliasAttributesandUsernameAttributes, so signing in byemail/phone_number/preferred_usernameresolves correctly. Email and phone aliases require the corresponding_verifiedattribute to equal"true"(matches AWS);preferred_usernamehas no verification gate. The change routesAdminInitiateAuth,InitiateAuth,AdminRespondToAuthChallenge,RespondToAuthChallenge,ConfirmSignUp,ForgotPassword,ConfirmForgotPassword, and the hosted-UI/loginform through the resolver — internal call sites that need the canonical username (group iteration, create-time uniqueness, post-code token issuance) are left untouched. Contributed by @rjmackay. - SQS
ReceiveMessageInternalErroron FIFO queues withRedrivePolicy— a double-JSON-encodedRedrivePolicyvalue slipped pastCreateQueue/SetQueueAttributes, then crashed_dlq_sweepon receive becausejson.loadsreturned a string (not a dict) and.get()raisedAttributeError. MiniStack now validatesRedrivePolicyat intake (parseable JSON object with non-emptydeadLetterTargetArnand numericmaxReceiveCountbetween 1 and 1000) and rejects malformed values withInvalidAttributeValue(400), matching real AWS. Receive carries a defensive guard so legacy persisted state doesn't crash. Reported by @rbonestell. - DynamoDB
if_not_existsarithmetic inSETexpressions —SET v = (if_not_exists(v, :d) - :amt)previously dropped the arithmetic and assigned the resolved value directly: the outer parens kept every token at depth > 0, so the top-level operator scan never saw the-at depth 0._eval_set_valuenow strips a single layer of matched outer parens before parsing, guarded so(a) + (b)(two adjacent groups) isn't accidentally flattened. Reported by @youngkwangk. - S3 → Lambda notifications fire for non-boto3 SDK clients — MiniStack's notification XML parser only recognised the legacy
<CloudFunction>ARN tag, which is what botocore wire-serialisesLambdaFunctionArnas. AWS SDK for Java v2, Go SDK, Terraform'saws_s3_bucket_notification, and any hand-crafted XML send the modern<LambdaFunctionArn>tag — MiniStack silently dropped those configs, so uploads succeeded but the Lambda never fired. Both shapes are now accepted, matching real S3. Reported by @michael-denyer.
[1.3.39] — 2026-05-15
Added
- Node.js Lambda —
@aws-sdk/client-*built-in stubs — real Node.js 18+ Lambda ships the AWS SDK v3 built-in; MiniStack's worker now interceptsrequire('@aws-sdk/client-*')and returns lightweight stubs that route throughAWS_ENDPOINT_URLwhen the real package isn't installed (Lambda Layers still win).@aws-sdk/client-lambdagets a REST stub; 28awsJson1.xservices resolve via a genericX-Amz-TargetProxy.err.name/err.codeset per v3 catch-by-name convention. HTTPS→HTTP localhost downgrade extended to CDK Provider Framework'scfn-response.jsPUT. Query-protocol / REST-XML / REST-path clients still need bundling or a Layer, as on real AWS outside a managed runtime. Contributed by @hiddengearz.
Fixed
- Cognito OIDC federation callback (
/oauth2/idpresponse) — OIDC federation was half-wired:/oauth2/authorizeredirected to the IdP correctly but routed the callback at/saml2/idpresponse, which only accepts SAML, so every IdPcode+statecallback 400'd. MiniStack now serves/oauth2/idpresponse: exchanges the code at the IdP'stoken_url, decodes theid_token(no signature verification — same posture as SAML), appliesAttributeMapping, provisions the{provider}_{sub}user, and 302s back to the app with a MiniStack-issued code. Reported by @ocr-lasagna. - Step Functions executions stalling at
ExecutionStartedunder non-default account IDs —_executionsis anAccountScopedDictkeyed byget_account_id()(aContextVar); the background worker was spawned via plainthreading.Threadwhich doesn't propagate contextvars, so the worker looked up the execution under the default account, found nothing, and silently returned. Fixed withcontextvars.copy_context().runon each thread target, with per-thread snapshots at the Parallel and Map spawn sites (a singleContextcannot be entered by two threads concurrently). Contributed by @michael-denyer. - Step Functions JSONata
Argumentsonaws-sdkTask states — Tasks withQueryLanguage: "JSONata"now evaluateArgumentsand success/CatchOutputagainst$states.input/$states.result/$states.errorOutput, instead of dispatching with an empty JSONPath payload. Contributed by @jayjanssen. - Step Functions JSONata coverage for Pass and Choice — Pass now evaluates
Output(previously silently ignored). Choice now evaluates per-branchCondition(previously always treated as falsy, falling through toDefault) and applies per-branchOutputon the matched rule. Evaluator extended with comparison/arithmetic/string-concat/and/or/in/not,$count/$length/$string/$number, paren grouping, unary minus, left-associative parsing. Reported by @youngkwangk.
[1.3.38] — 2026-05-13
Added
- ECS task IAM role credentials endpoint (
GET /v2/credentials/<uuid>) — real ECS injectsAWS_CONTAINER_CREDENTIALS_RELATIVE_URI=/v2/credentials/<uuid>per task and SDKs fetch credentials by GETting that path against169.254.170.2. MiniStack now serves the same path on the gateway and returns the AWS-strict 5-field credentials document (AccessKeyId,SecretAccessKey,Token,Expiration,RoleArn) — distinct from the IMDS shape served at/latest/meta-data/iam/security-credentials/<role>. Contributed by @YakirOren. - ECS task env injection for SDK-driven workloads — tasks launched by MiniStack's ECS emulator now also get
AWS_CONTAINER_CREDENTIALS_FULL_URI(so SDKs in task containers fetch emulated credentials automatically from the new/v2/credentials/<uuid>endpoint),AWS_CONTAINER_AUTHORIZATION_TOKEN(satisfies botocore's allow-list when the gateway host is not loopback, e.g.host.docker.internalor a Docker bridge IP), andAWS_ENDPOINT_URL(so SDK service calls auto-route to the gateway). Together with the existingECS_CONTAINER_METADATA_URI_V4, unmodified AWS SDKs running inside an emulated ECS task now use MiniStack end-to-end with no client config. Contributed by @YakirOren. - CloudFormation
AWS::CertificateManager::Certificate— provisions a Certificate record matchingRequestCertificateshape.Refresolves to the ARN; honoursDomainName,SubjectAlternativeNames,ValidationMethod,Tags,KeyAlgorithm,CertificateTransparencyLoggingPreference. Closes a gap that blocked any HTTPS-related IaC stack from applying against MiniStack. Reported by @parv0888. - CloudFormation
AWS::ElasticLoadBalancingV2::TargetGroup— MS' ALB CFN story was previously partial:LoadBalancerandListenerprovisioned butTargetGroupwas missing, leaving the listener with nothing to forward to. The new handler writes a target-group record matchingCreateTargetGroup, with AWS-documented defaults (HTTP, port 80, health-check interval 30, healthy/unhealthy thresholds 5/2, matcher 200).TagsandTargetGroupAttributeshonoured. Reported by @parv0888. - CloudFormation
AWS::ElasticLoadBalancingV2::ListenerRule— host- and path-based ALB routing now provisions. Conditions accept both the flat{Field, Values}shape and CFN's per-field nested config form (PathPatternConfig.Values,HostHeaderConfig.Values,HttpHeaderConfig,HttpRequestMethodConfig,QueryStringConfig,SourceIpConfig). Actions supportforward/redirect/fixed-response. Reported by @parv0888. - CloudFormation
AWS::RDS::DBInstance— standalone DB instances (non-Aurora) and Aurora cluster members now provision. Writes a record matchingCreateDBInstance(metadata-only, like the existingAWS::RDS::DBClusterhandler — Docker container spawn remains on the CLI/SDK path). Aurora cluster members inherit master credentials from the cluster automatically.Fn::GetAttreturnsEndpoint.Address,Endpoint.Port,DbiResourceId,DBInstanceArn. Reported by @parv0888. - CloudFormation
AWS::StepFunctions::StateMachineDefinitionandDefinitionS3Location— CDK'sDefinitionBody.fromFile()emitsDefinitionS3Locationreferencing an S3 asset, andDefinitionBody.fromString()emits the inlineDefinitionobject; MiniStack previously honoured onlyDefinitionStringand silently fell back to{}, producingInvalidDefinition: StartAt state 'None' not foundat execution time. Both forms are now honoured,DefinitionS3Locationis fetched from the in-memory S3 service, andDefinitionSubstitutionsplaceholders (${KEY}) are applied to the resolved definition. Reported by @youngkwangk.
Fixed
- ECS
connectivityAtandstoppingAttimestamps wire-formatted as numbers — both fields are set on tasks but were missing from the_ECS_TIMESTAMP_FIELDSnormalization set, so they shipped as ISO strings inDescribeTasks/ListTasksresponses. The Go AWS SDK v2 (strict JSON 1.1 timestamp parsing) rejected the response; boto3 was lenient and hid the issue. Both fields are now epoch-normalized alongside the other task timestamps. Contributed by @YakirOren. - CloudFormation
AWS::ECS::TaskDefinitionpopulatesregisteredAt,registeredBy, andcompatibilities— the CFN provisioner constructed the task-definition record without these three fields, soDescribeTaskDefinitionreturned them as missing for CFN-created TDs even though the CLI/SDK path (RegisterTaskDefinition) always set them. Workloads that readregisteredAt(e.g. the ARMO ECS operator and other reconcilers) had to fall back to "now". The CFN path now mirrors the CLI path. Contributed by @YakirOren.
[1.3.37] — 2026-05-12
Added
- CloudFormation
AWS::ApiGateway::Authorizer— stacks declaring a TOKEN / REQUEST / COGNITO_USER_POOLS authorizer now provision against the existing apigateway_v1 store instead of failing the stack withUnsupported resource type. Maps the standard CFN properties (Name,Type,AuthorizerUri,AuthorizerCredentials,IdentitySource,IdentityValidationExpression,AuthorizerResultTtlInSeconds,ProviderARNs,RestApiId);AuthTypeis informational only in the AWS spec and is dropped. - SQS
AddPermission/RemovePermission— both operations now wire through to the queue's IAM resource policy stored under the existingPolicyqueue attribute.AddPermissionappends statements in AWS canonical shape (bare 12-digit account IDs inPrincipal.AWS, lowercasesqs:action namespace,<queue-arn>/SQSDefaultPolicyId). DuplicateLabelis rejected withInvalidParameterValue;RemovePermissionis idempotent per AWS. - RDS
DescribePendingMaintenanceActionsno-op surface — accepts the operation and returns an emptyPendingMaintenanceActionslist. Accepts and ignoresResourceIdentifier,Filters,Marker, andMaxRecords. Unblocks brownfield state-capture tooling that walks the full RDS API surface. Contributed by @jayjanssen.
Fixed
- SQS
SendMessagehonorsMaximumMessageSize— body byte length is now validated against the queue'sMaximumMessageSizeattribute (default 262144, configurable up to 1 MiB per AWS). Oversized messages returnInvalidParameterValue(400). Before this fix MS silently accepted oversized messages that real AWS would reject. - SNS
PublishandPublishBatchenforce 256 KiB — total payload size (Message + MessageAttributes name/type/value bytes) is now bounded at 262144 bytes per AWS docs.PublishreturnsInvalidParameter(400);PublishBatchsurfaces each oversized entry as a per-entry failure rather than failing the whole batch. Subject is intentionally excluded (AWS limits Subject to 100 chars but does not count it toward the 256 KB payload). - EventBridge SQS target stamps
SqsParameters.MessageGroupIdon FIFO queues —_dispatch_to_sqsnow reads the target'sSqsParametersblock and stampsMessageGroupIdon the delivered message; it also derives a content-basedMessageDeduplicationIdand afifo_seqso the delivery shape matches real EventBridge → FIFO SQS. Before this fix MS dropped MessageGroupId at dispatch, so FIFO targets received messages real AWS would reject. - SQS
DeleteQueueraisesQueueDoesNotExistfor missing queues — the action silently returned{}when the URL didn't match a stored queue. Real AWS returns 400QueueDoesNotExist(awsQueryCompatibleAWS.SimpleQueueService.NonExistentQueue). The handler now routes through the same_get_qhelper every other SQS action uses, also picking up its docker-compose-hostname fallback. Contributed by @mfurqaan31. - S3
UploadPartCopyvalidatesx-amz-copy-source-range— the header was parsed withrng.split("-")and no validation, so malformed values (bytes=abc-def, extra dashes, missing prefix) raised an unhandledValueErrorand surfaced as HTTP 500; reversed and out-of-bounds ranges silently produced wrong-sized parts. All malformed inputs now return 400InvalidArgument; out-of-bounds includes the source object size in the error message. boto3 retries 5xx but fails fast on 4xx, so the prior 500 behaviour caused infinite client retry loops against MiniStack where real S3 would have failed immediately. Contributed by @mfurqaan31. - S3
_parse_bucket_keystrips absolute-form request targets — AWS SDK for .NET v4 sends HTTP/1.1 requests with absolute-form targets (e.g.PUT http://ministack:4566/bucket/key); hypercorn passes the raw target through, so MS was parsinghttp:as the bucket name. The function now strips scheme + authority before parsing. Contributed by @mark-bray.
[1.3.36] — 2026-05-11
Added
- IAM AWS-managed policies (
arn:aws:iam::aws:policy/<Name>) — real AWS hosts these under a virtualawsaccount every customer can read; MiniStack used to key every policy by the caller's account soGetPolicy(arn:aws:iam::aws:policy/AdministratorAccess)returnedNoSuchEntity. AWS-managed policies now live in a separate non-account-scoped store, pre-seeded with 20 of the most commonly referenced policies (AdministratorAccess,PowerUserAccess,ReadOnlyAccess,SecurityAudit,AWSLambdaBasicExecutionRole,AmazonS3FullAccess/ReadOnlyAccess,AmazonEC2FullAccess/ReadOnlyAccess,AmazonSSMManagedInstanceCore,AmazonDynamoDBFullAccess,AWSLambdaVPCAccessExecutionRole, and friends) carrying their canonical AWS documents verbatim. Unknown AWS-managed ARNs returnNoSuchEntityby default so typos surface locally; opt in to permissive autovivify withMINISTACK_AUTOCREATE_AWS_MANAGED=1.AttachmentCountis tracked per-(session-account, arn) via an account-scoped sidecar, matching real AWS where the counter is per-account.ListPoliciesrespectsScope=All/AWS/Local; attach/detach work against any AWS-managed ARN; mutation operations (CreatePolicyinto theawsnamespace,DeletePolicy,TagPolicy,UntagPolicy,CreatePolicyVersion,DeletePolicyVersion) returnAccessDenied/InvalidInputto match real AWS. Contributed by @spicykay. - Cost and Usage Reports (CUR) — full 7-operation surface (
PutReportDefinition,DescribeReportDefinitions,ModifyReportDefinition,DeleteReportDefinition,TagResource,UntagResource,ListTagsForResource). Report definitions persist; report file generation is not emulated (MiniStack doesn't track usage or compute costs), so this targets IaC validation — Terraform / CDK / Bash automation that managesaws_cur_report_definitionresources can now plan and apply against MiniStack without hitting real AWS billing. Contributed by @staranto. - Lambda Ruby 4.0 runtime —
ruby4.0maps topublic.ecr.aws/lambda/ruby:4.0, tracking the runtime AWS added in May 2026 (botocore 1.42.94).
Fixed
- RDS
DescribeDBClustersserialization —DatabaseName,NetworkType,EngineLifecycleSupport— three independent shape bugs on the same code path.DatabaseNamewas stored as""and always emitted, so botocore parsed it as the empty string instead ofnull; the field is now stored asNonewhen unset and only emitted when truthy, matching real-AWS XML elision.NetworkTypeandEngineLifecycleSupportwere never stored or serialized; they're now accepted from the request and emit with the AWS-documented defaults (IPV4andopen-source-rds-extended-support). Surfaced by brownfield-import diffing against a real-AWS captured Aurora cluster. Contributed by @jayjanssen. - RDS
DescribeDBClusterParametersemits<Source>element — the cluster-parameter response XML omitted<Source>entirely, so botocore materializedParameters[].SourceasNonefor every entry. Each emitted<Parameter>now includes<Source>user</Source>, matching the existing instance-level path. Note: MiniStack only stores user-modified parameters (engine defaults are not modelled); the literaluseris correct for the slice MS currently returns but will need to become conditional once engine-defaults are added. Surfaced by the same brownfield-import diffing. Contributed by @jayjanssen. - CUR report definitions lost on warm-boot — the CUR module declared
get_state()andrestore_state()but theload_state("cur")call at import time was missing, so MiniStack wrote state on shutdown and never read it on restart. Standard import-time block added;PERSIST_STATE=1now correctly survives across container restarts for CUR. - IAM
AttachmentCounton AWS-managed policies reset on warm-boot — the per-(session-account, arn) sidecar_aws_managed_attachment_countsadded with the AWS-managed-policies work was missing fromget_state/restore_state. Customer-managedAttachmentCountalready persisted via the policy record itself; only the AWS-managed-policy sidecar was dropped. Now wired in.
[1.3.35] — 2026-05-11
Fixed
- EKS
CreateCluster— k3s container now starts withprivileged=True— the k3s server container was being launched with a granularcap_addlist + unconfined seccomp/apparmor in an attempt to avoid privileged mode, but k3s server mode remounts/sys/fs/cgroupand no capability set short of--privilegedpermits that. The container exited on boot withfailed to evacuate root cgroup: mkdir /sys/fs/cgroup/init: read-only file system, breaking EKS cluster creation entirely. The container is now launched withprivileged=True; the cap_add list is retained as defence-in-depth. Documented as a host-security trade-off in the EKS section of the README. Reported by @zkoncir. - SNS FIFO topic → standard SQS queue subscription — MiniStack rejected the subscribe with
InvalidParameterException: Topic with FIFO requires a subscription to a FIFO SQS Queue, which was the AWS rule until 2023-09-14 when AWS added support for FIFO topics fanning out to standard SQS queues. The stale validation is removed; the existing fanout path already attachesMessageGroupId/MessageDeduplicationIdto delivered messages and SQS standard queues ignore those fields, matching real AWS where consumers of a standard queue subscribed to a FIFO topic "may receive messages out of order, and more than once." Contributed by @ellouzeskandercs. - RDS
CreateDBInstancehonorsPreferredMaintenanceWindow— the field was hardcoded tosun:05:00-sun:06:00on the instance record at creation time, silently discarding any caller-supplied value.ModifyDBInstanceand cluster-levelPreferredMaintenanceWindowalready worked, so the divergence was per-instance only on create. The create path now reads the user value and falls back to the default only when none is supplied. Surfaced by Terraformaws_rds_cluster_instance.preferred_maintenance_windowround-trip diffing against a real-AWS capture. Contributed by @jayjanssen.
[1.3.34] — 2026-05-11
Added
- ECR Docker Registry HTTP API V2 (
docker push/docker pull) — the registry V2 wire protocol now serves alongside the AWS API on the same gateway, matching real ECR. Covers/v2/ping,/v2/_catalog, chunked and single-shot blob upload, cross-repo blob mount, blob HEAD/GET/DELETE, manifest PUT/GET/HEAD/DELETE (by tag or digest), and/tags/list. Pushed images surface immediately inaws ecr describe-images; layer and manifest bytes persist underPERSIST_STATE=1. Routing fix bundled: registry paths previously fell through to S3 path-style and returned405; the new pre-empt matches only registry shapes (/blobs/,/manifests/,/tags/list) so API Gateway v2, AppSync Events, and SES v2 are unaffected. Reported by @LeTrungNguyen1703. - CloudFormation Custom Resource protocol —
Custom::*andAWS::CloudFormation::CustomResourcenow run the full Create / Update / Delete lifecycle. MiniStack mints a local/_ministack/cfn-response/{token}intercept in place of a pre-signed S3 ResponseURL, and the provisioner runs inasyncio.to_threadso the loop stays free for the Lambda's PUT callback — required for CDKcr.Provider-backed Lambdas.UpdateforwardsOldResourceProperties;Deletecarries thePhysicalResourceIdfromCreate;PhysicalResourceIdfalls back toRequestIdwhen the Lambda omits it.ServiceTokenaccepts bare function names or full Lambda ARNs. Contributed by @hiddengearz.
Fixed
- Cognito OAuth2
nonceechoed intoid_token— the authorize endpoint already stored the client-suppliednonceon the auth code, but/oauth2/tokennever threaded it into the minted id_token. Per OIDC Core 1.0 §3.1.3.7, strict OIDC libraries (oidc-client-ts,react-oidc-context, Auth0 / Microsoft clients) discard tokens missing an expected nonce. Now stamped on the id_token only; access and refresh tokens unchanged. Contributed by @coezbek.
[1.3.33] — 2026-05-09
Added
- CloudFormation
AWS::DynamoDB::GlobalTable— covers the schema CDKTableV2emits. HonorsKeySchema,AttributeDefinitions,BillingMode,StreamSpecification,GlobalSecondaryIndexes,LocalSecondaryIndexes,SSESpecification,TimeToLiveSpecification, andTableName. For PROVISIONED billing,WriteProvisionedThroughputSettings.WriteCapacityAutoScalingSettings.MinCapacityandReadProvisionedThroughputSettings.ReadCapacityAutoScalingSettings.MinCapacityare translated to the engine's staticProvisionedThroughput.{Write,Read}CapacityUnits(since a single-process emulator doesn't simulate auto-scaling).Replicasis accepted and ignored — cross-region replication has no meaning here — along withMultiRegionConsistency,GlobalTableWitnesses,GlobalTableSourceArn,WarmThroughput,ReadOnDemandThroughputSettings, andWriteOnDemandThroughputSettings. Stacks that mixAWS::DynamoDB::TableandAWS::DynamoDB::GlobalTabledeploy unmodified. Reported by @youngkwangk.
[1.3.32] — 2026-05-09
Added
- EC2 VPN Connection support —
CreateVpnConnection,DescribeVpnConnections,DeleteVpnConnection,CreateVpnConnectionRoute,DeleteVpnConnectionRoute. StoresType,CustomerGatewayId,VpnGatewayId,TransitGatewayId,Options.StaticRoutesOnly, and per-connectionRoutes. Contributed by @tmq107.
Fixed
- Cognito OIDC autodiscovery —
/.well-known/openid-configurationnow returns reachable endpoint URLs at the MiniStack gateway instead of unreachablecognito-idp.{region}.amazonaws.comURLs that don't serve OAuth2 anywhere.response_types_supportednow advertises bothcodeandtoken, matching real AWS Cognito. Amplify and other OIDC clients can now auto-configure against MiniStack without manual endpoint setup. Reported by @coezbek. - Cognito OAuth2 / OIDC endpoints send CORS —
/oauth2/authorize,/oauth2/token,/oauth2/userInfo,/logout, and/.well-known/*were returning raw response tuples that bypassed_with_data_plane_headers, so browser-based OIDC clients (Amplify,oidc-client-ts,react-oidc-context) failed cross-origin discovery and token exchange withNo 'Access-Control-Allow-Origin' header. The dispatchers are now routed through the same wildcard-CORS wrapper every other data-plane response uses. Contributed by @coezbek. - EC2
RunInstanceshonorsPrivateIpAddressandIamInstanceProfile—--private-ip-addresswas ignored and the auto-generated default IP was malformed (10.0193.216from a missing dot separator in_random_ip).--iam-instance-profilewas dropped entirely, so the launched instance had noIamInstanceProfilefield inRunInstancesorDescribeInstances. Both parameters are now stored on the instance record and emitted in the XML response (<iamInstanceProfile><arn/><id/></iamInstanceProfile>). Reported by @coseym. - EC2
DescribeRouteTablesemitspropagatingVgwSet—EnableVgwRoutePropagationstored the gateway ID on the route table butDescribeRouteTablesalways returned an empty<propagatingVgwSet/>, so any IaC tool that round-trips through Describe lost the propagation. Now serializes whateverEnableVgwRoutePropagationrecorded. Contributed by @tmq107. - DynamoDB GSI Query pagination with non-unique sort keys — when multiple items shared the same
(GSI_HASH, GSI_RANGE)value (or for hash-only GSIs),ExclusiveStartKeyeither dropped items silently from page 2 onward or cycled the caller through the same items indefinitely. Real DynamoDB orders GSI results by(INDEX_HASH, INDEX_SORT, BASE_PK, BASE_SK); MiniStack now uses the same hidden tiebreak so cursors advance correctly across pages. Common pattern with single-table designs / ElectroDB collections. Reported by @bensont1 and @mspiller.
[1.3.31] — 2026-05-07
Added
- EC2 AWS-managed prefix lists —
DescribePrefixLists,DescribeManagedPrefixLists, andGetManagedPrefixListEntriesnow return deterministic CIDRs (instead of0.0.0.0/0) for the standard AWS-managed prefix list names:s3,dynamodb,s3express,vpc-lattice,route53-healthchecks,ec2-instance-connect,cloudfront,groundstation. IPv4 entries use the CGNAT range (100.64.0.0/10), IPv6 uses64:ff9b:1::/48. IDs and entries are stable across calls so VPC endpoint provisioning of typeGatewayresolves consistently. Contributed by @jgrumboe.
Fixed
- Lambda multi-account isolation — function workers spawned under non-default accounts now receive
AWS_ACCESS_KEY_IDderived from the function ARN instead of the host process env var, soSTS GetCallerIdentityand internal SDK calls inside the handler resolve to the correct account. The warm-worker pool key is now{account}:{function}:{qualifier}, preventing two accounts that deploy the same function name from sharing a worker. Fixes all four execution paths (warm worker, provided runtime, local subprocess, Docker container). Contributed by @jgrumboe. - S3
GetObjectbyVersionIdLast-Modifiedheader — the versionedGetObjectpath emitted the internal ISO-8601 timestamp directly into the HTTPLast-Modifiedheader, where AWS returns RFC 7231 HTTP-date. AWS SDK for JavaScript v3 strictly parses the header and threw after the 200 response. Now wrapped throughiso_to_rfc7231, matching the non-versioned path. Contributed by @mgius-ae. - EC2
RunInstancesandDescribeInstancesemitBlockDeviceMappings— every launched instance now auto-attaches a root EBS volume (/dev/xvda, gp3, 8 GiB,DeleteOnTermination: true) registered with_volumesand surfaced through bothDescribeInstances(with<volumeId>,<status>,<attachTime>,<deleteOnTermination>) andDescribeVolumes(with the matchingAttachmentslink), matching real AWS where every EBS-backed AMI auto-attaches a root volume regardless of whether the launch request specifiedBlockDeviceMappings. Cloud Custodian, AWS Config rules, and any policy tool that classifies instances by BDM presence now work. Reported by @Aeres-u99.
[1.3.30] — 2026-05-06
Fixed
- Step Functions REST-JSON
aws-sdkresponse casing — successful REST-JSON integrations such asaws-sdk:rdsdata:executeStatementnow expose output keys with the same PascalCase convention used by the query and REST-XML dispatchers (Records,NumberOfRecordsUpdated) instead of raw wire camelCase, soResultSelectorpaths like$.Recordsresolve correctly. Contributed by @jayjanssen.
[1.3.29] — 2026-05-06
Added
- EC2
DescribeVpcEndpointServices— returns the standard catalog of 2 Gateway services (s3,dynamodb) and 17 Interface PrivateLink services with region-templated DNS names and stable per-service IDs.ServiceNames,service-name, andservice-typefilters supported. Reported by @svenikea. - DynamoDB legacy
AttributeUpdates—UpdateItemnow applies the pre-expression parameter withPUT(default),DELETE(full removal or set subtract), andADD(numeric increment or set union) actions. Mutually exclusive withUpdateExpression. .NET AWS SDK upserts (UpdateItemunder the hood) were silently dropping all non-key fields. Reported by @gnjack.
Fixed
- Step Functions
aws-sdk:ec2security group compatibility —CreateSecurityGroupnow maps SDKDescriptionto wireGroupDescription,DescribeSecurityGroupssends EC2-shaped filters (Filter.1.Value.1instead ofmember.N), and the XML adapter returnsSecurityGroupsrather than rawSecurityGroupInfo. Contributed by @jayjanssen. - Step Functions
aws-sdk:s3integration — S3 was tagged asrest-protocol with no dispatcher; every call failed withStates.Runtime. New REST-XML dispatcher coversListBuckets,CreateBucket,DeleteBucket,HeadBucket,GetBucketVersioning,ListObjectsV2,ListObjects,HeadObject,CopyObject,DeleteObject,GetObjectTagging,PutObjectTagging.GetObject/PutObjectdeferred to Phase 2. Reported by @LeTrungNguyen1703. - SQS
ReceiveMessagehonorsMessageSystemAttributeNames— only the deprecatedAttributeNameswas read, so AWS SDK v2 (Java/Kotlin) consumers got emptyAttributesand brokenApproximateReceiveCount-based redelivery detection. Contributed by @joaomena. - CFN
AWS::SNS::SubscriptionhonorsRawMessageDelivery— the provisioner silently defaulted tofalseeven when templates settrue, so consumers got SNS-wrapped envelopes instead of raw payloads. Contributed by @joaomena.
[1.3.28] — 2026-05-05
Added
- ECS Task Metadata V4 — every container started by
RunTasknow getsECS_CONTAINER_METADATA_URI_V4injected, and the gateway serves/v4/<token>,/v4/<token>/task(with siblingContainersarray), and/v4/<token>/stats+/task/stats(stub). Standardcom.amazonaws.ecs.*container labels.RunTaskalso translatesprivileged,linuxParameters.capabilities.add,pidMode: host, andvolumes+mountPointsinto Docker bind mounts. Contributed by @YakirOren.
Fixed
- DynamoDB legacy
Expected(PutItem / UpdateItem / DeleteItem) andKeyConditions(Query) — previously ignored; SDKs and code paths that still use the pre-expression API now work.ScanFilter/QueryFiltercomparison support extended to all 13 legacy operators (EQ,NE,LE,LT,GE,GT,NOT_NULL,NULL,CONTAINS,NOT_CONTAINS,BEGINS_WITH,IN,BETWEEN) with type-aware numeric comparison. Reported by @darkamgine - DynamoDB
TransactWriteItemsmulti-failure reporting — only the first failing item was marked inCancellationReasons; AWS returns aConditionalCheckFailedentry for every failing item in the transaction. Now evaluates all conditions in a first pass and reports each failure. Reported by @anghel93 and @gnjack
[1.3.27] — 2026-05-04
Added
- AWS CloudTrail — in-memory audit log + control plane. Recording opt-in via
CLOUDTRAIL_RECORDING=1; per-account ring buffer (CLOUDTRAIL_MAX_EVENTS=10000).LookupEventssupports all 8 AWSLookupAttributes. Control plane:CreateTrail,DeleteTrail,GetTrail,DescribeTrails,ListTrails,UpdateTrail,GetTrailStatus,StartLogging/StopLoggingwith realIsLoggingstate,Put/GetEventSelectors,AddTags/ListTags/RemoveTags. Contributed by @AdigaAkhil. - AWS Resource Groups (
resource-groups, 2017-11-27) — 19 of 23 spec operations: group CRUD, resource queries, configuration, membership, tagging, account settings. Tag-sync ops omitted (not exposed by AWS CLI / Terraform). Requested by @staranto.
Fixed
- API Gateway v1
GetUsagePlanKey—GET /usageplans/{planId}/keys/{keyId}handler was missing; per-key path fell through to 404. Terraform'sGetUsagePlanKeyrefresh afterCreateUsagePlanKeyaborted everyaws_api_gateway_usage_plan_keyapply. Contributed by @marcin-nowak-scl. - API Gateway v1 HTTP_PROXY path-param substitution + query-string forwarding —
{paramName}placeholders in integrationuriwere forwarded literally; the inbound execute path was appended to the integration URI; query string was dropped. Now substitutes fromintegration.request.path.X = method.request.path.Xmappings (plus{proxy}for{proxy+}), uses the substituted URI as the upstream URL, and forwards the query string. Contributed by @marcin-nowak-scl. - API Gateway v1
UpdateModel—PATCH /restapis/{id}/models/{name}was missing; Terraformaws_api_gateway_modelupdates 404 - Transfer Family
LOGICALroot home directory mappings —Entry="/"failed to match because the resolver built"//"as the prefix. Contributed by @stefanmb. - CloudTrail router target prefix — was
AmazonCloudTrailService; AWS usesCloudTrail_20131101. Routing still worked via credential scope, but the prefix entry was dead code. - CloudTrail
IsLoggingstate onStop/StartLogging— both were no-ops;GetTrailStatusalways returnedIsLogging: True. Now flips the trail record's state and stamps_StartedAt/_StoppedAt(int epoch). - STS
Credentials.Expirationis int epoch in the JSON path —AssumeRole/AssumeRoleWithWebIdentity/GetSessionTokenreturned a float; Java/Go SDK v2 reject it. backup/eks_epoch()/_now()return int — weretime.time()(float); consumed by record fields likecreatedAt.- DynamoDB
ConditionalCheckFailedExceptionpopulatesItemonReturnValuesOnConditionCheckFailure="ALL_OLD"—PutItem/UpdateItem/DeleteItem/TransactWriteItemsnow return the prior item alongside the error code (and on the failingCancellationReasonfor transactions). Verified against botocore:CancellationReasonandConditionalCheckFailedExceptionshapes both includeItem. Reported by @darkamgine. - CFN
AWS::S3::Bucketpreserves physical id on update — auto-named buckets got a new random name on everyUpdateStack, breaking{Ref}after redeploy. Contributed by @erick-reis-gran. - CFN
AWS::Lambda::Functionreturns realCodeSize/CodeSha256— were hardcoded; now computed from the deployment-package bytes. Contributed by @erick-reis-gran.
[1.3.26] — 2026-05-04
Added
- CloudFormation
AWS::CloudFront::KeyValueStore— Create / Update (Comment in place) / Delete; exposesArn,Id,StatusviaFn::GetAtt. CFN engine now routes previously-provisioned resources through a per-typeupdatehandler when one is defined, falling back to idempotentcreateotherwise. CloudFrontCreateKeyValueStoreaccepts the optionalImportSource(SourceType+SourceARN) and round-trips it on the record.
Fixed
- OpenSearch non-VPC domains omit empty
VPCOptions—CreateDomain/DescribeDomainpreviously returnedVPCOptions: {}alongsideEndpoint, causing Terraform AWS provider reads to classify the domain as VPC-backed and fail withOpenSearch Domain in VPC expected to have null Endpoint value. Non-VPC domains now omitVPCOptions; VPC-shaped domains returnEndpoints["vpc"]instead ofEndpoint. Contributed by @marcin-nowak-scl. - S3 Files routes and shapes match AWS
s3files-2025-05-05—CreateFileSystemisPUT /file-systems(notPOST); request and response bodies use camelCase (bucket,roleArn,fileSystemId,creationTimeint epoch); resource tagging moved to/resource-tags/{resourceId};PutSynchronizationConfigurationenforces optimistic concurrency vialatestVersionNumber; standardValidationException/ResourceNotFoundException/ConflictExceptionerrors withapplication/jsoncontent type. Resolves the reportedUnknown S3 Files route: PUT /file-systemsfailure from the AWS CLI / Terraform. Reported by @tmq107
[1.3.25] — 2026-05-03
Added
- AppSync Events API — Event API management under
/v2/apis, channel namespaces, API keys via/v1/apis/{apiId}/apikeys, HTTP publish on{apiId}.appsync-api.*, and realtime WebSocket on{apiId}.appsync-realtime-api.*(aws-appsync-event-wssubprotocol). Strict auth viaAPPSYNC_EVENTS_ENFORCE_AUTH=1. Contributed by @marcin-nowak-scl. - CloudFront KeyValueStore — management plane — Create/Describe/List/Update/Delete with ETag concurrency;
KeyValueStoreAssociationsround-tripped through CloudFront Functions. Contributed by @DaviReisVieira. - CloudFront KeyValueStore — data plane — separate
cloudfront-keyvaluestoreservice covering Describe, ListKeys, GetKey, PutKey, DeleteKey, UpdateKeys with ETag concurrency. Requested by @shellscape. Contributed by @DaviReisVieira. - EventBridge
cron()schedule auto-fire — full AWS-spec parity. Zero-dep parser for the 6-field syntax:*,?, ranges, steps, lists, named month/weekday tokens, and theL(last day /<n>Llast weekday-of-month),LW(last weekday),<n>W(nearest weekday), and<n>#<k>(kth weekday-of-month) operators. DoM/DoW mutual-exclusion enforced atPutRule. Contributed by @hiddengearz.
Fixed
- AppSync Events
ChannelNamespaceresponse now includeschannelNamespaceArn— spec member was omitted; Terraform / Java SDK v2 sawnullwhere AWS returns the ARN. - CloudFront KVS data-plane
DescribeKeyValueStoreCreated/LastModified— were hardcoded to0; now parsed from the management-plane timestamp into int epoch seconds. - S3 vhost routing excludes
cloudfront-kvs.*— moved the bypass from a/key-value-stores/path check up to the_NON_S3_VHOST_NAMEShost-name layer. - EventBridge
DescribeRule/ListRulesnow emitCreatedByandManagedBy— spec members were silently dropped from_rule_out. - EventBridge
PutEventsrejects more than 10 entries — AWS spec capsEntriesat 10; ministack accepted any size. - EventBridge event
Timeis int epoch seconds, not float — Java/Go SDK v2 timestamp parsers reject high-precision floats; archive replays now also dispatch the int form. - EventBridge content-filter
[{"exists": false}]matches absent keys — short-circuited to no-match before theexistsbranch was evaluated, so patterns that should fire on missing fields silently dropped. - EventBridge
ListRulespaginates — addedLimit(1-100) and opaqueNextToken; previously returned the full list and SDK paginators looped on the first page. - EventBridge
ListRuleNamesByTargetNextTokenis opaque — was a raw integer offset string. - EventBridge
DescribeEventBus/ListEventBusesomitPolicywhen no policy set — was emitting"", divergent from AWS shape. - EventBridge
DescribeEventSourceState — was hardcodedENABLED; AWS enum isPENDING/ACTIVE/DELETED. Now returnsACTIVE.
[1.3.24] — 2026-05-02
Fixed
x-amzn-errortypeheader now emitted on every JSON-protocol error response. Real AWS sends the error type in both the body (__type) and thex-amzn-errortypeheader. boto3 falls back to the body, but Java SDK v2, Go SDK v2, and Rust SDK prefer the header — without it they surfaceSdkClientException: unknown error typeinstead of the actual code. Applied centrally inerror_response_jsonand inline in 12 services that build error bodies directly (apigateway v1/v2, opensearch, scheduler, eks, ses, backup, sqs, cloudwatch, dynamodb, tagging).- AppConfig 404 bodies now include
__type. Was{"Code": ..., "Message": ...}; generic JSON error parsers that look for__typesaw an unknown shape. Body now carries both styles. - Three previously-stateless services expose a no-op
reset()(account,waf-classic,resourcegroupstaggingapi) so/_ministack/resetno longer logs a warning per call.
[1.3.23] — 2026-05-01
Added
- Amazon OpenSearch Service — management plane on
/2021-01-01/*: CreateDomain, DescribeDomain(s), DeleteDomain, ListDomainNames (withEngineTypefilter), UpdateDomainConfig, DescribeDomainConfig (Options/Statuswrapping), DescribeDomainChangeProgress, ListVersions, GetCompatibleVersions, AddTags/ListTags/RemoveTags. Account-scoped state. Default data plane is a stub endpoint; setOPENSEARCH_DATAPLANE=1to spawn one realopensearchproject/opensearchcontainer perCreateDomain(same pattern as ElastiCache/RDS). AddOPENSEARCH_DASHBOARDS=1for an optional per-domainopensearch-dashboardssidecar —DescribeDomain.DashboardEndpointis populated.DeleteDomaintears down spawned containers. Terraformaws_opensearch_domaincompatible. Requested by @marcin-nowak-scl. - EventBridge scheduled rule auto-fire —
rate(N minute|hour|day)rules now fire automatically. A daemon thread (eb-scheduler) ticks every 10 s; the per-rule countdown anchors toCreationTimeso the first fire lands one full interval afterPutRule. Scheduled event payload matches AWS exactly (source: aws.events,detail-type: Scheduled Event,detail: {}, ISO 8601time). Multi-tenant — iterates the rules store directly.cron()expressions are stored but not yet auto-fired (one-timeINFOlog surfaces the gap). Contributed by @hiddengearz. - AWS Organizations — DescribeOrganization, ListRoots, ListAccounts, DescribeAccount, ListOrganizationalUnitsForParent / ListAccountsForParent, CreateOrganizationalUnit / DescribeOrganizationalUnit / DeleteOrganizationalUnit. Single-master-account org auto-initialised on first call; nested OUs carry the new
Pathfield (2026-03 AWS additive change). - AWS Account service — GetAccountInformation, GetContactInformation, ListRegions, GetRegionOptStatus. Returns the new
AccountState: ACTIVEfield (2026-04 AWS additive change). Older boto3 SDKs strip the field; newer ones see it. - AWS Batch — control-plane stub: ComputeEnvironments, JobQueues, JobDefinitions (auto-revisioning), SubmitJob (auto-
SUCCEEDED), DescribeJobs, ListJobs. Account-scoped. - WAF Classic + Regional (v1) — minimal stub so legacy clients (Terraform, old CFN) get clean empty-state responses instead of 405.
List*returns empty arrays,GetChangeToken/GetChangeTokenStatusreturn valid responses,Get*for unknown resources returnsWAFNonexistentItemException. For full WebACL state usewafv2. - EC2 DescribeRegions — returns 31 commercial regions with correct
OptInStatus(opt-in-not-requiredfor legacy us-/eu-/ap-* regions,opted-infor newer ones). SupportsRegionNamesfilter andAllRegionstoggle. - Lambda
FileSystemConfigsaccepts S3 ARNs — the 2026-04 AWS S3-mount addition. Server stores and round-trips whatever ARN format the SDK sends (EFS access points, S3 buckets, future shapes). - EventBridge
LogConfig— additive 2026-03 field onCreateEventBus/UpdateEventBus; persisted, returned onDescribeEventBus. - API Gateway v1
securityPolicyaccepts the new TLS-1.3 enum — allow-listsSecurityPolicy-TLS13-1-2-FIPS-PFS-PQ-2025-09(2026-03 addition) and any future opaque values; default remainsTLS_1_2.
Fixed
- S3
PostObjectaccepts unquotedContent-Dispositionfield names — .NET'sMultipartFormDataContentemitsname=foofor ASCII-clean values per RFC 2183; the parser previously only matched the quoted formname="foo"and droppedkey/success_action_status, causing browser-form uploads from .NET clients to 400. Reported by @mattburton. - EventBridge target dispatch
timefield is ISO 8601 — was a Unix epoch float, AWS specifies a string like2026-05-01T18:08:16Z. BothPutEvents-driven and scheduled-rule-driven dispatches now use the canonical format.
Performance
- Idle RAM% — Dockerfile now sets
PYTHONOPTIMIZE=2andMALLOC_ARENA_MAX=2. Verified zero correctness impact (noassertor__doc__introspection in ministack source); throughput unchanged.
[1.3.22] — 2026-04-30
Added
- Cognito PreTokenGeneration Lambda trigger —
LambdaConfig.PreTokenGenerationConfig(V2_0) and the legacyLambdaConfig.PreTokenGeneration(V1_0) are now round-tripped throughCreateUserPool/UpdateUserPool/DescribeUserPooland invoked at token-mint time. Before signing an access or id token, ministack synchronously invokes the configured Lambda with the AWS-shaped event (triggerSource,userPoolId,request.userAttributes,request.groupConfiguration,request.scopesfor V2+,callerContext.clientId, etc.) and applies the Lambda'sresponse.claimsAndScopeOverrideDetails.{accessTokenGeneration,idTokenGeneration}(V2_0:claimsToAddOrOverride,claimsToSuppress,scopesToAdd,scopesToSuppress,groupOverrideDetails) — or the legacyresponse.claimsOverrideDetails(V1_0, id token only). Refresh tokens are opaque in AWS and skip the trigger. Lambda errors fail open (token issued without overrides + warning logged); setMINISTACK_COGNITO_PRETOKEN_STRICT=1to fail closed the way real AWS does. Invocation reuses the existing_resolve_name_and_qualifier→_get_func_record_for_qualifier→_execute_functionchain inlambda_svc.py— no new handlers added. Reported by @aahoughton (#533). - S3 PostObject (browser-based form upload) —
POST /<bucket>/withmultipart/form-datais now handled. Honourskey(with${filename}substitution from the file part),Content-Type,x-amz-meta-*,x-amz-storage-class,x-amz-tagging, the object-lock headers,success_action_status(200/201/204; default 204), andsuccess_action_redirect(303 withbucket=&key=&etag=appended). On 201 returns the<PostResponse>XML withLocation/Bucket/Key/ETag. Versioning, persistence, multi-tenancy, S3 event notifications all flow through the same path asPutObject. Thecontent-length-rangepolicy condition is enforced — uploads under the minimum returnEntityTooSmall400 and uploads over the maximum returnEntityTooLarge400 (matches AWS error codes). Other policy conditions and the signature field are accepted but not validated — same lenient stance as ministack's presigned-URL handling. boto3'sgenerate_presigned_postworks end-to-end. Requested by @mattburton (#535). - Init / ready scripts: expose
MINISTACK_INIT_SCRIPT_DIRandMINISTACK_INIT_SCRIPT_PATHto each script — every.sh/.pyrun from/docker-entrypoint-initaws.d[/ready.d](or/etc/localstack/init/{boot,ready}.d) now sees its own directory and absolute path in the environment, so scripts can reference sibling files (aws s3 cp "${MINISTACK_INIT_SCRIPT_DIR}/data.json" s3://bucket/) without hardcoding the mount path or computingdirname "${BASH_SOURCE[0]}". Phase-levelMINISTACK_INIT_BOOT_DIR/MINISTACK_INIT_READY_DIRare also set when those directories exist. Requested by @andreluiznsilva (#520). - EC2 Instance Metadata Service (IMDS) emulator — new
imdsservice responds on the gateway port at/latest/api/token(IMDSv2) and/latest/meta-data/...//latest/dynamic/instance-identity/document. Returns a credentials document under roleministack-instance-roleso SDKs that fall through to the IMDS step of the default credential chain (boto3, aws-sdk-go-v2, AWS SDK Java v2) get a validASIA*session key + token. Both IMDSv1 (token-less) and IMDSv2 (PUT /token → GET withX-aws-ec2-metadata-token) supported; setMINISTACK_IMDS_V2_REQUIRED=1to reject token-less requests, matching AWS hop-limit-1 IMDSv2-only instances. Point SDKs at ministack viaAWS_EC2_METADATA_SERVICE_ENDPOINT=http://localhost:4566(orec2_metadata_service_endpointin~/.aws/config); we don't bind the link-local 169.254.169.254 IP — that's a per-container network-alias concern, not portable from inside ministack. Reported by @bimargulies
Fixed
- S3 PutObject
StorageClasswas dropped on the floor — objects written withStorageClass=GLACIER/INTELLIGENT_TIERING/ etc. came back fromGetObject,HeadObject,ListObjects(V2), andListObjectVersionsasSTANDARD. The header is now stored on the object record and emitted on the wire (header omitted for the defaultSTANDARD, matching AWS). Same propagation throughCopyObject(with optional override viax-amz-storage-class) andCreateMultipartUpload→CompleteMultipartUpload. Unknown storage class values now returnInvalidStorageClass(400). Verified againstbotocore/data/s3/2006-03-01/service-2.json. Reported by @JoeHale (#534).
[1.3.21] — 2026-04-29
Added
- ElastiCache: real Redis replication groups + opt-in real Redis Cluster mode —
CreateReplicationGroupnow spawns live Redis containers per shard (was a metadata-only stub). BehindELASTICACHE_CLUSTER_MODE_REAL=1+DOCKER_NETWORK,NumNodeGroups=N/ReplicasPerNodeGroup=RprovisionsN × (1+R)cluster-enabled nodes, runsredis-cli --cluster create, and serves realCLUSTER SLOTS/MOVEDredirects.NumNodeGroups=2rejected withInvalidParameterValue(matches AWS: only 1 or ≥3 shards). Account-scoped container names +account_idlabel so accounts can sharerg_id; orphan-container reaper at startup. Reported by @akursar.
Fixed
- ElastiCache list responses wrapped items in
<member>instead of the AWS-spec element name —DescribeCacheClustersand 10 other list-emitting ops emitted<member>where AWS uses the model-declaredlocationName(e.g.<CacheCluster>,<Tag>,<Snapshot>). Strict generated SDKs (aws-sdk-go-v2, Java/Rust v2) parse a<member>-wrapped list as empty; botocore is permissive, so boto3 / CLI users never saw it. 16 sites fixed; the 5 remaining<member>sites (UserList,UserGroupList,UserIdList, etc.) match AWS. Verified against botocore service-2.json. Reported by @jmickey (#530). - RDS error codes carried a stale
Faultsuffix on two not-found shapes —DescribeDBInstances(and 7 other DBInstance ops) emitted<Code>DBInstanceNotFoundFault</Code>while real AWS returns<Code>DBInstanceNotFound</Code>;DescribeDBParameters(and 9 other DBParameterGroup ops) emitted<Code>DBParameterGroupNotFoundFault</Code>while real AWS returns<Code>DBParameterGroupNotFound</Code>. Verified againstbotocore/data/rds/2014-10-31/service-2.json(the wireerror.codediffers from the shape name on ~19 RDS not-found errors — these two were the ones ministack emitted with the wrong wire code). Breaks string-matching consumers like the ACK RDS controller'ssdkFind, which comparesawsErr.ErrorCode() == "DBInstanceNotFound"to detect the not-found branch and reach the create path; with theFaultsuffix the branch never matched and the CR sat atReady=False. Also affectsaws-sdk-go-v2(smithy.APIError.ErrorCode()) and any boto3 caller matching one.response["Error"]["Code"]. Reported by @jmickey. - RDS error responses were missing
<Type>Sender</Type>/<Type>Receiver</Type>— real AWS Query-protocol error envelopes include the fault type alongside<Code>and<Message>. The_errorhelper now emitsSenderfor 4xx andReceiverfor 5xx. Cosmetic for SDKs that read<Code>only, but completes the documented AWS shape. - API Gateway REST API (v1): pagination missing on 10 list operations —
GetRestApis,GetResources,GetDeployments,GetAuthorizers,GetModels,GetApiKeys,GetUsagePlans,GetUsagePlanKeys,GetDomainNames, andGetBasePathMappingsignored the AWS-speclimit(default 25, max 500) +positionquery params and always returned the full list with nopositioncursor. Pagination-aware SDKs that round-trip the cursor (boto3 paginators, AWS CLI--max-items/--starting-token, Java SDK v2) silently received the same first page on every call. The 10 ops now slice perlimit, return an opaque base64url-encodedpositiontoken when more pages remain, and reject malformed tokens withBadRequestException.GetStagesis correctly not paginated — its AWS shape has nolimit/positionfields. - API Gateway REST API (v1)
PutMethodResponseandPutIntegrationResponsereturned HTTP 200 instead of 201. Real AWS returns 201 on resource creation (verified againstbotocore/data/apigateway/2015-07-09/service-2.json); the AWS CLI prints the resource on 201 and is silent on 200, so scripts that branched on stderr would diverge. The remaining v1 Create/Put ops already returned 201.
[1.3.20] — 2026-04-29
Added
- API Gateway (HTTP API and REST): JWT authorizer enforcement, HTTP proxy parameter mapping, and non-blocking proxy/JWKS I/O — HTTP API (
apigateway) and REST API (apigateway_v1) now enforce JWTissuer+audiencevalidation against a JWKS URL (RS256 signatures only — Cognito's standard), apply request parameter mappings forHTTP/HTTP_PROXYintegrations (append/overwrite/removefor headers and querystring, plusoverwrite:path, with$context.authorizer.jwt.claims.*and$stageVariables.*substitution), and offload upstream proxy + JWKS fetches off the event loop so a slow backend can no longer stall unrelated requests. Authorizer issuers of the formhttps://cognito-idp.{region}.amazonaws.com/{poolId}are rewritten to MiniStack's local Cognito JWKS endpoint so locally-minted tokens verify without leaving the box. Reserved-header list for parameter mapping matches the AWS HTTP API spec exactly. Operator tuning:MINISTACK_APIGW_PROXY_TIMEOUT_SECONDS(default30),MINISTACK_APIGW_JWKS_TIMEOUT_SECONDS(default5). Cognito's signing key is now persisted under${STATE_DIR}/cognito-rsa-key.pemso tokens minted in one process verify in another. Contributed by @marcin-nowak-scl. - DynamoDB Streams read API — new
ministack/services/dynamodb_streams.pyexposesListStreams,DescribeStream,GetShardIterator, andGetRecordsviaboto3.client("dynamodbstreams")and thestreams.dynamodb.*host. Reads the records already captured by the main DynamoDB service (emitted fromPutItem,UpdateItem,DeleteItem,TransactWriteItems, andBatchWriteItem) so the public Streams API and the internal Lambda ESM path share one source of truth. Supports all four iterator types (TRIM_HORIZON,LATEST,AT_SEQUENCE_NUMBER,AFTER_SEQUENCE_NUMBER) and all four stream view types (NEW_AND_OLD_IMAGES,NEW_IMAGE,OLD_IMAGE,KEYS_ONLY). Single synthetic shard per stream; opaque base64 iterator tokens. UnblocksDynamoDbOutboxWorker-style consumers. Contributed by @marcin-nowak-scl. - DynamoDB → Kinesis streaming destination —
EnableKinesisStreamingDestination,DisableKinesisStreamingDestination,DescribeKinesisStreamingDestination, andUpdateKinesisStreamingDestinationonboto3.client("dynamodb"). Item mutations fromPutItem/UpdateItem/DeleteItem/TransactWriteItems/BatchWriteItemfan out to every ACTIVE destination as JSON-encoded records (viakinesis.put_record_internal) for Kinesis / Lambda ESM / Firehose-style consumers. DISABLED destinations remain onDescribefor the ~24h AWS window;DeleteTabledrops destinations. The wire envelope reuses the DynamoDB Streams record shape — AWS does not publicly document the exact Kinesis envelope it produces, so MiniStack approximates it with the Streams record. Contributed by @marcin-nowak-scl. - Native HTTPS via
USE_SSL=1— the gateway listener now speaks TLS whenUSE_SSL=1(also acceptstrue/yes), aligning with LocalStack'sUSE_SSLflag name so acompose.ymlswitching emulator doesn't need TLS-specific changes. By default, MiniStack auto-generates a self-signed RSA cert (CN:ministack-local, SAN:localhost,ministack,127.0.0.1,::1) cached under${TMPDIR}/ministack-tls/so the cert survives restarts. To pin a specific cert (e.g. anmkcert-issued one for browser trust), setMINISTACK_SSL_CERTandMINISTACK_SSL_KEYto PEM paths. Auto-generation shells out to theopensslCLI (already present in both images), so no Python crypto dep is added. Unblocks AWS SDKs that hardcodehttps://against Cognito Hosted UI endpoints (e.g. Amplify v6) without needing a separate TLS-terminating proxy. Closes #526. Contributed by @prandogabriel.
Fixed
- Step Functions
aws-sdk:rds:removeFromGlobalClusterleft global cluster members attached — query-protocol parameter conversion uppercasedDbClusterIdentifiertoDBClusterIdentifier, but the RDS API shape forRemoveFromGlobalClusterintentionally usesDbClusterIdentifier. The task now preserves that member name so a successful remove actually detaches the cluster and a followingDeleteGlobalClustermatches AWS behavior. Contributed by @jayjanssen. - Kinesis
ListShardsNextTokenreturned a raw shard ID instead of an opaque pagination token — AWS specifies an opaque token (length 1-1048576) with a 300-second TTL that yieldsExpiredNextTokenExceptionwhen expired. MiniStack now emits a base64url-encoded opaque token and rejects expired or malformed tokens with the AWS-correct error code, so SDKs that round-trip the token (and the rare consumers that inspect or persist it) see AWS-shape behavior. - DynamoDB
DescribeContinuousBackupsreturnedEarliestRestorableDateTime: 0/LatestRestorableDateTime: 0when PITR was disabled — emitting Unix epoch 1970 misled SDK consumers that parsed the values into datetimes. Both fields are now omitted whenPointInTimeRecoveryStatusisDISABLEDand populated with a real timestamp whenENABLED. - DynamoDB
DescribeEndpointsreturned the hardcoded real-AWS endpointdynamodb.us-east-1.amazonaws.com— endpoint-discovery-aware SDKs would cache that address and silently redirect subsequent calls AWAY from MiniStack to real AWS. The endpoint now reflects MiniStack's own host (MINISTACK_HOST:GATEWAY_PORT) so SDKs keep talking to the emulator.
[1.3.19] — 2026-04-29
Added
- S3 virtual-hosted and path-style integration tests —
TestS3VhostGetPutObjectexercises both addressing styles end-to-end (simple and max-length dotted bucket names),TestExtractS3VhostBucketunit-tests the vhost extraction function, andpatch_endpoint_dnslets virtual-hosted requests resolve against localhost in CI.make_clientnow acceptsadditional_config_kwargsfor per-test SDK config overrides. Contributed by @mgius-ae.
Fixed
- S3 requests via custom
MINISTACK_HOSThostname returnedNoSuchBucket—_extract_s3_vhost_bucket(introduced in 1.3.17) treated any dotted hostname as a virtual-hosted S3 URL, extracting the first label as a bucket name. Requests tohttp://aws.private:4566were misrouted as a vhost request for a bucket namedaws. The function now checks the tail againstMINISTACK_HOSTand recognises all 18 documented AWS S3 virtual-hosted patterns (s3,s3-accelerate,s3-fips,s3-accesspoint,s3-accesspoint-fips,s3-website,s3express-*, and their dualstack/regional variants). Bare hostnames, IPv4 addresses, andlocalhostare correctly treated as path-style. Reported by @dsrosario. - Glue
GetDatabasereturnedLocationUri: ""when not set — AWS specifies a minimum length of 1 forLocationUri, so the empty-string default violated the spec. Now returnsnullwhen the field is omitted fromCreateDatabase. Contributed by @dcrn. - Ruff linter not running on pull requests — CI workflow trigger was missing the PR event.
[1.3.18] — 2026-04-28
Fixed
:latestDocker tag pointed at the:fullimage instead of the regular Alpine image —docker/metadata-action's defaultflavor: latest=autoauto-added:latestto both the regular and the full meta blocks; the full build ran second and overwrote:lateston Docker Hub. Anyone runningdocker pull ministackorg/ministacksilently got the 360 MB Debian image instead of the 110 MB Alpine one. Fixed by addingflavor: latest=falseto the full meta block in bothdocker-publish.ymlanddocker-publish-on-pr.ymlso only the regular build claims:latest.- Full image reported
version: 1.3.17-fullon/_ministack/health— theMINISTACK_VERSIONbuild-arg for the full image was sourced from the full meta'soutputs.version, which includes the-fullsuffix used for tagging. Tools parsing theversionfield for semver checks saw1.3.17-fulland rejected it. Now sourced from the regular meta'soutputs.versionso both editions report a clean1.3.18; the edition is already separately exposed asedition: full.
[1.3.17] — 2026-04-28
Added
ministackorg/ministack:fullDocker variant — Debian/glibc-based superset of the regular Alpine image, addingduckdb(Athena engine),psycopg2-binary(PostgreSQL driver), andpymysql(MySQL driver). DuckDB and psycopg2 shipmanylinuxwheels but nomusllinuxwheels, so on Alpine they either fall back to source-builds or silently disable themselves; the:fulltag installs them cleanly. Published in lockstep with the regular image on every release::fullalways points at the latest Debian build, alongside:{version}-fulland:{major}.{minor}-full. The regular:latest/:{version}tags are unchanged. Full image reportsedition: fullon/_ministack/health; regular reportsedition: light. Closes the long-standing Athena-on-Alpine gap raised by @arischow.- STS
GetWebIdentityTokenaction — implements AWS-spec validation:SigningAlgorithmis required and must beRS256orES384;Audience.member.Nis required, 1–10 items × 1–1000 chars;DurationSecondsis bounded 60–3600 (default 300). Returns a parseable JWT for OIDC dev flows. Signature is HS256 (not the publicly-verifiable RS256/ES384 real STS publishes via JWKS) — sufficient for emulator workloads that inspect claims, not for clients that verify against AWS JWKS. Requested by @anghel93.
Fixed
- Step Functions child execution integrations now return child execution metadata —
arn:aws:states:::states:startExecutionstarts the nested execution and returnsExecutionArn/StartDateinstead of echoing the request payload.arn:aws:states:::aws-sdk:sfn:startExecutionnow accepts AWS Step Functions' PascalCase integration parameters (StateMachineArn,Input,Name) by translating them to MiniStack's lower-camel Step Functions API shape. Existing.syncand.waitForTaskTokenpaths preserved. Contributed by @jayjanssen. - STS
GetCallerIdentityreturnedarn:aws:iam::{account}:rootregardless of credentials — tests obtaining temporary credentials viaAssumeRoleand then verifying the assumed-role identity could never confirm the role. Handler now extracts theAccessKeyIdfrom the SigV4Authorizationheader and looks it up in a session map populated byAssumeRole/AssumeRoleWithWebIdentity, returning the matchingarn:aws:sts::{account}:assumed-role/{role}/{session}ARN and{role-id}:{session}UserId. Falls back to root for non-session credentials. Contributed by @hectormauer. - S3 virtual-hosted-style routing broke on non-
localhostendpoints —_S3_VHOST_REwas anchored to_MINISTACK_HOST(defaultlocalhost), so requests withHost: bucket.ministack:4566(Docker Compose service name) or any custom hostname fell through to S3 path-style with the wrong bucket — silently breaking AWS SDK for JavaScript v3 setups. Replaced with_extract_s3_vhost_bucket(host)which validates against AWS bucket-naming rules (3–63 chars, lowercase + digits + dots + hyphens, alphanum start/end, no.., not IPv4) and accepts any tail — vhost works againstlocalhost,ministack, custom DNS, ors3.amazonaws.comwithout configuration. Verified against 40 host-header cases. The dead vhost branch ins3.py:_parse_bucket_keyis removed since the rewrite happens at the routing layer. Reported by @mgius-ae. - Lambda routing missed every API path that wasn't
/2015-03-31/functions— the path-based service detector only matched the original Lambda API version date, so unsigned requests to/2019-09-25/functions/.../event-invoke-config(PutFunctionEventInvokeConfig),/2019-09-30/functions/.../provisioned-concurrency,/2021-10-31/functions/.../url,/2018-10-31/layers,/2015-03-31/event-source-mappings,/2015-03-31/tags,/2016-08-19/account-settings,/2018-06-01/runtime/..., and/2020-04-22/code-signing-configs/...all fell through to S3. boto3 always signs (so it routed via SigV4 credential scope), but raw HTTP / curl / the Lambda Runtime API itself missed. Detector now matches^/{date}/{lambda-resource}/...for every documented resource. - CloudFormation
AWS::Lambda::Functionnever fetched S3 code —_lambda_createstoredCode.S3Bucket/Code.S3Keyas metadata but never resolved them against the in-memory S3 service, so every CFN-deployed S3-backed Lambda hadcode_zip = Noneand failed to invoke. InlineZipFilewas unaffected; everything else broken. Provisioner now fetches the bytes via the standard Lambda S3 helper. Contributed by @hiddengearz. - Lambda warm-worker execution path was missing standard runtime env vars —
lambda_runtime.py's warm-worker path didn't injectAWS_REGION,AWS_DEFAULT_REGION,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_SESSION_TOKEN,AWS_LAMBDA_FUNCTION_VERSION, orAWS_LAMBDA_LOG_STREAM_NAME, while the Docker execution path already did. Functions callingboto3.client(...), X-Ray tracers, CloudWatch metric emitters, and any code branching on$LATESTvs published versions ran with an inconsistent environment compared to AWS. Warm-worker now injects the full set, matching Docker mode and AWS spec. Contributed by @hiddengearz. - 4 AWS wire-format compliance bugs. STS
AssumeRole/AssumeRoleWithWebIdentityreturnedarn:aws:iam::...:assumed-role/...for the assumed-role principal — real AWS usesarn:aws:sts::...:assumed-role/{role}/{session}(any IAM-policyCondition: aws:PrincipalArnchecking against the sts shape would mismatch). API Gateway v1PutIntegrationreturned HTTP 200 instead of 201. EventBridgeStartReplaystarted inRUNNINGstate instead ofSTARTING(background thread still transitionsRUNNING→COMPLETED). SNSSubscribereturnedPendingConfirmationasSubscriptionArnfor HTTP/email pending subscriptions — real AWS returns lowercasepending confirmation(with the space).
[1.3.16] — 2026-04-27
Added
BIND_HOSTenv var to configure the listen interface —BIND_HOST=127.0.0.1 ministacknow restricts the listener to loopback forpip installusers on shared dev machines. Defaults to0.0.0.0, so existing setups are unchanged. Distinct fromMINISTACK_HOST(the virtual hostname used for S3 virtual-host / execute-api URL matching). Contributed by @mattwang44.- Lambda
Code.S3ObjectVersionhonoured end-to-end —CreateFunction,UpdateFunctionCode,PublishLayerVersion, and the CloudFormationAWS::Lambda::Functionprovisioner all thread the version through to S3, so Terraformaws_lambda_function.s3_object_versionand CDKCode.fromBucket(..., objectVersion=...)deploy the pinned bytes instead of silently picking up the latest.
Fixed
- Lambda 250 MB unzipped-size limit was not enforced —
CreateFunction/UpdateFunctionCode/PublishLayerVersionaccepted oversize zips and failed only at invocation time. All three now reject up-front withInvalidParameterValueException, matching AWS. - S3 with
S3_PERSIST=1: versioned object bodies capped at 10 MB andGetObject(VersionId)returned 500 for larger multipart uploads — bodies now persist to disk (in-memory record drops the body, on-demand reads stream back), versioned reads return the persisted bytes, and disk writes go through atomictmp+renamewith mode0o600/ dir0o700plus a path-traversal guard that rejects keys resolving outsideS3_DATA_DIR. - Persisted Cognito hosted-UI / federation
_auth_codeslost across warm-boot —_auth_codeshad a 5-minute TTL but was declared "ephemeral, not persisted", so any in-flight hosted-UI sign-in straddling a warm-boot was silently invalidated. Now wired intoget_state/restore_stateso codes survive a restart up to their normal TTL. Plain-dict choice (noAccountScopedDict) preserved with a corrected rationale: none of the OAuth2 endpoints carry SigV4, so wrapping inAccountScopedDictwould be functionally equivalent. Contributed by @bognari. PERSIST_STATE=1: twelve mutated state dicts were silently dropped on warm-boot. Five wired in by @bognari (secretsmanager._resource_policies,kinesis._consumers,ecs._attributes,sns._platform_applications,sns._platform_endpoints) — without these,aws_secretsmanager_secret_policy,aws_kinesis_stream_consumer, ECS PutAttributes, and mobile-push topology silently disappeared on restart. Pluscloudwatch_logs._destinations/_metric_filters/_queries(also @bognari) — log-destinations and metric filters wiped on restart. Plus the seven follow-ups for the same bug family:sqs._queue_name_to_url(snapshotted viadict(asd)instead ofcopy.deepcopy, dropping every non-current-tenant mapping),eventbridge._event_bus_policies/_connections/_api_destinations(everyaws_cloudwatch_event_connectionandaws_cloudwatch_event_api_destinationlost),ssm._parameter_historyand_tags(GetParameterHistoryreturned empty after warm-boot), andlambda_svc._kinesis_positions/_dynamodb_stream_positions(every restart replayed event-source-mapping streams fromStartingPosition, a real at-least-once-delivery violation).- Persisted services failed to restore on startup for autoscaling / backup / eks / scheduler / pipes — these five services declared
restore_statebut never invoked it on import, so warm-boots came up with empty state regardless ofPERSIST_STATE=1. Wired in. Contributed by @bognari. - Eager-imported non-routable persisted services on startup — services without an HTTP route never imported, so their
load_stateblock never fired and persisted state evaporated. Eager-import now triggers restore. Contributed by @bognari. NameErrorat import on warm-boot for any persisted service whoserestore_statereferenced a forward-declared symbol — parametrized regression test added across every persisted service to catch the import-order shape that previously hitlambda_svc._ensure_poller,ecs._attributes, andacm._synthetic_pem. Contributed by @bognari.- ACM
GetCertificatereturned a placeholder PEM and leaked private-key bytes to disk onRequestCertificateissuance — body / chain fidelity now matches real AWS shape, and the private-key disk-leak path is scrubbed. Contributed by @bognari. - API Gateway v2 integration
physicalIdreturned{apiId}/{integrationId}instead of just{integrationId}— brokeRefresolution againstaws_apigatewayv2_integration, so route → integration lookup failed at request time and CFN-deployed HTTP APIs returned500 No integration configuredfor every request.Refnow matches AWS;handle_executeand_invoke_ws_lambdadefensively strip a legacy{apiId}/prefix so existing stacks continue to work. Contributed by @hiddengearz. - API Gateway v1
PutIntegrationdroppedcontentHandling— the field was accepted on create but never persisted, soCONVERT_TO_TEXT/CONVERT_TO_BINARYpayload translation silently no-op'd. Contributed by @bognari. - SNS → SQS raw delivery did not forward message attributes — raw subscriptions delivered the message body but stripped
MessageAttributes, so SQS receivers never saw them. Forwarded now, plus the follow-up that adds the matchingMD5OfMessageAttributesheader so Java / Go SDK receivers (which verify the digest) match real AWS. Contributed by @arischow. - Three medium / low correctness bugs.
apigatewayandapigateway_v1get_state()returned liveAccountScopedDictreferences instead of deep copies, so a concurrent write during shutdown serialisation could corrupt the persisted snapshot.secretsmanager._delete_secret(force=True)deleted the secret but left orphan entries in_resource_policieskeyed by ARN — invisible to the API but accumulating in memory and surviving warm-boot.acm._list_certificatesreturned{"NextToken": null}unconditionally — boto3 strips it client-side, but Java / Go / raw-HTTP pagination clients that loop onif NextToken in responselooped forever. Contributed by @bognari. Pattern extended in this release with a sweep acrossses_v2,apigatewayv2, andapigatewayv1 (ten more endpoints) so every list response now omitsNextTokenwhen there is no next page; AppSync's GraphQL{items, nextToken}shape is intentionally unchanged. /healthreportedversion: devin the published Docker image —pipis stripped from the runtime image, so theimportlib.metadatalookup that worked underpip install ministackreturned the fallback. Now reads from aMINISTACK_VERSIONenv var injected at image build time.
[1.3.15] — 2026-04-26
Added
- AWS Backup service — 21 operations across vaults, plans, selections, jobs, and tagging. Multi-tenant via
AccountScopedDict, persisted, and integrated with the Resource Groups Tagging API. Jobs returnCOMPLETEDimmediately — sufficient for Terraformaws_backup_*IaC validation, no real backup is performed. Contributed by @AdigaAkhil. - EventBridge archive event storage and replay dispatch —
PutEventswrites matching events to active archives (incrementingEventCount), andStartReplayre-dispatches the snapshot to the destination bus in a background thread so the destination's current rules and targets fire. Archives persist; replays surviving a restart are flipped toFAILED. Closes the long-standing "stored but not dispatched" gap. Contributed by @AdigaAkhil. - Transfer Family — real SFTP server —
asyncssh-backed listener on:2222(override withSFTP_PORT), backed by ministack's S3 state. Public-key auth resolves the user, server, and account in one shot — nousername$serveriddecoration.SFTP_PORT_PER_SERVER=1allocates one port per server fromSFTP_BASE_PORT(default 2300).HomeDirectoryType=PATHandLOGICALboth honored. Host key persists whenPERSIST_STATE=1. AddsStartServer/StopServer(OFFLINEservers refuse auth).asyncsshlives under the[full]extra; the base install serves the control plane and skips the listener. - CloudFormation
AWS::ApiGatewayV2::IntegrationandAWS::ApiGatewayV2::Routeprovisioners — completes the API Gateway v2 CFN surface, enabling full CDK HTTP API deployments (HttpApi.addRoutes()) against ministack. Both supportFn::GetAtt(IntegrationId,RouteId) and idempotent delete. Contributed by @hiddengearz. - Step Functions alias API —
Create/Update/Delete/Describe/ListStateMachineAliasesplus alias ARN resolution onDescribeStateMachine. Validation matches AWS (name regex, weights summing to 100, referenced versions must exist).DeleteStateMachineVersionnow refuses to drop a version an alias still routes to. Unblocksterraform planonaws_sfn_state_machineunder provider v6, which unconditionally callsListStateMachineAliaseson every refresh. Contributed by @mattwang44. - Step Functions versioning API —
Publish/Delete/ListStateMachineVersionsplus qualified-ARN resolution onDescribeStateMachine.CreateStateMachineacceptspublish=True. Optimistic concurrency viarevisionId; version numbers are monotonic and never reused after delete. Same terraform-provider-aws v6 motivation as the alias API. Contributed by @mattwang44. - CloudWatch Logs Delivery API — 12 actions across
DeliverySource/DeliveryDestination/Delivery(the 2023-era replacement for subscription filters that vended-logs producers like Bedrock and AppSync use to ship to S3 / CWL / Firehose). Server-derivedserviceanddeliveryDestinationType,outputFormatvalidated against the AWS enum, one-Delivery-per-pair enforced withConflictException. Contributed by @mattwang44.
Fixed
- RDS Postgres 18+ container refused to start —
postgres:18+images moved to a major-version-specific data layout (docker-library/postgres#1259) and refused to start with the pre-18 mount path. Mount path is now chosen per major:/var/lib/postgresql/datafor < 18 (unchanged),/var/lib/postgresqlfor ≥ 18. MySQL / MariaDB / Aurora MySQL unaffected. Also addspostgres 18.3,17.5,16.4toDescribeDBEngineVersions. Reported and contributed by @whittin3.
Changed
- RDS containers mount only the engine-appropriate data path — previously both
/var/lib/postgresql/dataand/var/lib/mysqlwere mounted on every container regardless of engine. Harmless but wasteful and opaque when debugging.
[1.3.14] — 2026-04-24
Added
DOCKER_NETWORKenv var unifies container networking across RDS / EKS / ElastiCache / Lambda — a single knob that replaces the old$HOSTNAMEauto-detection (which silently failed under docker-compose) and subsumes the legacyLAMBDA_DOCKER_NETWORK. When set, RDS and ElastiCache also switchEndpoint.Addressto the routable container IP instead oflocalhost, so Lambda containers on the same network can actually reach them.LAMBDA_DOCKER_NETWORKis still accepted as a fallback for backwards compatibility. Contributed by @bognari.LAMBDA_DOCKER_FLAGSenv var for Lambda container customisation — matches LocalStack's convention for injectingdocker runflags into Lambda containers. Supports-e/--env,-v/--volume,--dns,--network,--cap-add,-m/--memory,--shm-size,--tmpfs,--add-host,--privileged,--read-only. Unblocks TLS-proxy / custom-CA / routed-dev-network setups used in local Kubernetes environments. Default unset → behaviour identical to AWS. Contributed by @hzhou0.MINISTACK_IMAGE_PREFIXroutes nested images through a private registry — Testcontainers'hub.image.name.prefixnow propagates to every nested real-infra image (RDS postgres/mysql/mariadb, ElastiCache redis/memcached, EKS k3s, Lambda runtime images underpublic.ecr.aws/lambda/*). Air-gapped and proxy-only environments no longer need to accept docker.io pulls for real-infra containers. The Java Testcontainers module forwards the prefix automatically. Reported by @TJ-developer.- Testcontainers Java module reaps orphaned MiniStack containers and volumes on
stop()— RDS / ECS / EKS / ElastiCache nested containers spawned on the host engine are no longer leaked after the test run, closing a long-standing Podman-visible leak. The reaper labels all sidecar resourcesministack=<service>and removes them via the DockerClient regardless of the host engine (Docker or Podman). - Secrets Manager
ListSecretshonoursIncludePlannedDeletion— soft-deleted secrets are now returned when the flag is set, withDeletedDatepopulated on each entry per the AWSSecretListEntryspec. Unblocks clients that polllist-secrets --include-planned-deletionto confirm a soft delete. Contributed by @weeco.
Fixed
- S3 zero-byte
PutObjectchecksum mismatch with Java SDK v2 — the aws-chunked decoder mishandled zero-byte streaming PUTs (a single terminator chunk0;chunk-signature=…\r\n\r\n): it correctly broke the loop onchunk_size == 0but then fell through without replacing the body, leaving the raw chunked framing as the "body" bytes. The computed ETag (0cabc165…, MD5 of the wrapper) mismatched the client's expected ETag (d41d8cd9…, MD5 of empty content), and Java SDK v2 surfaced aRetryableException: Data read has a different checksum than expected. Reported by @JoeHale. - SNS HTTP subscription confirmation silently skipped — the handler imported
aiohttpat call time, butaiohttpwas never a declared dependency and wasn't in the Docker image, so every HTTP subscribe delivered anaiohttp not installed — subscription confirmation skippedlog and no POST. Replaced withurllib.requestwrapped inasyncio.to_thread, honouring the no-new-deps rule. Userinfo in URLs (http://user:pass@host/…) is promoted toAuthorization: Basicper real AWS SNS behaviour. Reported by @anghel93. - RDS
DescribeDBInstancesSigV4 JSON protocol — Java and Go SDKs that negotiate the JSON variant (rather than Query) were hitting the fallback handler;DescribeDBInstancesnow speaks both shapes. Aurora-clusterDBClusterMembersmembership is populated correctly when instances are created inside a cluster. - Lambda RIE container log isolation — warm RIE containers accumulate stdout/stderr across every invocation; without a
sincefilter the response bundled every prior invocation's logs, ballooningLogResultunpredictably and makingLogType=Taildebugging useless.container.logs(since=invoke_time)now returns only the current invocation's lines, matching real Lambda. Contributed by @ksjoberg. - Lambda RIE retry loop no longer waits 100ms on the first attempt — the
time.sleep(0.1)was at the top of the retry loop, costing every RIE invocation a 100ms floor even when the container was already listening. Sleep is now paid only onURLError/ConnectionRefusedErrorretries. Hot-path savings: ~100ms per warm RIE invoke. Contributed by @ksjoberg. - Lambda warm-pool container memory probe halves in latency —
container.stats(stream=False)withoutone_shot=Truecollects two stat samples 1 second apart to compute CPU deltas, which MiniStack doesn't need (we only readmemory_stats.max_usage). Addedone_shot=Trueper the Docker API docs; saves ~1 second per_probe_peak_memory_mbcall. Contributed by @ksjoberg. - Lambda slash-form Python handler paths —
Handler: "pkg/sub/mod.fn"(common in cookiecutter Lambda templates) now resolves the same way AWS'sawslambdaricbootstrap does (modname.replace("/", ".")). Contributed by @ksjoberg.
Changed
aiohttpremoved from SNS HTTP delivery path — replaced with stdliburllib.request.urlopenwrapped inasyncio.to_thread. Honours MiniStack's no-new-deps rule (Docker image size, idle RAM, attack surface). Back-compat preserved — same call sites, same logging shape.- Server bumps asyncio default executor to 64 threads on startup — lifespan hook installs a
ThreadPoolExecutor(max_workers=64)before the first request. The Python default (6 threads on 2-core CI runners) could stall concurrent Lambda cold-starts behind blocking work, causing intermittent test-side urlopen timeouts. Override withMINISTACK_WORKER_THREADS.
[1.3.13] — 2026-04-24
Added
- CloudFront Functions API (stub) —
CreateFunction,DescribeFunction,GetFunction,ListFunctions,PublishFunction,UpdateFunction,DeleteFunctionunder/2020-05-31/function*. Covers Terraformaws_cloudfront_function(create + publish + read + delete) and attaching a function ARN to distribution cache behaviors. Limitations: in-memory only; noTestFunction;KeyValueStoreAssociationsnot modelled; no execution at the edge;DescribeFunctionrequires theStagequery parameter (DEVELOPMENT|LIVE);UpdateFunctioninvalidates the emulated LIVE revision until the nextPublishFunction. Contributed by @david-hay. - CloudFront
CreateDistributionWithTags— accepts theDistributionConfigWithTagswrapper body shape (Terraformaws_cloudfront_distributionwithtags). Contributed by @david-hay. - API Gateway v1 stage method-settings via JSON Patch —
UpdateStagenow honours paths of the form/{resourcePath}/{httpMethod}/metrics/enabled,…/logging/loglevel,…/throttling/burstLimit, etc., mapping them intostage.methodSettings[{resourcePath}/{httpMethod}]with AWS-shaped defaults. Unblocks Terraformaws_api_gateway_method_settings. Contributed by @david-hay. - API Gateway execute-api for
provided.*/ Image / non-Python-Node runtimes — AWS_PROXY integrations now dispatch through the central_execute_functionpath, so Go / Rust / Java Lambdas actually execute (v1 and v2) instead of returning a canned mock. Contributed by @david-hay and @bognari. - Lambda → CloudWatch Logs for API Gateway-triggered invocations — every execute-api invoke now emits the standard
START RequestId:/ handler stdout+stderr /END RequestId:/REPORT RequestId:sequence to/aws/lambda/{FunctionName}, so Metric Filters and subscription filters that watch APIGW-behind-Lambda traffic trigger correctly. Contributed by @bognari.
Fixed
- S3 Control
TagResourcesilently dropped tags — the handler only hadGET/PUT/DELETEbranches and parsed bodies as JSON, but AWS SDK Go v2 (used by terraform-aws-provider v6+) sendsPOSTwith an XMLTagResourceRequest. Tags posted by Terraform'saws_s3_bucket.tags+default_tagswere returning 2xx but never persisted, producing perpetual drift. Handler now accepts both POST and PUT, and parses both XML and JSON request bodies. Reported by @whittin3. - IAM
GetPolicy/ListPoliciesomittedTags—_managed_policy_xml()never emitted a<Tags>block even thoughTagPolicystored them correctly; Terraform refreshedtags_all = {}and replanneddefault_tagson every apply. Also fixed_create_policysilently droppingTagspassed on create. Same bug class as_user_xml(#441). Reported by @whittin3. - EC2 tag-drift across 10+ resource types — fourteen hardcoded
<tagSet/>emissions inec2.pywere dropping tags for Network Interfaces, VPC Endpoints, NAT Gateways, Network ACLs, VPC Peering Connections, DHCP Options, Egress-Only Internet Gateways, Managed Prefix Lists, VPN Gateways, and Customer Gateways. EveryDescribe*for those resources returned empty tags regardless of what was stored. All now route through_tag_set_xml(resource_id); three create paths (VPC Peering, DHCP Options, Egress-Only IGW) additionally gained missing_parse_tag_specshooks soTagSpecificationson create is honoured.
Changed
- Lambda warm-worker stderr drain is bounded, not a fixed sleep — the 50ms
time.sleepadded alongside the API Gateway → CloudWatch Logs fix was paid by every warm invocation regardless of whether the handler emitted log output. Replaced with a bounded drain that polls the stderr queue at 1ms intervals, exits ~5ms after the last line arrives (or ~50ms if the handler emitted nothing at all), and caps at 250ms absolute. Typical overhead drops from 50ms to 1–10ms per invoke. - API Gateway proxy error-shaping shares a helper — both v1 and v2 now call
lambda_svc.lambda_execute_result_to_api_proxy_response(...)when converting an_execute_functionresult to the AWS_PROXY envelope. Gains correct429 Too Many Requestsresponses onConcurrentInvocationLimitExceededthrottles (previously returned 502), and keeps v1/v2 response shapes aligned.
[1.3.12] — 2026-04-24
Added
- CloudFront Functions API (stub) —
CreateFunction,DescribeFunction,GetFunction,ListFunctions,PublishFunction,UpdateFunction, andDeleteFunctionunder/2020-05-31/function*, returning XMLFunctionSummary/FunctionListplusETagheaders where the AWS SDK expects them, and raw function bytes onGetFunction. Covers Terraformaws_cloudfront_function(create +publish+ read + delete) and attaching a function ARN to distribution cache behaviors. Limitations: in-memory only (same persistence bucket as other CloudFront state); noTestFunction;KeyValueStoreAssociationsare not modeled (responses use empty associations); no execution of CloudFront Functions at the edge;DescribeFunctionrequires theStagequery parameter (DEVELOPMENT|LIVE), matching AWS;UpdateFunctioninvalidates the emulated LIVE revision until the nextPublishFunction. Contributed by @david-hay.
Fixed
- EC2
AuthorizeSecurityGroupIngressfailed on duplicate rules — ingress authorization returnedInvalidPermission.Duplicatewhen Terraform re-submitted an unchanged rule, while egress already treated duplicates as a no-op. Ingress is now idempotent in the same way, soaws_security_groupupdates no longer fail on re-authorize. Contributed by @david-hay. - IAM
CreatePolicyDescriptionfield lost on warm boot — the field was silently dropped on create and never emitted byGetPolicy. BecausedescriptionisForceNewin the Terraform AWS provider, everyaws_iam_policywith a description planned destroy-and-recreate on every warm boot, taking every attachedaws_iam_role_policy_attachmentwith it.CreatePolicynow storesDescriptionand the managed-policy XML emits<Description>when non-empty (omitted otherwise, matching real AWS). Reported by @whittin3. - IAM
GetUseromitted tags —_user_xml()never emitted a<Tags>block even thoughCreateUser/TagUserstored them correctly, so Terraform refresh sawtags_all = {}and replanneddefault_tagson every apply._user_xml()now mirrors_role_xml()'s tag serialization. Reported by @whittin3. - Lambda
CreateAlias/UpdateAliasechoed phantomRoutingConfig— Terraform sendsRoutingConfig: {"AdditionalVersionWeights": {}}even when no weighted routing is declared; the existing truthy guard stored the empty shape andGetAliasreplayed it, so Terraform planned to remove the block on every apply. Routing config is now stored only whenAdditionalVersionWeightsis non-empty, matching real AWS's "omit when empty" response shape; clearing to empty viaUpdateAliasexplicitly removes the field. Reported by @whittin3. - Lambda
CreateEventSourceMappingsilently droppedTags— the request body'sTagsparameter was never read, soListTagsreturned{}for any ESM ARN and Terraform re-added tags on every apply.CreateEventSourceMappingnow storesTags, andListTags/TagResource/UntagResourceall route ESM ARNs (arn:aws:lambda:…:event-source-mapping:<uuid>) to the ESM record. Reported by @whittin3. - API Gateway v2
contentHandlingStrategynot persisted —CreateIntegrationaccepted the field but never stored it,UpdateIntegrationwasn't in the allowlist, andGetIntegrationnever echoed it. Terraform planned an in-place update adding the field back on everyapply, and at runtime requests lostCONVERT_TO_TEXT/CONVERT_TO_BINARYpayload translation. All three paths now honour the field. Reported by @whittin3.
[1.3.11] — 2026-04-24
Added
GET /_ministack/ses/messagesemail inspection endpoint — returns every SES message sent across v1 and v2 APIs (SendEmail,SendRawEmail,SendTemplatedEmail,SendBulkTemplatedEmail, v2SendEmail), grouped by account ID. Accepts an optional?account=<12-digit-id>query parameter to filter. Invalid account IDs return a 400InvalidAccountIDerror. Unlocks end-to-end testing for flows that send password-reset / verification / transactional emails without a real SMTP sink. Contributed by @jgrumboe.- API Gateway v1
GetAccount/UpdateAccount—/accountnow responds with the AWS-shaped defaults (throttleSettings,features,apiKeyVersion) and honoursUpdateAccountpatches (typically/cloudwatchRoleArn). Unblocksterraform applyonaws_api_gateway_account, which previously failed withNotFoundException: Unknown path: /account. Reported by @david-hay.
Fixed
- API Gateway v1
policyfield broketerraform planrefresh — ministack returned the REST API policy as a plain JSON string; terraform-provider-aws'sflattenAPIPolicywraps the SDK-decoded value in outer quotes and re-parses as JSON (NormalizeJsonString("\"" + policy + "\"")thenstrconv.Unquote), so the unescaped inner quotes made Go's decoder error withinvalid character 'S' after top-level valueas soon as the policy contained"Statement". The wire now matches real AWS, which returns thepolicyalready JSON-string escape-encoded — Terraform's wrap-and-reparse recovers the original policy JSON unchanged. Fix applied at emit time acrossCreateRestApi,GetRestApi,GetRestApis, andUpdateRestApi; internal reads (CFN, other services) keep seeing the raw policy. Reported by @david-hay.
[1.3.10] — 2026-04-23
Fixed
- DynamoDB
DeletionProtectionEnabledsilently ignored onCreateTable/UpdateTable— the table description never surfaced the field, andDeleteTablealways succeeded regardless. Terraform'saws_dynamodb_tabletreats deletion protection as a safety-critical drift detector, so tables created withdeletion_protection_enabled = trueappeared unprotected and could be destroyed by aterraform destroythat real AWS would have refused.CreateTablenow stores the flag (defaulting toFalse),UpdateTabletoggles it,DescribeTablereturns the current value, andDeleteTablerefuses withValidationException: Table can't be deleted as deletion protection is enabledwhen it's on — matching AWS behaviour exactly. - S3
ListBucketsmissingBucketArnandBucketRegion— the response contained onlyNameandCreationDate, so SDKs/tooling that consumed the newer fields (added by AWS in 2024) receivedNoneand either errored or silently skipped buckets.ListBucketsnow emits both fields per bucket (BucketArnasarn:aws:s3:::<name>,BucketRegionfrom the bucket's stored region orMINISTACK_REGION). Reported by @mcdoit.
[1.3.9] — 2026-04-22
Fixed
- S3 bucket logging / accelerate / request-payment config never persisted —
s3.get_state()ands3.restore_state()only enumerated 11 of the 14 module-level_bucket_*dicts, so_bucket_logging_config,_bucket_accelerate_config, and_bucket_request_payment_configsilently evaporated on warm boot.GetBucketLogging/GetBucketAccelerateConfiguration/GetBucketRequestPaymentreturned empty responses on restart even though the config was set pre-shutdown. Fixed by replacing the hand-maintained enumeration with a_PERSISTED_BUCKET_DICTSregistry (one entry per global, driven by a single iteration in both functions), closing the entire class of "forgot to add the new dict to get_state/restore_state" bug. Reported by @whittin3. - EC2
tag:*/tag-key/tag-valuefilters ignored on mostDescribe*calls — instance tag filters landed in 1.3.8 (contributed by @costi) but the same gap existed on security groups, route tables, NAT gateways, network ACLs, flow logs, VPC peering connections, prefix lists, VPN gateways, and launch templates — each did its own inline filter logic and silently accepted every resource regardless oftag:*. Factored tag filter handling into a shared_resource_matches_tag_filtershelper and wired it into everyDescribe*call that already parses filters. Also addedtag-value(match by value across any key) and AWS-compatible wildcard support (*/?) to every tag filter. Reported by @costi. - EC2
DescribeImagesmissingRootDeviceName+BlockDeviceMappings— built-in stub AMIs returnedRootDeviceType: ebsbut omitted the root device name and block device mapping entirely, so Terraform's AWS provider errored withfinding Root Device Name for AMIbefore ever reachingRunInstances. CLIrun-instanceswas unaffected (doesn't consult these fields). Stubs now expose/dev/xvdafor Linux AMIs and/dev/sda1for the Windows Server stub, with an 8 GBgp2EBS block device mapping; the Windows stub also now reportsPlatform=windows, matching AWS. Reported by @fatmoon.
Changed
_parse_filtersconsumers share a single tag-matching helper — the three_matches_*_filtersfunctions (instances, VPCs, subnets) and 9 inline filter sites now all call_resource_matches_tag_filters(resource_id, filters)instead of re-implementingtag:handling per resource. New EC2 resource types need zero tag-filter code — the helper walks the resource's entry in_tagsand short-circuits on the first failing tag predicate.- ECS exited-container reaper —
RunTaskspawned containers viadocker run -dwithoutauto_remove, so every short-lived task command (e.g.echo,wgetprobes) exited but left anExited (0)container on the Docker daemon indefinitely.StopTaskand/_ministack/resetonly ever listed running containers, so the exited ones accumulated across sessions. A background daemon thread now sweeps exitedministack=ecscontainers everyECS_REAP_INTERVAL_SECONDS(default 60),reset()now reaps exited containers alongside running ones, and the reaper starts lazily on firstRunTaskso no-docker install paths are unaffected.
[1.3.8] — 2026-04-21
Added
- S3
s3:TestEventonPutBucketNotificationConfiguration— configuring bucket notifications now delivers a flats3:TestEventpayload (noRecordswrapper) to every SQS / SNS / Lambda destination, matching real AWS S3 behaviour so tooling that listens for the test event on bucket setup works locally. Contributed by @nigel-campbell.
Fixed
- Lambda persistence crash on warm start with any event source mapping —
lambda_svc.restore_state()called_ensure_poller()when restoring ESMs, but the module-level invocation ran at line 170 while_ensure_pollerwas defined ~3,500 lines later. Warm starts withPERSIST_STATE=1and an ESM inlambda.jsonraisedNameError: name '_ensure_poller' is not definedon every Lambda request until the state file was deleted. The module-level load/restore is now at the bottom of the file, after every helper it may call. Reported by @whittin3. - DynamoDB
SSEDescriptionused the request shape instead of the response shape —CreateTablestored the caller'sSSESpecification(Enabled/KMSMasterKeyId) directly as the responseSSEDescription, which is missing theStatusfield Terraform v6 waits on;UpdateTablesilently ignoredSSESpecification. Warm-bootterraform applyon any encrypted table hung forever withunexpected state '', wanted target 'DISABLED, ENABLED'. Fixed by converting spec → description (Status,SSEType,KMSMasterKeyArn) at create + update, plus a one-shot migration inrestore_statefor legacy persisted tables. Reported by @whittin3. test_s3_put_notification_sends_test_eventwas flaky under parallel load — background thread deliverings3:TestEventraced the test's poll.PutBucketNotificationnow delivers the test event synchronously (matching AWS effective behaviour) before returning; removes the race and also fixes multi-tenant delivery where the worker thread lost the caller's account contextvar.
Changed
- Hardened persisted-state restore across every service — 35 service modules wrapped their module-level
load_state()+restore_state()invocation intry/exceptso a corrupt or schema-incompatible{service}.jsonlogs and continues with a fresh store instead of breaking the service at import. Audited everyrestore_state/load_persisted_statefor forward references (0 other violators) and unsafedata[key]subscript accesses (all guarded).
[1.3.7] — 2026-04-21
Fixed
- API Gateway v2 Lambda integrations 502'd on the Terraform-produced wrapper URI — 1.3.6's #407 fix passed the full APIGW wrapper
arn:aws:apigateway:<region>:lambda:path/2015-03-31/functions/<lambda-arn>/invocationsto the name/qualifier parser, which split on:and mis-read("aws", "lambda")as function + qualifier (error text:Lambda function 'aws' (qualifier 'lambda') not found). Broke every v2 HTTP + WebSocket integration usingaws_lambda_function.*.invoke_arn/aws_lambda_alias.*.invoke_arn, with no Terraform-layer workaround. New_extract_lambda_ref_from_integration_urihelper unwraps the nested Lambda ARN before parsing, covering all 12 observed URI shapes (wrapped ± alias/version/$LATEST, bare ARN, plain name, cross-account, malformed trailing/invocations). Reported by @whittin3. Fixes #409 - Unknown
/_localstack/*paths returned S3NoSuchBucketXML — probes from LocalStack-migrated tooling (e.g./_localstack/info,/_localstack/plugins,/_localstack/init) fell through to the S3 handler. ministack now returns a clear 404 JSON pointing callers at the/_ministack/*endpoints./_localstack/healthis unaffected (matched earlier in the dispatch chain). Contributed by @AdigaAkhil (#413). Fixes #386
[1.3.6] — 2026-04-20
Added
- API Gateway path-based data plane — REST + HTTP + WebSocket APIs are now reachable without
*.execute-api.localhostHost overrides:http(s)://localhost:4566/_aws/execute-api/{apiId}/{stage}/{path}(v1 + v2 HTTP + v2 WS) and the LocalStack-legacyhttp://localhost:4566/restapis/{apiId}/{stage}/_user_request_/{path}(v1). Unblocks macOS browsers (no*.localhostDNS resolution) and strict HTTP clients with no Host override. - Custom/predictable API Gateway IDs —
aws_apigatewayv2_apiandaws_apigateway_rest_apihonour anms-custom-idtag onCreateApi/CreateRestApiand pin the generatedapiId/ REST API id to the tag value. Duplicates in the same account returnConflictException(409). The LocalStackls-custom-idtag is intentionally rejected with a clearBadRequestException(400) pointing callers at the ministack-native key. Reported by @whittin3. Fixes #400 - Cognito
AWS::Cognito::UserPoolClientCFNGenerateSecret— CloudFormation-provisioned user pool clients now generate a client secret whenGenerateSecret: true, matching the native Cognito API path. Contributed by @mgius-ae (#403)
Fixed
- API Gateway v2 HTTP API —
$defaultstage treated first path segment as stage name — an API configured with the$defaultstage returned404 "Stage 'X' not found"for any request because the dispatcher always stripped a stage prefix from the URL. Stage resolution now checks the API's configured stages: strip the first segment only if it matches a real stage, otherwise route to$defaultwith the full path (matching AWS). Same fix applies to the WebSocket scope handler. Reported by @whittin3. Fixes #404 - API Gateway v2 HTTP API —
corsConfigurationignored — every OPTIONS preflight returned a hard-coded wildcardAccess-Control-Allow-Origin: *, breaking browsers usingcredentials: "include", and non-OPTIONS responses had the wildcard spliced in over whatever the Lambda set. API Gateway now serves preflights from the per-APIcorsConfiguration(403 if origin isn't inallowOrigins,Access-Control-Allow-Credentials: trueonly when configured and paired with a concrete origin), and dispatched responses carry per-config CORS headers instead of the wildcard. Reported by @whittin3. Fixes #406 - Lambda alias qualifier parsed as function name — integrations (v1 REST, v2 HTTP, v2 WebSocket) and event source mappings wired to a qualified ARN (
arn:...:function:<name>:<alias>) invoked a function whose name was the qualifier (live) and returned502 "Lambda function 'live' not found". All three dispatchers now use_resolve_name_and_qualifier+_get_func_record_for_qualifierto resolve aliases to their target version before invocation; worker pool keyed byname:qualifierso aliased vs unqualified calls don't share process state. ESM pollers (SQS, Kinesis, DDB Streams) store the qualifier on the mapping and use it on every batch. Reported by @whittin3. Fixes #407 - API Gateway v1 error responses used
typeinstead of__type— boto3 fell back to the numeric HTTP status as the error code (ClientError.response["Error"]["Code"] == "409"instead of"ConflictException"). Every JSON-protocol AWS service uses__type; v1 now matches. - SQS singular
DeleteMessage/ChangeMessageVisibilitysilently succeeded on invalid ReceiptHandle — real AWS returnsReceiptHandleIsInvalid(400); batch variants already did. Singular operations now raise the same error. Contributed by @nigel-campbell (#405)
[1.3.5] — 2026-04-20
Added
- API Gateway v2 WebSocket APIs — full WebSocket support on the execute-api host:
CreateApi(ProtocolType=WEBSOCKET),RouteResponse+IntegrationResponseCRUD,$connect/$disconnect/$default/custom-action route dispatch via$request.body.*,AWS_PROXY/AWS/MOCKintegrations, and the@connectionsmanagement API (PostToConnection/GetConnection/DeleteConnection) with per-connection outbox for server-side push.$connectreceivesqueryStringParameters/multiValueQueryStringParametersso token-gated hooks work like AWS. Multi-tenant: connections carry their owning account. Reported by @whittin3. Fixes #383 - Resource Groups Tagging API — Phase 3 —
TagResourcesandUntagResourcesacross S3, Lambda, SQS, SNS, DynamoDB, EventBridge, KMS, ECR, ECS, Glue, Cognito (IdP + Identity), AppSync, Scheduler, CloudFront, EFS. Contributed by @AdigaAkhil (#384). Fixes #382
Changed
- Centralised service registry —
SERVICE_HANDLERS,SERVICE_NAME_ALIASES, and_reset_all_state's module list are now derived from oneSERVICE_REGISTRYinapp.py. Adding a service is one dict entry. Contributed by @jgrumboe (#391) - ASGI dispatcher refactor — the monolithic
app()is split into tiered helpers (pre-body / post-body / special data-plane / generic). Adds an_is_potential_alb_request()gate that skips the ALB module load for non-ALB traffic. Contributed by @jgrumboe (#394)
Fixed
- CloudFormation
AWS::Regionand provisioner ARNs ignored the caller's region — CFN used a module-levelREGIONeverywhere, so CDK bootstrap withAWS_REGION=us-east-2gotus-east-1baked into every${AWS::Region}substitution and ~15 provisioner ARNs. Region is now a per-request contextvar (get_region()); CFN engine, handlers, and every provisioner use it. Reported by @youngkwangk. Fixes #398 - S3
CompleteMultipartUploaddid not version the final object — when versioning was enabled, the response lackedx-amz-version-idand the object never appeared inlist_object_versions. Multipart now follows the same versioning path asPutObject. Reported by @adzcodemi. (#397) Fixes #392 - EC2
CreateSecurityGroupdescription parameter — contributed by @AdigaAkhil (#396) - Tagging
TagResources/UntagResourceserror shape — unsupported resource types and missing resources now returnInvalidParameterException(400) inFailedResourcesMap, matching AWS. Previously returnedInternalServiceException(501/500) or silently no-op'd on Lambda/SNS/SQS/Cognito-IDP. Writers/removers now raise a typed_ResourceNotFoundthat the entry point surfaces per-ARN. Docstrings added across every writer/remover.
[1.3.4] — 2026-04-20
Fixed
Expect: 100-continueregression on boto3 < 1.40 (S3upload_file) — after the uvicorn → hypercorn migration in 1.3.0 (#369), boto3< 1.40S3 uploads that used theExpect: 100-continuehandshake aborted withurllib3 BadStatusLine('date: ...'). Root cause: h11 serialisesInformationalResponsewith an empty reason phrase by default, producingHTTP/1.1 100 \r\non the wire, which older urllib3 parses strictly. ministack now installs a surgical compatibility shim at app import (ministack.core.hypercorn_compat) that injects the canonical reason phrase (Continue,Switching Protocols, etc.) when h11 emits an empty one, restoring the pre-1.3.0 behaviour for every SDK version. Reported by @AlbertodelaCruz. Fixes #389
[1.3.3] — 2026-04-19
Added
- Lambda → CloudWatch Logs emission — every invocation now writes to
/aws/lambda/{FunctionName}(auto-created) on a per-invocation stream{yyyy}/{mm}/{dd}/[{qualifier}]{uuid}with AWS-shapedSTART RequestId:/ handler stdout+stderr /END RequestId:/REPORT RequestId: … Duration: N ms Billed Duration: N ms Memory Size: N MBlines. Unlocks Metric Filter / subscription filter / alarm testing chains that were previously impossible locally. Applies to every executor (Docker RIE, warm worker, provided-runtime, local subprocess). LAMBDA_STRICT=1env var — AWS-fidelity mode: every Lambda invocation runs in Docker via the AWS RIE image; in-process fallbacks are disabled. Missing Docker surfaces asRuntime.DockerUnavailableinstead of silently degrading to a subprocess. Opt-in; default behaviour keeps the no-Docker-required install path working.LAMBDA_WARM_TTL_SECONDSenv var — tunable idle TTL (default 300s) before the reaper thread evicts warm Docker containers from the pool.LAMBDA_ACCOUNT_CONCURRENCYenv var — account-level concurrent-invocation cap (default 0 = unbounded). Set to 1000 to match real AWS's default account limit and exerciseConcurrentInvocationLimitExceededthrottle paths.- Async retry + DLQ /
DestinationConfig.OnFailurerouting —Invoke(InvocationType=Event)and every internal event-source fan-out (currently: S3 notifications) now retry up toMaximumRetryAttempts(default 2) on failure and route the final failure to the configured DLQ (DeadLetterConfig.TargetArn) orOnFailuredestination (SQS / SNS / Lambda), with an AWS-shaped envelope (requestContext,requestPayload,responseContext,responsePayload). Sharedinvoke_async_with_retryhelper keeps direct async Invoke and event-source invocations on the same semantics. X-Amz-Function-Error: HandledvsUnhandleddistinction —_invoke_rienow reads RIE'sLambda-Runtime-Function-Error-Typeresponse header to classify raised-exception errors (Unhandled) separately from handler-returned error payloads (Handled), matching real AWS. The classification is surfaced in the Invoke response header.Retry-AfterHTTP header on 429 throttle responses —TooManyRequestsExceptionresponses now include both aretryAfterSecondsbody field and aRetry-AfterHTTP header, matching AWS.
Changed
- Lambda Docker executor — unified Zip/Image pool — restores the intent of @fzonneveld's #302: Zip and Image package types now share a single code path through the RIE warm pool (
_execute_function_imageis gone). The pool is a list-per-key ({account}:{fn}:{zip|image}:{sha|uri}) so concurrent invocations get separate containers, up toReservedConcurrentExecutions(unbounded by default, matching AWS). Thread-safe under_warm_pool_lock.reset()kills every pooled container across all accounts. A background reaper evicts idle containers past TTL. Regression fix from 1.2.20 — the post-merge commits on that release had split the paths back apart and reintroduced per-invocation cold starts for Image type. Originally contributed by @fzonneveld (#302).
Fixed
- Lambda Docker executor — Image type was cold-starting per invoke —
_execute_function_imagecreated a fresh container, invoked, then killed it. Image functions now share the same warm pool as Zip. - Lambda Docker executor — warm cache was single-container per key — concurrent invocations of the same function either serialised or created cold starts. The pool is now a list so up to
ReservedConcurrentExecutionsinvocations run in parallel from the pool. - Lambda Docker executor —
CodeSha256missing for Image package type — cache key was empty for Image-type, meaning different Image-type functions could collide. Cache key is now derived fromImageUrifor Image andCodeSha256for Zip, per-account.
Removed
ministack/core/lambda_wrapper.pyandministack/core/lambda_wrapper_node.js— dead code since the RIE-image migration. The AWS Lambda Runtime Interface Emulator provides the full runtime contract (handler loading, stdin/stdout, LambdaContext, boto3); the hand-rolled wrappers were never referenced after #302 landed. Removed.
Multi-tenancy correctness (8 CRITICAL cross-account leaks closed)
These services stored per-tenant data in plain dict / list, so List* / Describe* operations leaked rows across accounts. All now use AccountScopedDict. Cross-account isolation tests added to tests/test_multitenancy.py to lock in each fix.
- CloudWatch metrics + alarm history —
_metricsand_alarm_historywere global. Tenant A'sPutMetricDatawas visible to Tenant B'sListMetrics/GetMetricStatistics/DescribeAlarmHistory. - ElastiCache events —
_eventslist was global.DescribeEventsreturned all tenants' cache events. Also missing_tags.clear()fromreset(). - EventBridge —
_event_buses,_events_log,_partner_event_sourceswere all global. Tenants shared the same "default" event bus (with an ARN baked at module-load with whichever account first imported the module). The "default" bus is now seeded lazily per-tenant on first request so its ARN always matches the caller's account id. - Athena workgroups + data catalogs —
_workgroupsand_data_catalogswere global. Creating a workgroup namedmy-wgin Tenant A prevented Tenant B from creating one. The defaultprimaryworkgroup andAwsDataCatalogare now seeded lazily per-tenant. - SES sent emails —
_sent_emailslist was global.GetSendStatisticsaggregated across tenants. - API Gateway v1 —
_stages_v1,_deployments_v1,_authorizers_v1,_v1_tagswere all plain dicts. REST API stages / deployments / authorizers / tags leaked across tenants. New finding in this audit — APIGW v1 was not covered by earlier multi-tenancy reviews.
Lambda fixes
- Kinesis ESM
FilterCriteriafallback —NameError: name 'new_iter' is not defined— when all records in a Kinesis batch were filtered out, the poller tried to advance the shard position using an undefined local, crashing the poller thread silently. Now advances bypos + len(raw_records)(the full consumed batch) matching the success-path semantics.
AWS API parity
- Lambda
State/LastUpdateStatustransitions —CreateFunction,UpdateFunctionCode, andUpdateFunctionConfigurationnow returnState: "Pending"+LastUpdateStatus: "InProgress"initially, transitioning toActive/Successfulasynchronously. Terraform'sFunctionActiveandFunctionUpdatedwaiters now poll successfully instead of racing. Transition delay is tunable viaLAMBDA_STATE_TRANSITION_SECONDS(default0.5s). - Lambda
GetAccountSettings— new handler atGET /2016-08-19/account-settings, returnsAccountLimit(TotalCodeSize,CodeSizeUnzipped,CodeSizeZipped,ConcurrentExecutions,UnreservedConcurrentExecutions) andAccountUsage(TotalCodeSize,FunctionCount). Matches AWS response shape so Terraform data sources and CI tooling that probe the account-level limits work. - Lambda async retry exponential backoff —
invoke_async_with_retrynow sleeps between attempts (base1s, exponential, capped at30slocally — tunable viaLAMBDA_ASYNC_RETRY_BASE_SECONDS/LAMBDA_ASYNC_RETRY_MAX_SECONDS), and respectsMaximumEventAgeInSecondsso a retry that would push past the event age is skipped and routed to DLQ. AWS uses 1-minute base; scaled down locally to keep tests fast while preserving the shape. - Lambda
InvokeWithResponseStream— real vnd.amazon.eventstream framing — responses are now emitted as a validPayloadChunk+InvokeCompletesequence with correct prelude CRC + message CRC. boto3'sEventStreamparser decodes them natively. Handler errors flip to theInvokeErrorevent type with a JSON error body. - Lambda
GetFunction.Code.Location— pre-signed-style URL —GetFunctionnow returns a URL pointing at a new/_ministack/lambda-code/{fn}endpoint, dressed withX-Amz-Algorithm,X-Amz-Expires=600,X-Amz-Date,X-Amz-SignedHeaders,X-Amz-Signaturequery params so AWS SDKs andpip-style pull-and-extract scripts work against it unchanged. ForPackageType=Image,ResolvedImageUriis now populated (echo ofImageUri) alongsideImageUri. - Lambda
ListFunctionEventInvokeConfigs— new handler atGET /2019-09-25/functions/{name}/event-invoke-config/list. Returns the stored event-invoke config (one entry) or an empty list. - Lambda
GetFunctionCodeSigningConfig/PutFunctionCodeSigningConfig/DeleteFunctionCodeSigningConfig— real shape: GET returns{FunctionName, CodeSigningConfigArn}, PUT stores the ARN on the function, DELETE clears it. Was a stub returning empty fields. - Lambda REPORT log line — real
Max Memory Used— previously hardcoded0 MB. When the docker executor is used, peak RSS is now read fromcontainer.stats(); on non-docker executors it falls back toresource.getrusage(RUSAGE_CHILDREN).ru_maxrss(Linux/macOS normalised). Warm-worker subprocesses that never terminate still report0 MB— that matches "we don't have it" and avoids inventing a number. - Lambda ESM
FilterCriteriaapplied during polling — SQS / Kinesis / DynamoDB Streams pollers now evaluate each record against the ESM'sFilterCriteria.Filterspatterns and drop non-matching records before invoking the handler, matching AWS. Supports equality lists,prefix,suffix,anything-but,exists, andnumericcontent filters; SQS bodies are JSON-parsed for matching so patterns like{"body": {"orderType": ["Premium"]}}work as documented. - Lambda runtime image map —
java25,dotnet10— added to_RUNTIME_IMAGE_MAP, pointing atpublic.ecr.aws/lambda/java:25andpublic.ecr.aws/lambda/dotnet:10. Matches AWS's April 2026 runtime additions. - Lambda
DurableConfig/TenancyConfig/CapacityProviderConfig— new 2026-era optional config blocks are accepted onCreateFunction/UpdateFunctionConfiguration, stored, and echoed onGetFunction/GetFunctionConfiguration. Only emitted when set, matching AWS's response shape.
[1.3.2] — 2026-04-18
Added
- Resource Groups Tagging API — Phase 1 — new service at credential scope
tagging/ target prefixResourceGroupsTaggingAPI_20170126.GetResourceswithTagFilters(AND across keys, OR across values) andResourceTypeFiltersacross S3, Lambda, SQS, SNS, DynamoDB, EventBridge. Contributed by @AdigaAkhil (#372). Fixes #371 - Resource Groups Tagging API — Phase 2 —
GetTagKeysandGetTagValuesoperations, plus GetResources expanded to KMS, ECR, ECS, Glue, Cognito (User Pools + Identity Pools), AppSync, Scheduler, CloudFront, EFS (file systems + access points). 15 services total, 18 new tests. Contributed by @AdigaAkhil (#380). Fixes #379 - CloudFormation
AWS::Pipes::Pipeprovisioner — minimal EventBridge Pipes runtime covering DynamoDB Streams → SNS with background polling;CreationTime,CurrentState, and ARN exposed viaFn::GetAtt. Also addsFilterPolicy/FilterPolicyScopesupport to theAWS::SNS::Subscriptionprovisioner. Contributed by @davidtme (#354) - RDS
ModifyDBInstanceMasterUserPassword rotation — password changes are now propagated to the real Postgres/MySQL Docker container viaALTER USER, so follow-up connections from application code authenticate with the new password. Contributed by @ptanlam (#376) - Preview Docker image on every PR (including forks) —
docker-publish-on-pr.ymlswitched topull_request_targetand now publishesministackorg/ministack-preview-build:pr-N-<shortsha>for any contributor's PR. Reviewers candocker pullthe exact build without waiting for merge. Workflow runs against main's copy of the file, so a PR's own edits to.github/workflows/*cannot redirect the publish. Contributed by @jgrumboe (#377)
Fixed
- Resource Groups Tagging —
ResourceTypeFilterswith no matching collector — previously fell through to every collector (asking for EC2 returned S3/SQS/SNS/etc.). Now correctly returns an empty list, matching AWS. - Resource Groups Tagging — CloudFormation-provisioned DynamoDB tables — tags set via
AWS::DynamoDB::Table { Tags: [...] }are stored on the table record, not in the central_tagsdict, so they were invisible toGetResources. The DynamoDB collector now unions both sources. - EventBridge Pipes
CreationTime— stored asint(time.time())instead oftime.time(), matching the project-wide int-epoch convention for JSON responses (Java SDK v2 compatibility). - RDS
_rotate_instance_password— SQL injection via unquoted username — the Postgres path usedpsycopg2.extensions.AsIsto spliceMasterUsernameinto anALTER USERstatement, bypassing quoting. Replaced withpsycopg2.sql.Identifierfor safe identifier quoting. - RDS
_rotate_instance_password— silent failure visibility — rotation failures (unreachable container, stale old password) now log atERRORrather thanWARNINGso operators notice when the stored master password diverges from the real DB.
[1.3.1] — 2026-04-18
Added
- Hypercorn ASGI server with HTTP/2 h2c — replaces uvicorn with hypercorn, enabling cleartext HTTP/2 (h2c) support. AWS Java SDK v2 and Kinesis Client Library (KCL) clients that require HTTP/2 now work out of the box. Idle RAM drops from ~21 MB to ~7 MB. Contributed by @AdigaAkhil (#369). Fixes #361, #364
- Lambda log forwarding for Winston/pino — replaces 5 individual
console.*overrides with a singleprocess.stdout.writeintercept. Catches logging libraries like Winston and pino that write directly tostdout.writeinstead ofconsole.log. Contributed by @Baptiste-Garcin (#373) - Test suite — 121 new tests across 11 services: AutoScaling (37 new), ElastiCache (15 new), Glue (19 new), RDS (14 new), CloudWatch Logs (7 new), EMR (5 new), EFS (5 new), Cloud Map (5 new), ACM (3 new), CloudWatch (2 new), EBS (2 new). Total test count: 1,558
Fixed
- Glue
GetPartitionIndexesKeys format — service returned Keys as flat strings (["year"]) instead of KeySchemaElement objects ([{"Name": "year"}]), causing boto3 deserialization failures - RDS
LatestRestorableTimeempty timestamp —DescribeDBInstancesrendered<LatestRestorableTime></LatestRestorableTime>(empty string) which boto3 couldn't parse as a timestamp. Now defaults to current time - EKS graceful fallback when k3s fails — if Docker is unavailable or k3s container fails to start (e.g. privileged containers blocked),
CreateClusternow returns ACTIVE with a mock endpoint and CA certificate instead of FAILED. The EKS API works identically regardless of Docker availability; real k3s is used when possible - EKS state persistence — restored clusters stay ACTIVE instead of being marked FAILED on restart
- EKS Docker tests flaky in parallel — k3s containers interfere with each other under pytest-xdist. Added both EKS Docker tests to
_SERIAL_TESTS - EKS CFN test CI failure — k3s can't start on CI (no Docker), cluster stays in CREATING. Test now polls and accepts CREATING status
Changed
- ASGI server: uvicorn → hypercorn — dependency changed from
uvicorn[standard]+httptoolstohypercorn>=0.18.0 - pytest parallel distribution:
--dist=load→--dist=loadfile— keeps all tests from the same file on the same worker, fixing pre-existing Lambda/IAM ordering failures caused by shared session fixtures
[1.2.21] — 2026-04-17
Added
/_ministack/readyendpoint — exposes ready.d script completion status, enabling Docker healthchecks and orchestrators to gate on init script completion. Contributed by @kjdev (#360)- ECS
commandpassed to Docker containers — task definitioncontainerDefinitions[].commandis now forwarded todocker run, overriding the image's default CMD. Previously the command field was ignored. Contributed by @s0rbus (#366) - CloudFormation
AWS::Events::EventBusprovisioner — CDK/Terraform stacks declaring EventBridge custom event buses now provision correctly. Supports Name, Tags, and Fn::GetAtt Arn/Name. Contributed by @AdigaAkhil (#365) - Lambda Java, .NET, and Ruby runtime support —
LAMBDA_EXECUTOR=dockernow supportsjava21,java17,java11,java8.al2,dotnet8,dotnet6,ruby3.4,ruby3.3,ruby3.2using official AWS Lambda RIE images. Fallback resolvers added for future versions.
Fixed
Lambda
- Lambda Docker-in-Docker (DinD) —
LAMBDA_EXECUTOR=dockernow works when ministack itself runs inside Docker. Code is copied into Lambda containers viadocker cpinstead of bind mounts (which fail because the host Docker daemon can't see the ministack container's filesystem). Lambda containers are reached via container IP instead of host-mapped ports. Container detection uses/.dockerenv,/run/.containerenv, and/proc/1/cgroupfallback. Fixes #367. Reported by @HackJack-101 - Lambda timeout enforcement — warm workers now enforce the configured
Timeoutvalue viathread.join(timeout)+proc.kill(). Previously, functions ran indefinitely regardless of the timeout setting. Timeout errors returnRuntime.ExitErrormatching AWS behavior. - Lambda published version isolation —
PublishVersionnow creates immutable code snapshots. Invoking a specific version returns the code from when it was published, not the current$LATEST. Workers are keyed byfunction_name:qualifierto prevent version cross-contamination. - Lambda
UpdateFunctionCodeworker invalidation — only invalidates the$LATESTworker, leaving published version workers alive. Previously killed all workers for the function. - Lambda warm container tmpdir cleanup — warm container cache now tracks and cleans up temp directories when containers are evicted or on
reset(). Previously leaked/tmp/ministack-lambda-docker-*directories. - Lambda
_execute_function_imagededuplicated — Image-based Lambda execution now reuses_invoke_rie()instead of duplicating the HTTP polling logic. - Lambda
_invoke_riefaster polling — reduced polling interval from 500ms to 100ms for faster cold starts when usingLAMBDA_EXECUTOR=docker. - Lambda
Invokequalifier from query params —Qualifierquery parameter now correctly parsed for Lambda invocations, matching AWS SDK behavior. - Lambda worker error on exception — worker invalidation on exception now only kills the specific qualifier's worker, not all workers for the function.
Cognito
- Cognito password validation —
SignUp,AdminCreateUser,AdminSetUserPassword,ConfirmForgotPassword, andChangePasswordnow validate passwords against the pool'sPasswordPolicy(min length, uppercase, lowercase, numbers, symbols). Previously any password was accepted. - Cognito
_generate_temp_passwordpolicy-compliant — generated temporary passwords now guarantee at least one character from each required class (upper, lower, digit, symbol), ensuring they pass the pool's own password policy.
EKS
- EKS non-blocking cluster creation —
CreateClusternow returns immediately withstatus: CREATINGwhile k3s starts in a background thread. Previously blocked the ASGI event loop for up to 30 seconds. - EKS failure status — if k3s fails to start, the cluster status is set to
FAILEDinstead of silently goingACTIVEwith a broken endpoint. - EKS k3s image pinned — default k3s image pinned to
rancher/k3s:v1.31.4-k3s1instead of:latestfor reproducible builds.
Performance & Infrastructure
- Docker client cached — Lambda Docker executor reuses a single Docker client instead of creating one per invocation.
- EC2 terminated instance cleanup throttled —
DescribeInstancesno longer scans and cleans up terminated instances on every call; cleanup runs at most once per 10 seconds. - S3 ETag single-compute —
PutObjectnow computes the MD5 hash once instead of twice, reducing CPU per write. - CloudFormation deploy/delete speed — removed artificial 1.5s async delays from stack deploy and delete operations.
/_ministack/resetno longer blocks event loop —_reset_all_state()now runs viaasyncio.to_thread()so Docker container cleanup (ECS, EKS, Lambda) doesn't starve the ASGI event loop. ECSreset()also fixed to stop containers by label filter (ministack=ecs) instead of individually fetching stale container IDs.
[1.2.20] — 2026-04-17
Added
- EKS service with k3s backend — CreateCluster, DescribeCluster, ListClusters, DeleteCluster, CreateNodegroup, DescribeNodegroup, ListNodegroups, DeleteNodegroup, TagResource, UntagResource, ListTagsForResource.
CreateClusterspawns a real k3s Docker container (75 MB) providing a full Kubernetes API server.kubectl, Helm, and any K8s tooling work out of the box. Cascading delete removes nodegroups and k3s container. CloudFormationAWS::EKS::ClusterandAWS::EKS::Nodegroupprovisioners included. - Lambda layer S3 support —
PublishLayerVersionnow acceptsS3Bucket/S3Keyin Content, matching real AWS behavior. Contributed by @Baptiste-Garcin (#356) - Lambda Docker executor rewritten with AWS RIE —
LAMBDA_EXECUTOR=dockernow uses official AWS Lambda Runtime Interface Emulator images (public.ecr.aws/lambda/*) for all runtimes (Python, Node.js, provided). Events are POSTed to the RIE HTTP endpoint on port 8080, matching exact AWS Lambda execution semantics. Containers are kept warm between invocations and reused when the same function+code is invoked again. Cleaned up onreset()and shutdown. Addednodejs22.x,nodejs24.x,python3.14runtimes. Contributed by @fzonneveld (#302) - Lambda Windows compatibility — replaced
select.select()stderr polling with cross-platform background thread + queue. Fixes Lambda warm worker execution on Windows. Contributed by @davidtme (#350) - Lambda ESM poller on CFN create and state restore — event source mappings created via CloudFormation or restored from persisted state now correctly start the background poller. Contributed by @davidtme (#350)
Fixed
AWS Compliance (21 fixes from full-codebase audit)
- KMS
Verifyerror handling — invalid signatures now raiseKMSInvalidSignatureException(HTTP 400) instead of returningSignatureValid: falsewith HTTP 200, matching real AWS behavior. - KMS
Decrypt/GenerateDataKey/Sign/Verify/EncryptresponseKeyId— all KMS crypto operations now return the full key ARN in theKeyIdfield instead of the bare UUID, matching real AWS. - KMS
PendingDeletionstate check —Encrypt,Decrypt,Sign,Verify, andGenerateDataKeynow returnKMSInvalidStateExceptionwhen called on a key scheduled for deletion or disabled. Previously these operations silently succeeded. - EC2
TerminateInstances/StopInstances/StartInstancesunknown instance IDs — now returnInvalidInstanceID.NotFounderror instead of silently succeeding with an empty response. - EC2 VPC
cidrBlockAssociationSetmissing —CreateVpcandDescribeVpcsresponses now include<cidrBlockAssociationSet>with the primary CIDR association. Fixes Terraform AWS provider v6 crash (index out of range [0]). Reported by @mspiller (#331) - SQS FIFO
DeduplicationScope: messageGroup— content-based deduplication now correctly scopes per message group whenDeduplicationScopeismessageGroup. Previously, two messages with the same body but differentMessageGroupIdvalues were incorrectly deduplicated. Contributed by @CSandyHub (#359) - SNS
ListSubscriptionsXML escaping — endpoint URLs containing&or other XML special characters are now properly escaped, preventing malformed XML responses. - DynamoDB
DescribeTableLatestStreamArnstability — stream ARN and label are now set once whenStreamSpecificationis enabled instead of regenerated on everyDescribeTablecall. Fixes CDK drift detection and ESM setup failures. - SSM
GetParametersByPathroot path —GetParametersByPathwithPath=/andRecursive=falsenow correctly returns only top-level parameters instead of all parameters in the store. - ElastiCache
AutomaticFailover/MultiAZvalues —CreateReplicationGroupandModifyReplicationGroupnow returnenabled/disabledenum values instead of rawtrue/falsestrings, matching the AWS API contract. - Transfer Family pagination off-by-one —
ListServersandListUsersno longer re-serve the token item when paginating, fixing duplicate entries across pages. - ECS
PutAccountSettingDefaultinconsistency — now stores a plain string value likePutAccountSetting, fixingListAccountSettingsresponse shape when both endpoints were used. - IAM user inline policy persistence — restructured
_user_inline_policiesfrom tuple keys(user, policy)to nested dict{user: {policy: doc}}. Tuple keys silently broke JSON serialization, causing all user inline policies to be lost on restart withPERSIST_STATE=1. - Route53
reset()multi-tenancy —reset()now calls.clear()on existingAccountScopedDictinstances instead of replacing them with plaindictobjects, preserving multi-tenant isolation after reset. - STS
AssumeRoleWithWebIdentityprovider —Providerfield now uses the caller-suppliedProviderIdinstead of hardcodedaccounts.google.com. - EKS state persistence —
get_state()now savesport_counterand strips Docker container IDs.restore_state()restores port counter and marks clusters asFAILED(k3s containers don't survive restart).
Architecture & Safety
- Persistence
eval()replaced withast.literal_eval— deserialization ofAccountScopedDictkeys no longer useseval(), closing a code injection vector via crafted state files. - RDS
_wait_for_portno longer blocks event loop — container port wait now runs in a background thread. Previously aCreateDBInstancewith Docker could block the entire ASGI server for up to 60 seconds. - RDS
get_state()multi-account persistence —get_state()now serializes instances as a fullAccountScopedDict, capturing all accounts instead of only the default account at shutdown time. - RDS
_port_counterthread safety — port allocation now uses athreading.Lock, preventing potential duplicate ports under concurrent requests. - Lambda ESM poller account context — background SQS/Kinesis/DynamoDB Streams pollers now iterate
_esms._datadirectly and set the correct account context per ESM. Previously, event source mappings created under non-default accounts were silently never polled.
Also Fixed
- EC2 SecurityGroup duplicate detection ignoring Description —
AuthorizeSecurityGroupIngressduplicate check andRevokeSecurityGroupIngressnow compare rules without theDescriptionfield, matching AWS behavior. - CloudWatch DeleteDashboards error — deleting a nonexistent dashboard returned 500 InternalError instead of 404 DashboardNotFoundError.
- Athena ListNamedQueries empty —
ListNamedQuerieswithout aWorkGroupfilter now returns all queries instead of only "primary" workgroup. - ElastiCache CreateCacheSubnetGroup missing Subnets — response XML now includes
<Subnets>element. - Cognito OAuth2 lazy loading — OAuth2 endpoints now use lazy module loading, fixing crash when Cognito module wasn't pre-imported.
- Cognito OAuth2 persistence —
_authorization_codesand_refresh_tokensnow included in state persistence. - Lambda warm worker stuck after init failure — broken workers are now invalidated so the next invocation gets a fresh process. Reported by @Baptiste-Garcin
- Docker image missing
boto3— Lambda functions importingboto3now work out of the box. Real AWS Lambda runtimes pre-installboto3; the Docker image only hadbotocore(viaawscli). Reported by @xPTM1219 (#362)
[1.2.19] — 2026-04-16
Added
- EventBridge Scheduler service — full
schedulerAPI: CreateSchedule, GetSchedule, UpdateSchedule, DeleteSchedule, ListSchedules, CreateScheduleGroup, GetScheduleGroup, DeleteScheduleGroup, ListScheduleGroups, TagResource, UntagResource, ListTagsForResource. Supports schedule groups, cascading deletes, name prefix/state filters, andat()/cron()/rate()expressions. 21 tests. - CloudFormation
AWS::Scheduler::ScheduleandAWS::Scheduler::ScheduleGroup— CFN/CDK stacks using EventBridge Scheduler resources now provision correctly and are queryable via the Scheduler API. - CloudFormation
AWS::CodeBuild::Project— CDK/Terraform stacks declaring CodeBuild projects now provision correctly. Supports Name, Source, Artifacts, Environment, ServiceRole, Tags, and Fn::GetAtt Arn. Contributed by @AdigaAkhil (#352) - Cognito OAuth2/OIDC managed login UI —
/oauth2/authorizeserves a browser-based login form,/oauth2/tokensupports authorization_code (with PKCE S256/plain), refresh_token, and client_credentials grants,/oauth2/userInforeturns OIDC claims,/logoutredirects to logout URI. Full hosted UI flow for local development. Contributed by @kjdev (#344) - ECS
ListContainerInstancesandDescribeContainerInstances— stub endpoints return empty results (MiniStack runs tasks directly as Docker containers, no EC2 container instance layer).
Fixed
- DynamoDB CFN StreamSpecification — CloudFormation DynamoDB tables with
StreamViewTypebut no explicitStreamEnablednow correctly enable streams.Fn::GetAtt StreamArnreturns a valid stream ARN. Contributed by @davidtme (#349) - IAM/STS split — IAM and STS are now separate modules (
iam.pyandsts.py), each with standardhandle_request. Eliminates thefunc_nameparameter hack in the lazy loader. - IAM user inline policy persistence —
PutUserPolicydata was not included inget_state()/restore_state(), causing inline policies to be lost on restart withPERSIST_STATE=1. - AutoScaling state persistence — added
get_state(),restore_state(), andreset()to autoscaling service. ASG, launch config, policy, hook, scheduled action, and tag state is now persisted and reset correctly. - Health endpoint version —
/_ministack/healthnow returns the real package version instead of hardcoded3.0.0.dev.
Improved
- Lazy service imports — service modules are now loaded on first request instead of at startup. Idle RAM drops from ~59 MB to ~21 MB (64% reduction). Startup time drops from ~1.2s to ~0.5s (2.5x faster). Services that are never called consume zero memory.
- Removed pip from Docker image — pip is no longer present in the final image (security hardening, reduced attack surface).
[1.2.18] — 2026-04-15
Fixed
- ECS services/tasks invisible when created via CloudFormation — CF provisioner stored services with ARN keys instead of
cluster/name, causinglist-servicesandlist-tasksto return empty. Fixed key format, added task spawning on service create/update/delete, and replaced stale tasks on task definition updates. CF provisioner now delegates to the ECS module for a single code path. Reported by @Vagator-Prostovich - ECS CF container definitions PascalCase mismatch — CloudFormation container definitions used PascalCase keys (
Name,Image,PortMappings) but the ECS runtime expected camelCase, causingKeyErrorwhen spawning tasks. Added_normalize_container_defsto convert keys. - ECS
_task_def_lateststored string instead of integer — CF provisioner stored"family:1"instead of1, producing malformed keys like"family:family:1"on subsequent registrations. - ECS CF task definition and service delete used wrong keys — delete handlers used ARN but dicts were keyed by
family:revisionandcluster/namerespectively.
[1.2.17] — 2026-04-15
Added
- Transfer Family service — new service with 10 operations: CreateServer, DescribeServer, DeleteServer, ListServers, CreateUser, DescribeUser, DeleteUser, ListUsers, ImportSshPublicKey, DeleteSshPublicKey. SFTP server/user management with SSH key rotation and LOGICAL home directory mappings to S3. Contributed by @mjdavidson (#330)
Fixed
- Cognito
cognito:groupsmissing from tokens —initiate_authandadmin_initiate_authnow include thecognito:groupsclaim in both access and ID tokens when the user belongs to one or more groups. Contributed by @subrotosanyal (#342) - Cognito AccessToken missing
scopeclaim — AccessToken now includesscope: "aws.cognito.signin.user.admin", matching real AWS Cognito. Libraries validating OAuth2 scopes no longer fail. - Lambda default runtime updated to python3.12 — AWS blocked new
python3.9function creation since Dec 15 2025. All defaults and tests updated. Zip deployments withoutRuntimenow returnInvalidParameterValueException. Contributed by @AdigaAkhil (#339) - Ready.d scripts use
MINISTACK_HOST—AWS_ENDPOINT_URLin init scripts now usesMINISTACK_HOSTinstead of hardcodedlocalhost. Contributed by @AdigaAkhil (#339) - Docker Compose version field removed — silences Compose v2 deprecation warning. Contributed by @AdigaAkhil (#339)
- Ruff target-version corrected — reverted to
py310to matchrequires-python = ">=3.10".
[1.2.16] — 2026-04-15
Added
- KMS ECC key support —
CreateKeynow supportsECC_SECG_P256K1,ECC_NIST_P256,ECC_NIST_P384, andECC_NIST_P521key specs withECDSA_SHA_256,ECDSA_SHA_384,ECDSA_SHA_512signing algorithms. Sign/Verify works for bothRAWandDIGESTmessage types.GetPublicKeyreturns DER-encoded EC public keys. Contributed by @dvrkn (#335)
Fixed
- Lambda endpoint URL override — function-level
AWS_ENDPOINT_URLenvironment variables no longer override MiniStack's internal endpoint. When MiniStack runs in Docker with a host-port that differs from the container port (e.g.,4568:4566), Lambda functions would receive the host-mapped URL which is unreachable from inside the container, causing SDK callbacks to fail with "connection refused". Fix applies to all executor paths: provided runtime, Docker mode, image mode, and warm workers. Contributed by @jayjanssen (#336) - SFN callback/activity timeout not scaled —
SFN_WAIT_SCALE=0no longer causesStates.Timeouton activity tasks andwaitForTaskTokencallbacks. The scale factor was incorrectly applied to functional timeouts (which must wait for real work to complete), not just Wait state sleeps and retry intervals. Contributed by @jayjanssen (#337) - Init scripts override mounted AWS credentials — ready.d scripts no longer set
AWS_ACCESS_KEY_ID=testwhen the user has mounted~/.aws/credentialsinto the container. The AWS CLI credential chain (env vars > credentials file) meant our defaults stomped on the user's configured profile. Now checks for credentials files at~/.aws/credentials,/root/.aws/credentials, andAWS_SHARED_CREDENTIALS_FILE. Reported by @staranto
[1.2.15] — 2026-04-15
Fixed
- Kinesis
GetRecordsiterator handling — shard iterators are no longer consumed (popped) on use, matching real AWS behavior where iterators remain valid until their 5-minute TTL expires. Previously, callingGetRecordsimmediately invalidated the iterator, causingExpiredIteratorExceptionon client retries. Polling consumers like Apache Camel that retry on transient failures would fail with "Iterator has expired or is invalid". Reported by @markwimpory
[1.2.14] — 2026-04-15
Added
- Cognito federated SAML/OIDC auth flow —
GET /oauth2/authorize(redirects to external SAML/OIDC IdP),POST /saml2/idpresponse(parses SAML assertion, creates federated user, issues authorization code), andPOST /oauth2/tokennow supportsgrant_type=authorization_codefor full SSO flow. Also addsGetIdentityProviderByIdentifier. Contributed by @prandogabriel (#329) - EC2 AuthorizeSecurityGroup returns rules —
AuthorizeSecurityGroupIngressandAuthorizeSecurityGroupEgressnow returnSecurityGroupRulesin the response with rule IDs, group ownership, protocol, port range, and CIDR details. Required by Terraform AWS provider v6. Reported by @mspiller (#325)
Fixed
- Cognito token claims correctness —
origin_jtiandauth_timeclaims are now only included inIdTokenandAccessToken(notRefreshToken), matching real AWS Cognito behavior. Refresh tokens use minimal claims with onlyclient_id.
[1.2.13] — 2026-04-14
Added
- RDS real MySQL/MariaDB connectivity —
pymysql(44 KB, pure Python) is now bundled in the Docker image. When MiniStack runs inside Docker, RDS containers are attached to MiniStack's Docker network with internal IP endpoints for sibling-container connectivity. The publiclocalhostendpoint remains unchanged for host-mode access. The Data API authenticates using credentials from Secrets Manager, mapping the master user to MySQLrootfor admin operations.CreateDBClusterstores the master password;CreateDBInstanceinherits credentials from parent clusters;ModifyDBClusterpropagates password changes to the real MySQL container viaALTER USER. Contributed by @jayjanssen (#316) - Cognito Identity Provider CRUD —
CreateIdentityProvider,DescribeIdentityProvider,UpdateIdentityProvider,DeleteIdentityProvider,ListIdentityProviders. Enables SAML/OIDC federation setup in local development. Reported by @prandogabriel (#325) - CodeBuild
BatchGetProjectsARN lookup — accepts full ARNs in addition to project names, matching real AWS behavior. Contributed by @alexanderkrum-next (#321)
Fixed
- SFN States.Format escape handling —
States.Formatnow correctly processes\',\{,\}, and\\escape sequences in template strings, matching AWS behavior. Escaped quotes no longer truncate the template during intrinsic argument parsing. Interpolated values are preserved verbatim (backslashes in arguments are not interpreted as escapes). Contributed by @jayjanssen (#315) - S3 GetBucketLifecycleConfiguration returns canonical XML — lifecycle rules are now parsed on PUT and reconstructed as canonical
<LifecycleConfiguration>XML on GET, instead of echoing back the raw PUT body. Fixes Terraform Go SDK v2 deserialization failures. Reported by @alexanderkrum-next (#324) - Cognito AdminGetUser accepts sub UUID —
AdminGetUserand all user-resolving operations now accept the user'ssubUUID as theUsernameparameter, matching real AWS behavior. Reported by @prandogabriel (#326) - Cognito IdToken missing user attributes —
IdTokennow includesemail,cognito:username,email_verified, and other user attributes. Usesaudclaim instead ofclient_id, matching the OIDC spec and real AWS Cognito. Reported by @prandogabriel (#327) - Cognito AnalyticsConfiguration drift —
AnalyticsConfigurationdefaults toNoneinstead of empty dict, preventing Terraform drift on every plan. Contributed by @alexanderkrum-next (#322)
[1.2.12] — 2026-04-14
Added
- SFN Wait state scaling — new
SFN_WAIT_SCALEenvironment variable (default1.0) scales Wait state durations and retry interval sleeps. Set to0to skip all waits for fast-forward execution in test scenarios where emulated resources are immediately available. Contributed by @jayjanssen (#310) - AutoScaling
DescribeScalingActivities— returns empty activities list. Terraform polls this after ASG creation; without it Terraform fails. Contributed by @alexanderkrum-next (#317) - Reset with init scripts —
POST /_ministack/reset?init=1re-runs boot.d and ready.d init scripts after clearing state. Without this, resources created by init scripts were lost after reset with no way to restore them. Reported by @staranto
Fixed
- S3 lifecycle configuration hangs Terraform —
PutBucketLifecycleConfigurationandGetBucketLifecycleConfigurationnow return thex-amz-transition-default-minimum-object-sizeheader. The Terraform AWS provider waits for this header and hangs indefinitely without it. Reported by @mspiller (#306) - Lambda Runtime API noise — suppressed
BrokenPipeErrortracebacks from Lambda binaries disconnecting after reading the event. This is benign and expected behavior during nativeprovidedruntime execution. Contributed by @jayjanssen (#311) - RDS Data API warning spam — the
pymysqlimport warning is now logged once per process instead of on everyExecuteStatementcall. Contributed by @jayjanssen (#311) - SFN Wait scaling coverage —
SFN_WAIT_SCALEnow also applies to Activity task timeouts, waitForTaskToken timeouts, and ECS task polling intervals. Runtime config endpoint validates the value (rejects non-numeric, negative, NaN, Inf).
[1.2.11] — 2026-04-14
Fixed
- RDS parameter group reset actions —
ResetDBParameterGroupandResetDBClusterParameterGroupnow clear either selected overrides or the full user-parameter state, matching AWS semantics. Parameter list parsing now accepts bothParameters.member.NandParameters.Parameter.Nserialization styles. Contributed by @jayjanssen (#298) - RDS DbiResourceId lookup —
DescribeDBInstancesand other instance actions now acceptDbiResourceId(e.g.db-1AD581BD3647411AACBF) in addition to the friendlyDBInstanceIdentifier. Fixes Terraform/OpenTofu state refresh failures. Contributed by @alexanderkrum-next (#305)
[1.2.10] — 2026-04-13
Added
- AppConfig service emulator — 33 operations across control plane (
appconfig) and data plane (appconfigdata). Applications, environments, configuration profiles, hosted configuration versions, deployment strategies, deployments, tags, and session-based configuration retrieval with token rotation. Contributed by @alexanderkrum-next (#284) - Startup
Ready.log message — MiniStack now outputsReady.and per-service<Service> init completed.messages when the server is ready. Compatible with TestcontainersLogMessageWaitStrategyand LocalStack-style readiness detection.
Fixed
- SFN aws-sdk error code prefixing — SDK errors from
aws-sdk:*task integrations are now prefixed with the service name (e.g.SecretsManager.ResourceExistsExceptioninstead of bareResourceExistsException), matching real AWS Step Functions behavior. FixesCatchblocks that match on service-specific error codes. Contributed by @jayjanssen (#296)
[1.2.9] — 2026-04-13
Added
- AWS CLI bundled in Docker image —
awscommand now available inside the container for init scripts. Uses AWS CLI v1 via pip (Apache 2.0). Image size increases from 242MB to 269MB. Contributed by @AdigaAkhil (#272) .pyinit scripts — ready.d and boot.d directories now support Python scripts in addition to shell scripts. Files ending in.pyare executed with the container's Python interpreter. Contributed by @AdigaAkhil (#272)- Init script environment defaults — init scripts automatically receive
AWS_ACCESS_KEY_ID=test,AWS_SECRET_ACCESS_KEY=test,AWS_DEFAULT_REGION, andAWS_ENDPOINT_URLsoawsCLI and boto3 work out of the box without manual configuration.
[1.2.8] — 2026-04-13
Added
- SFN intrinsic functions batch 2 —
States.ArrayContains,States.ArrayUnique,States.ArrayPartition,States.ArrayRange,States.MathRandom,States.MathAdd,States.UUID. Contributed by @jayjanssen (#289) - RDS Data API SQL-aware stubs — when no real database endpoint is available,
ExecuteStatementnow tracksCREATE/DROP DATABASE,CREATE/DROP USER, andGRANT/REVOKEstatements in memory per cluster. Verification queries return tracked state. Enables acceptance testing of database provisioning workflows without Docker-in-Docker. Contributed by @jayjanssen (#293) - RDS parameter group persistence —
ModifyDBParameterGroupandModifyDBClusterParameterGroupnow storeApplyMethodalongside parameter values.DescribeDBParametersandDescribeDBClusterParametersreturn stored parameters withSourcefilter support. Contributed by @jayjanssen (#292) - ELBv2 listener attributes —
DescribeListenerAttributesandModifyListenerAttributesfor ALB listeners. Contributed by @jgrumboe (#286) - EC2 subnet tag filtering —
DescribeSubnetsnow supportstag:*andtag-keyfilters. Contributed by @jgrumboe (#285)
Fixed
- SQS bare queue name as QueueUrl — passing a bare queue name (e.g.
my-queue) instead of a full URL now resolves correctly, matching AWS and LocalStack behavior. Previously returnedQueueDoesNotExist. Reported by @RSzynal-albot - Lambda ESM ReportBatchItemFailures — SQS event source mappings with
FunctionResponseTypes=["ReportBatchItemFailures"]now parse the handler'sbatchItemFailuresresponse. Failed messages are left on the queue for redelivery/DLQ instead of being silently deleted. Reported by @okinaka - SFN REST-JSON PascalCase to camelCase conversion —
_dispatch_aws_sdk_rest_jsonnow converts PascalCase parameter names to camelCase before dispatching. FixesBadRequestException: resourceArn is requiredwhen Step Functions dispatches to RDS Data API. Contributed by @jayjanssen (#291) - SFN query-protocol XML response fidelity —
_xml_element_to_dictnow coerces known numeric fields to integers, boolean fields to booleans, and detects list-wrapper elements to produce JSON arrays even with a single child. Contributed by @jayjanssen (#290) - RDS DescribeDBEngineVersions family prefix —
DBParameterGroupFamilyno longer double-prefixes the engine name. Contributed by @jayjanssen (#292)
[1.2.7] — 2026-04-12
Added
- EC2 CreateDefaultVpc — new action creates a default VPC with all associated resources (3 default subnets, internet gateway, route table, network ACL, security group), matching real AWS behavior. Returns
DefaultVpcAlreadyExistsif one already exists. Reported by @staranto - DynamoDB ExecuteStatement (PartiQL) — supports
SELECT,INSERT,UPDATE,DELETEPartiQL statements with?parameter binding. Enables IntelliJ database integration and other PartiQL-based tooling. Reported by @mspiller - SNS FIFO topic support —
.fifonaming validation,MessageGroupId/MessageDeduplicationIdenforcement, 5-minute deduplication window, sequence numbers, content-based deduplication, FIFO SQS subscription validation,PublishBatchFIFO support, thread-safe dedup cache. Contributed by @yskarparis (#279)
Fixed
- Lambda UpdateFunctionConfiguration Layers — attaching layers via
update-function-configurationno longer throws'str' object has no attribute 'get'. Layer ARN strings are now normalized to{"Arn": ..., "CodeSize": 0}dicts, matching thecreate-functionpath. Reported by @Vagator-Prostovich - EC2 default VPC network ACL — the default VPC's network ACL (
acl-00000001) was referenced but never initialized, causingDescribeNetworkAclsto omit it. Now created at startup with standard allow/deny entries. - S3 GetObject by VersionId — requesting a specific version now returns the correct object data. Previously always returned the latest version, ignoring the
versionIdparameter. - S3 delete markers in ListObjectVersions — deleting an object in a versioned bucket now inserts a proper delete marker.
ListObjectVersionsreturnsDeleteMarkerelements. Previously delete markers were missing entirely. - S3 reset clears version history —
/_ministack/resetnow clears_object_versionsstore. Previously versioned objects accumulated across resets. - Lambda Invoke event payload — handler event no longer contains an internal
_request_idfield. Previously leaked into the event dict, breaking handlers that validate input shape. - Lambda PublishVersion ARN —
FunctionArnin the response now includes the version qualifier (e.g.:1). Previously returned the unqualified function ARN. - DynamoDB BatchWriteItem on nonexistent table — returns
ResourceNotFoundExceptioninstead of silently placing items intoUnprocessedItems. - WAFv2 DeleteWebACL LockToken — now enforces
LockTokenvalidation, returningWAFOptimisticLockExceptionfor stale tokens.UpdateWebACLalready enforced this;DeleteWebACLwas missing the check. - Step Functions duplicate execution name —
StartExecutionwith a name already in use returnsExecutionAlreadyExists. Previously silently created a second execution. - Step Functions Fail state error/cause —
DescribeExecutionnow includeserrorandcausefields when execution fails via a Fail state. Previously returnednullfor both. - API Gateway v2 CreateApi Description —
Descriptionfield is now stored and returned. Previously silently dropped. - API Gateway v1 CreateResource duplicate — rejects duplicate
pathPartunder the same parent withConflictException. Previously silently created duplicates. - CloudWatch DeleteDashboards nonexistent — returns
DashboardNotFoundErrorfor nonexistent dashboards. Previously silently succeeded. - RDS DescribeDBInstances error code — returns
DBInstanceNotFoundFault(withFaultsuffix) matching real AWS. Previously returnedDBInstanceNotFound. - SQS CreateQueue attribute mismatch — creating a queue with the same name but different attributes returns
QueueNameExists. Previously silently returned the existing queue URL. - EC2 TagSpecifications on create operations —
CreateVpc,CreateSubnet,CreateSecurityGroup,CreateKeyPair,CreateInternetGateway,CreateRouteTable,CreateNatGateway,CreateNetworkAclnow processTagSpecificationsand persist tags. Previously silently ignored. - EC2 DeleteVpc dependency check — returns
DependencyViolationwhen subnets, non-default security groups, or internet gateways are still attached. Previously silently deleted the VPC. - EC2 delete default security group blocked — returns
CannotDeletewhen attempting to delete a VPC's default security group. Previously silently deleted it. - EC2 RunInstances MinCount > MaxCount — returns
InvalidParameterCombinationwhenMinCountexceedsMaxCount. Previously silently launched instances. - EC2 Describe tag sets —
DescribeRouteTables,DescribeVolumes,DescribeSnapshots,DescribeNatGatewaysnow read tags from the_tagsstore. Previously returned hardcoded empty<tagSet/>. - ECS DescribeTaskDefinition tags — always returns tags in the response. Previously only returned tags when
include=["TAGS"]was explicitly passed.
[1.2.6] — 2026-04-12
Fixed
- EFS timestamp format —
CreationTimenow returns integer epoch seconds instead of ISO string, fixing Java SDK v2 unmarshalling errors. - ECS timestamps —
createdAtand other timestamp fields now return integer epoch seconds instead of floats with sub-second precision. - DynamoDB
X-Amz-Crc32header — all DynamoDB responses now include the CRC32 checksum header, fixing Go SDK v2failed to close HTTP response bodywarnings. - EC2 DescribeInternetGateways not-found — returns
InvalidInternetGatewayID.NotFoundfor nonexistent IDs. - EC2 CreateVpc CIDR validation — rejects invalid CIDR blocks with
InvalidParameterValue. - EC2 duplicate security group rule —
AuthorizeSecurityGroupIngressreturnsInvalidPermission.Duplicatefor existing rules. - EC2 CreateVolume/CreateSnapshot TagSpecifications — tags specified in
TagSpecificationsare now persisted. - ElastiCache CreateCacheSubnetGroup —
DescribeCacheSubnetGroupsnow returns theSubnetslist with subnet identifiers and availability zones. - SNS error code —
GetTopicAttributes,Publish, and other operations on nonexistent topics now returnNotFoundinstead ofNotFoundException, matching real AWS. - LocalStack init script path compatibility — now supports
/etc/localstack/init/ready.d/in addition to/docker-entrypoint-initaws.d/ready.d/for drop-in LocalStack replacement. Contributed by @AdigaAkhil (#271) - CloudWatch error response protocol mismatch — error responses now match the request protocol (JSON errors for JSON requests, CBOR errors for CBOR requests). Previously, JSON-protocol requests received CBOR-encoded errors causing boto3
UnicodeDecodeError. - AppSync apiId length —
CreateGraphQLApinow generates 26-character alphanumeric IDs matching real AWS format. Previously 8 characters, which broke boto3 ARN validation for tag operations. - EC2 CreateTags persistence — tags applied via
CreateTagsnow appear inDescribeVpcs,DescribeSubnets,DescribeSecurityGroups, andDescribeInternetGateways. Previously returned empty<tagSet/>. - EC2 RunInstances TagSpecifications — tags specified in
TagSpecificationswithResourceType=instanceare now persisted and returned inDescribeInstances. - EC2 Describe not-found errors —
DescribeVpcs,DescribeSubnets,DescribeSecurityGroups,DescribeKeyPairs,DescribeInstances,DescribeVolumes,DescribeSnapshotsnow return proper AWS error codes (InvalidVpcID.NotFound, etc.) when specific IDs are requested but don't exist. - EFS not-found errors —
DescribeFileSystemsandDescribeMountTargetsnow returnFileSystemNotFound/MountTargetNotFoundfor nonexistent IDs. - ELBv2 not-found errors —
DescribeLoadBalancers,DescribeTargetGroupsreturn proper errors for nonexistent ARNs/names.DeleteListener,DeleteTargetGroupreturn errors for nonexistent ARNs. - ElastiCache not-found errors —
DescribeCacheSubnetGroups,DeleteCacheSubnetGroup,DescribeCacheParameterGroups,DeleteCacheParameterGroupnow return properCacheSubnetGroupNotFoundFault/CacheParameterGroupNotFounderrors. - Glue validation —
CreateTablerejects nonexistent database,CreateCrawlerrejects duplicate names,DeleteTable/DeleteConnectionreturnEntityNotFoundExceptionfor nonexistent resources. - CloudFront CallerReference idempotency —
CreateDistributionwith a duplicateCallerReferencereturns the existing distribution instead of creating a duplicate. - WAFv2 LockToken enforcement —
UpdateWebACLvalidatesLockTokenand returnsWAFOptimisticLockExceptionfor stale tokens. - WAFv2 duplicate name —
CreateWebACLrejects duplicate names within the same scope withWAFDuplicateItemException. - ServiceDiscovery duplicate namespace —
CreateHttpNamespacerejects duplicate names withNamespaceAlreadyExists. - AutoScaling DescribePolicies — response now includes
AdjustmentType,ScalingAdjustment, andCooldownfields. - ECS TagResource validation — rejects nonexistent resource ARNs with
InvalidParameterException. - EC2 DescribeVpcs filters — filters parameter (
owner-id,vpc-id,cidr,state,is-default,tag:*) now applied correctly. Previously silently ignored.
[1.2.5] — 2026-04-12
Fixed
- Secrets Manager partial ARN lookup —
GetSecretValueand all other operations now resolve secrets by partial ARN (without the random 6-character suffix), matching real AWS behaviour. Previously returnedResourceNotFoundException. - Java SDK v2 timestamp compatibility — all JSON-protocol services now return integer epoch seconds instead of high-precision floats. Fixes
Unable to parse dateandInput timestamp string must be no longer than 20 characterserrors across DynamoDB, Lambda, Kinesis, CodeBuild, CloudWatch, Glue, Athena, ECR, Secrets Manager, EventBridge, KMS, SNS, Service Discovery, and CloudFormation provisioners. Python and Node.js SDKs are unaffected. - DELETE/GET/HEAD requests without body could hang — ASGI body read loop now skips waiting for a body on methods that don't typically carry one, preventing timeouts under concurrent load.
[1.2.4] — 2026-04-11
Added
- CodeBuild service — new service with 11 API operations: CreateProject, BatchGetProjects, ListProjects, UpdateProject, DeleteProject, StartBuild, BatchGetBuilds, StopBuild, ListBuilds, ListBuildsForProject, BatchDeleteBuilds. Contributed by @Nikhiladiga (#253)
- CloudFront Origin Access Control (OAC) — CreateOriginAccessControl, GetOriginAccessControl, GetOriginAccessControlConfig, ListOriginAccessControls, UpdateOriginAccessControl, DeleteOriginAccessControl. Contributed by @yskarparis (#258)
- CloudFormation
AWS::Route53::RecordSet— provisions A, AAAA, CNAME, and alias records with weighted/failover/geo routing support. Contributed by @aldokimi (#263) - CloudFormation
AWS::CloudWatch::Alarm— provisions metric alarms with full lifecycle (create/delete). Contributed by @aldokimi (#265) - Lambda ESM layer symlink — Node.js ESM
import()now resolves packages from Lambda Layers via symlinkednode_modules. Contributed by @bognari (#259)
Fixed
- CodeBuild multitenancy — switched from plain
dicttoAccountScopedDictfor proper account scoping - CFN test merge conflict — separated mangled CloudWatch Alarm and Route53 RecordSet tests into independent functions
[1.2.3] — 2026-04-11
Fixed
- Go SDK v2
failed to close HTTP response bodywarning — uvicorn's default keep-alive timeout (5s) was too short for Go/Java SDK connection pools (~90s idle). Increased to 75s to match AWS ALB defaults. Affected all services, most visible with DynamoDB health checks. Reported by @mspiller (#249) - SSM inline tags regression test — added test for
PutParameterwith inlineTagsfollowed byListTagsForResource. Contributed by @bognari (#254)
[1.2.2] — 2026-04-11
Fixed
- SSM
ListTagsForResourcecrash —PutParameterstored tags as a list butListTagsForResourceexpected a dict, causingAttributeError: 'list' object has no attribute 'items'. Blocked all Terraform/OpenTofu deployments creating SSM parameters. Reported by @bognari (#248)
[1.2.1] — 2026-04-11
Added
- Dynamic RDS storage — new
RDS_PERSIST=1env var switches database containers from fixed-size tmpfs to Docker named volumes for auto-growing persistent storage. Default (RDS_PERSIST=0) remains ephemeral tmpfs for CI/CD. Reported by @macario1983 (#248). - Dual Docker Hub publishing — Docker images now publish to both
nahuelnucera/ministackandministackorg/ministackon tag push.
[1.2.0] — 2026-04-11
Added
- AutoScaling service — new full service with 22 API operations: CreateAutoScalingGroup, DescribeAutoScalingGroups, UpdateAutoScalingGroup, DeleteAutoScalingGroup, CreateLaunchConfiguration, DescribeLaunchConfigurations, DeleteLaunchConfiguration, PutScalingPolicy, DescribePolicies, DeletePolicy, PutLifecycleHook, DescribeLifecycleHooks, DeleteLifecycleHook, CompleteLifecycleAction, RecordLifecycleActionHeartbeat, PutScheduledUpdateGroupAction, DescribeScheduledActions, DeleteScheduledAction, CreateOrUpdateTags, DescribeTags, DeleteTags, DescribeAutoScalingInstances.
- 9 new CloudFormation provisioners —
AWS::Lambda::LayerVersion,AWS::StepFunctions::StateMachine,AWS::Route53::HostedZone,AWS::ApiGatewayV2::Api,AWS::ApiGatewayV2::Stage,AWS::SES::EmailIdentity,AWS::WAFv2::WebACL,AWS::CloudFront::Distribution,AWS::RDS::DBCluster. All 9 support create, delete, and Fn::GetAtt. Total provisioners: 66 (was 57). - 5 AutoScaling CFN provisioners upgraded —
AWS::AutoScaling::AutoScalingGroup,LaunchConfiguration,ScalingPolicy,LifecycleHook,ScheduledActionnow store real data (were stubs). - EC2
DescribeInstanceStatus— new operation withIncludeAllInstancessupport. Returns instance state, system status, and instance status. - EC2
DescribeVpcClassicLink/DescribeVpcClassicLinkDnsSupport— stubs returning empty sets. Unblocks all VPC-dependent Terraform resources (subnet, security group, instance, ALB, NLB, EFS). - Test parallelization — CI now runs tests in parallel with pytest-xdist. Adjusted worker count for CFN stack reliability, added retries for flaky tests, increased CFN stack wait timeout. Contributed by @jgrumboe (#199).
- SFN REST-JSON
aws-sdkdispatcher + RDS Data API integration — Step Functionsaws-sdk:rdsdata:executeStatementand other RDS Data actions now dispatch via a new REST-JSON protocol handler. Static action→path map avoids botocore dependency. RDS Data API returns stub success when no database endpoint is available, allowing SFN workflows to proceed in mock environments. Contributed by @jayjanssen (#237). - Lambda warm worker layer extraction — warm worker pool now extracts Lambda layers and makes their code available to handlers. Python layers are added to
sys.pathvia_LAMBDA_LAYERS_DIRSenv var. Node.js layers are resolved viaNODE_PATHpointing to each layer'snodejs/node_modulesdirectory. Includes zip-slip protection on extraction. Contributed by @bognari (#236). - Lambda Node.js ESM (.mjs) handler support — Node.js handlers using ES modules (
.mjsfiles orpackage.jsonwith"type": "module") now load correctly via dynamicimport()fallback whenrequire()fails withERR_REQUIRE_ESM. Supportsexport const handler,export default, and cross-module ESM imports. Works in both warm worker pool and cold invocation paths. Contributed by @bognari (#238).
Fixed
- Terraform AWS provider v5.x compatibility (Lambda, DynamoDB, SFN, ESM) — Lambda no longer injects default runtime/handler for Image-based functions and preserves
ImageConfigResponsein create/update responses. ESM omitsStartingPositionfor SQS event sources (only valid for Kinesis/DynamoDB Streams). DynamoDB returnsProvisionedThroughputwith zero values for PAY_PER_REQUEST tables and GSIs. Step Functions implementsValidateStateMachineDefinitionstub required by provider v5.42.0+. Contributed by @DaviReisVieira (#242). - Kinesis
IncreaseStreamRetentionPeriodrejects same value — setting retention to 24h (the default) failed with "must be greater than current value". Now accepts same-value as no-op. Blockedaws_kinesis_streamin Terraform and Pulumi. - ACM
DescribeCertificatetimestamps as ISO strings — Terraform Go SDK expects epoch floats.CreatedAt,IssuedAt,NotBefore,NotAfternow return epoch numbers. Blockedaws_acm_certificatein Terraform. - Lambda ESM
Enabledfield ignored — creating an ESM withEnabled: falsealways returnedState: Enabled. Now respects the request parameter. - Lambda ESM
Enabledfield in response — real AWS does not includeEnabledin ESM responses, onlyState. Extra field caused Terraform drift. - ECS TaskDefinition extra container fields —
container_definitionsincludedenvironment=[], mountPoints=[], volumesFrom=[], memoryReservation=0when not specified. Caused Terraform replacement on every apply. - DynamoDB
CreateTableignoresTags— tags passed inCreateTablewere not stored.ListTagsOfResourcereturned empty. Terraform re-applied tags every plan. - SNS
CreateTopicignoresTags— same as DynamoDB. Tags now stored on create. - SNS
DisplayNamedefaults to topic name — real AWS defaults to empty string. Caused Terraform drift. - SSM
PutParameterignoresTags— tags now stored on create. - Lambda empty
Environmentblock returned — when no env vars set, response includedEnvironment: {Variables: {}}. Terraform tried to remove it every plan. Now omitted when not set. - Lambda
DeadLetterConfigempty object returned — when not configured, response includedDeadLetterConfig: {}. Now omitted when not set. - Lambda Function URL missing
InvokeMode— response lackedInvokeModefield. Terraform wanted to set "BUFFERED" every plan. Now defaults to "BUFFERED". - Lambda Function URL empty
Corsblock —cors: {}returned when not configured. Now omitted. - API Gateway v2 empty
corsConfiguration— returned{}when not set. Caused Terraform/Pulumi drift. - API Gateway v2 missing
apiKeySelectionExpression— now defaults to$request.header.x-api-key. - Cognito UserPool extra empty blocks —
DeviceConfiguration,UserPoolAddOns,UsernameConfiguration,VerificationMessageTemplatereturned when not set. Now only included when explicitly provided. Added missingDeletionProtectionfield. - SNS
GetTopicAttributes404 with empty account ARN — SDKs that skipGetCallerIdentity(Pulumi withskipRequestingAccountId) construct ARNs with empty account ID (arn:aws:sns:us-east-1::name). All SNS operations now normalize these to the default account. - SES
DeleteIdentitymalformed XML response — response lacked<DeleteIdentityResult/>element. Go SDK deserialization failed. Also fixedSetIdentityNotificationTopicandSetIdentityFeedbackForwardingEnabled. - Go SDK v2 "failed to close HTTP response body" warning — all responses lacked
Content-Lengthheader, causing Uvicorn to useTransfer-Encoding: chunked. The Go AWS SDK v2 warns on every chunked response close. Now setsContent-Lengthon all responses. Affects all services. Reported by @mspiller. - S3
ListObjectVersionsreturns only one version — when versioning is enabled, multiple PUTs to the same key only stored the latest object.ListObjectVersionsreturned a single version with hardcodedVersionId: "1". Now maintains full version history with unique VersionIds per PUT. Reported by @aldex32.
[1.1.62] — 2026-04-10
Added
- SFN query-protocol acronym mapper — Step Functions
aws-sdk:*integrations now correctly convert SDK-style parameter names (e.g.DbSubnetGroupName) to wire-format names (DBSubnetGroupName) for query-protocol services (RDS, EC2, IAM, STS, etc.). Uses a static acronym mapping — no botocore dependency. Contributed by @jayjanssen (#235).
Fixed
- API Gateway v1/v2 returns mock response for Node.js Lambdas —
_invoke_lambda_proxyin bothapigateway.py(v2) andapigateway_v1.py(v1) only dispatched to the warm worker pool for Python runtimes. Node.js Lambdas received a hardcoded"Mock response"instead of being executed. Now checks for bothpythonandnodejsruntimes. Contributed by @bognari (#234). - API Gateway v2 missing
pathParametersin Lambda event — Routes with path parameters (e.g.GET /items/{itemId}) did not extract parameter values into the Lambda proxy event'spathParametersfield. Now extracts parameters from both{param}and{proxy+}route templates. Contributed by @bognari (#239). - API Gateway v2
queryStringParametersincorrect for multi-value params — Multi-value query parameters (e.g.?tag=a&tag=b) were passed as Python lists instead of comma-joined strings. Now joins values with commas ("tag": "a,b") matching the AWS API Gateway v2 payload format 2.0 spec. Contributed by @bognari (#239). - API Gateway v2
rawQueryStringstringified lists — Multi-value query parameters were rendered astag=['a', 'b']instead oftag=a&tag=b. Now expands repeated keys correctly. Contributed by @bognari (#239). - Lambda Docker executor fails for
providedruntimes —_execute_function_docker()mounted Lambda code only at/var/taskand overrode CMD to["/var/task/bootstrap"], but the AWS RIE entrypoint expects the bootstrap binary at/var/runtime/bootstrap. Now mounts code at both/var/taskand/var/runtimeand passes"bootstrap"as CMD. Contributed by @jayjanssen (#232). - Lambda
print()/console.log()output lost in warm worker pool — Python handlerprint()wrote to stdout, colliding with the JSON-line protocol between worker and host. Now redirects Python stdout to stderr (matching the existing Node.js worker behavior). Workerinvoke()drains stderr after each invocation and returns it aslog. ESM success paths (SQS, Kinesis, DynamoDB Streams) now emit handler output to the MiniStack log. DirectInvokewithLogType=Tailreturns the output inX-Amz-Log-Result. Reported by @PerhapsJack.
[1.1.61] — 2026-04-10
Fixed
- EC2
DescribeTagsignores filters —DescribeTagsreturned every tag for every resource regardless ofFilterparameters. Terraform'saws_instanceresource sendsresource-idandkeyfilters when reading launch template tags; receiving unrelated tags caused "too many results: wanted 1, got 3". Now respectsresource-id,resource-type,key, andvaluefilters. Reported by @m7w. - EC2
DescribeTagsreturns wrongresourceType— resources with prefixesacl-,nat-,dopt-,eigw-,lt-,pl-,vgw-,cgw-,ami-,tgw-were returned as generic"resource"instead of their correct types (network-acl,natgateway,launch-template, etc.). Reported by @m7w. - Lambda container networking in DinD — when MiniStack runs inside a Docker container (DinD via socket mount),
127.0.0.1refers to the MiniStack container itself, not the Docker host where the Lambda container's port is mapped. WhenLAMBDA_DOCKER_NETWORKis set, Lambda invocations now resolve the container's IP on the shared network and connect directly on port 8080. Contributed by @DaviReisVieira. Fixes #228.
[1.1.60] — 2026-04-09
Added
- Native
provided/provided.al2023Lambda runtime — Lambda functions using custom runtimes (Go, Rust, C++ compiled binaries) now execute natively without Docker. MiniStack implements the Lambda Runtime API (GET /invocation/next,POST /invocation/{id}/response) as a minimal HTTP server, extracts the bootstrap binary from the deployment package, and manages the invocation lifecycle. Handles Go's default chunkedTransfer-Encoding. Contributed by @jayjanssen (#220). - States.ArrayGetItem, States.Array, States.ArrayLength intrinsics — SFN state machines using
States.ArrayGetItem(array, index),States.Array(val1, val2, ...), andStates.ArrayLength(array)now execute correctly. Cherry-picked from @jayjanssen (#218). - SFN key naming convention — API response keys like
DBClustersare now converted to Java SDK V2 convention (DbClusters) matching real AWS SFN behavior. Applied to both query-protocol and JSON-protocol aws-sdk dispatchers. Cherry-picked from @jayjanssen (#218). - RDS
EnableHttpEndpointaction — stub that accepts and stores the flag on DB clusters. Cherry-picked from @jayjanssen (#218).
Fixed
- Lambda provided-runtime race conditions — fixed port allocation race (socket bind-then-close replaced with
TCPServerport 0 atomic bind) and server-ready race (bootstrap process now waits for Runtime API server to be accepting connections before starting). States.TaskFailedtreated as catch-all —RetryandCatchblocks matchingStates.TaskFailednow catch any Task error, matching AWS behavior. Cherry-picked from @jayjanssen (#218).- Map state
ItemSelectorpath resolution —$paths inItemSelectornow resolve against the Map state's effective input instead of the individual item. The item is available via$$.Map.Item.Value. Cherry-picked from @jayjanssen (#218). - CFN inline ZipFile uses correct extension for Node.js —
_zip_inlinenow writesindex.jsfor Node.js runtimes instead of always writingindex.py. Fixes CDKCode.fromInlinewith Node.js failing at invocation. Reported by @jolo-dev. - EC2
DescribeSubnetsfilter support —DescribeSubnetsnow respectsvpc-id,availability-zone,subnet-id, anddefault-for-azfilters. Previously all filters were silently ignored.
[1.1.59] — 2026-04-09
Added
- EventBridge expanded API coverage — 20 new actions:
ListRuleNamesByTarget,TestEventPattern,UpdateArchive,StartReplay,DescribeReplay,ListReplays,CancelReplay,CreateEndpoint,DeleteEndpoint,DescribeEndpoint,ListEndpoints,UpdateEndpoint,DeauthorizeConnection,ActivateEventSource,DeactivateEventSource,DescribeEventSource,CreatePartnerEventSource,DeletePartnerEventSource,DescribePartnerEventSource,ListPartnerEventSources,ListPartnerEventSourceAccounts,ListEventSources,PutPartnerEvents. Contributed by @aldokimi (#210). - CloudFormation
AWS::Kinesis::Streamprovisioner — create/delete withShardCount,Name,RetentionPeriodHours,StreamModeDetails(ON_DEMAND/PROVISIONED);Fn::GetAttforArn,StreamId. Also registeredrds-datain service handler routing. Contributed by @aldokimi (#207). - EC2 default subnets — default VPC now creates 3 subnets (one per AZ: a/b/c) matching real AWS behavior instead of a single subnet. Contributed by @jayjanssen (#205).
- Step Functions
States.JsonToStringintrinsic — counterpart toStates.StringToJson. Contributed by @jayjanssen (#215). - CloudFormation
AWS::ElasticLoadBalancingV2::LoadBalancerand::Listenerprovisioners — create/delete with full ALB lifecycle, including default rules, tag propagation, and cascading cleanup.Fn::GetAttforArn,DNSName,LoadBalancerFullName,CanonicalHostedZoneID. Contributed by @aldokimi (#217).
Fixed
- EventBridge ARN-as-bus-name in PutEvents — events published with a full ARN as
EventBusName(e.g.arn:aws:events:us-east-1:000000000000:event-bus/my-bus) were silently dropped because the bus name comparison against rules failed.PutEventsnow normalizes ARN-style values to the plain bus name before dispatch. Contributed by @ctnnguyen (#208). - CloudFormation EventBridge rule composite key —
_eb_rule_createand_eb_rule_deleteused reversed key order (name|businstead ofbus|name), making CFN-provisioned rules invisible to the EventBridge API (DescribeRule,ListTargetsByRule) and event dispatch. Now uses_eb._rule_key()for consistent key construction. Contributed by @ctnnguyen (#208). - CloudFormation EventBridge target storage — CFN rule provisioner cherry-picked only
Id,Arn,RoleArn,Input,InputPathfrom targets, droppingInputTransformer,SqsParameters,EcsParameters, and other properties. Now stores the full target dict. Contributed by @ctnnguyen (#208). - Step Functions aws-sdk action casing — SFN ARNs use camelCase (e.g.
createDBSubnetGroup) but query-protocol and JSON-protocol services expect PascalCase (CreateDBSubnetGroup). Both dispatch paths now capitalize the first letter. Contributed by @jayjanssen (#204, #215). - RDS
_parse_member_listbotocore format — list parameters dispatched via Step Functions aws-sdk integrations usePrefix.MemberName.Nformat instead ofPrefix.member.N. The parser now handles both formats.
Added
-- Lambda invoke action - Modified the running of the lambda to always use AWS provided Runtime Interface Emulator images. This way any container image that implements the RIE can be run. Removed the support for running dockers using a wrapper script. Container will be reused if possible. Containers are kept running
and reference by the sha256 over the code image. In the future this should be a combination of the code image and the config.
[1.1.58] — 2026-04-09
Fixed
- Kinesis CBOR protocol support —
PutRecordandPutRecordsfrom the AWS Java SDK v2 failed with'utf-8' codec can't decode byte 0xbf. The Java SDK sends Kinesis requests as CBOR (application/x-amz-cbor-1.1) by default, but the handler only accepted JSON. Kinesis now detects CBOR content-type, decodes withcbor2, and returns CBOR-encoded responses. Reported by @markwimpory.
[1.1.57] — 2026-04-09
Fixed
- EventBridge wildcard and content-filter patterns not matching — event patterns using
{"wildcard": "*simple*"},{"prefix": "..."},{"suffix": "..."}, etc. in top-level fields likedetail-typeandsourcewere silently ignored. Content-based filters now work in all pattern fields, not justdetail. Also addedwildcardsupport to the content filter engine (usesfnmatchglob matching). Reported by @jfisbein - IAM tags not saved on CreateRole/CreateUser — tags passed at creation time via
Tags.member.N.Key/Valuewere silently ignored.GetRoleandGetUsernow return tags set during creation. Same pattern as the KMS and SQS tag fixes in prior releases. - Multi-tenant state persistence loses non-default accounts on restart — when
PERSIST_STATE=1, resources created under custom account IDs were restored under000000000000after container restart. Affected services: S3, Lambda, ECS, KMS. All four services'get_state()functions now iterate all accounts' data (via_data) instead of only the current request context. S3 file persistence (S3_DATA_DIR) layout changed toDATA_DIR/<account_id>/<bucket>/<key>; legacy flat layout auto-detected on load. The other 14 services (SQS, SNS, DynamoDB, IAM, EC2, SSM, etc.) were already safe — they usecopy.deepcopy()which preserves all accounts.
[1.1.56] — 2026-04-09
Added
- Multi-tenancy state isolation — resources with the same name in different accounts no longer collide. All service state dicts use
AccountScopedDictwhich namespaces by account ID automatically. Previously, multi-tenancy (v1.1.54) only changed ARN generation — the underlying state was shared. Now IAM roles, S3 buckets, SQS queues, DynamoDB tables, and all other resources are fully isolated per account. Reported by community feedback. - Graceful Docker container cleanup on shutdown — RDS, ECS, and ElastiCache Docker containers are now stopped and removed when MiniStack shuts down, using Docker labels (
ministack=rds,ministack=ecs,ministack=elasticache). Previously containers were orphaned unless/_ministack/resetwas called explicitly.
Fixed
- SQS queue tags not saved on CreateQueue — tags passed at queue creation time were silently ignored.
ListQueueTagsnow returns tags set duringCreateQueuefor both JSON and Query API protocols. Reported by @jfisbein - PERSIST_STATE compatibility with AccountScopedDict — state serialization and deserialization now handle the new scoped dict format correctly. All 37 service state files save and restore across restarts.
[1.1.55] — 2026-04-09
Fixed
- IAM/CloudFormation JSON protocol support — IAM and CloudFormation now handle
AwsJson1_1protocol requests (used by newer AWS SDK versions and CDK CLI). v1.1.54 added JSON protocol support for STS only, but some CDK/SDK versions also send IAM and CloudFormation requests via JSON protocol, causing "The security token included in the request is invalid" errors. - CloudFormation AutoScaling stubs —
AWS::AutoScaling::AutoScalingGroup,LaunchConfiguration,ScalingPolicy,LifecycleHook, andScheduledActionare now handled as no-ops, allowing CDK/CFN stacks with ASGs to deploy without failing. Reported by @titan1978 - README KMS table formatting — KMS row was detached from the services table by a blank line, causing broken rendering.
[1.1.54] — 2026-04-08
Added
- Multi-tenancy via dynamic Account ID — When
AWS_ACCESS_KEY_IDis a 12-digit number (e.g.048408301323), MiniStack uses it as the Account ID for all ARN generation. Non-numeric keys fall back toMINISTACK_ACCOUNT_IDenv var or000000000000. Enables lightweight tenant isolation on shared endpoints without configuration changes. - CloudFormation
TemplateURLsupport —CreateStack,UpdateStack,CreateChangeSet, andGetTemplateSummarynow fetch templates from S3 whenTemplateURLis provided instead ofTemplateBody. This unblockscdk deploywhich publishes templates to S3 and passes a URL. - CloudFormation
AWS::CDK::Metadatasupport — CDK metadata resources are now handled as no-ops instead of failing with "Unsupported resource type". - STS JSON protocol support — STS now handles
AwsJson1_1protocol requests (used by newer AWS SDK versions and CDK CLI). Previously, STS only accepted Query/form-encoded requests, causing CDK to fail with "The security token included in the request is invalid" when it tried to AssumeRole using the JSON protocol. - CloudFormation AutoScaling stubs —
AWS::AutoScaling::AutoScalingGroup,LaunchConfiguration,ScalingPolicy,LifecycleHook, andScheduledActionare now handled as no-ops, allowing CDK/CFN stacks with ASGs to deploy without failing. Reported by @titan1978
Fixed
- Test coverage for v1.1.53 fixes — added unit tests for
_convert_parameters(RDS Data API parameter binding) and SSM epoch timestamp in CloudFormation provisioner.
[1.1.53] — 2026-04-08
Added
- RDS Aurora Global Clusters (5 operations) —
CreateGlobalCluster,DescribeGlobalClusters,DeleteGlobalCluster,RemoveFromGlobalCluster,ModifyGlobalCluster. In-memory global cluster model with member cluster membership, source cluster auto-attach, deletion protection, and rename support. Contributed by @jayjanssen (#194) - RDS Data API service —
ExecuteStatement,BatchExecuteStatement,BeginTransaction,CommitTransaction,RollbackTransaction. Routes SQL to the real database containers MiniStack spins up for RDS instances. Supports both MySQL and PostgreSQL engines. Contributed by @jayjanssen (#193)
Fixed
- CDK deploy "implicit NaN" deserialization error — the CloudFormation SSM provisioner stored
LastModifiedDateas an ISO 8601 string instead of a Unix epoch float. The JS SDK v3 (bundled in CDK CLI) usesAwsJson1_1Protocolfor SSM and callsparseEpochTimestamp()on the value, which expects a number.cdk deploywould fail immediately after bootstrap when checking the SSM bootstrap version parameter. Reported by @youngkwangk @jolo-dev and @ben-shearlaw - RDS Data API thread safety — added
threading.Lockto protect transaction state against concurrent access - RDS Data API parameter binding —
ExecuteStatementandBatchExecuteStatementnow convert RDS Data API:nameparameters to DB-API parameterized queries instead of ignoring them - RDS Data API connection leak — connections are now properly closed on exceptions in non-transaction execute paths
- RDS Data API deps — added
psycopg2-binaryandpymysqlto[full]and[dev]optional dependencies inpyproject.toml
[1.1.52] — 2026-04-08
Fixed
- SQS queue URL hostname resolution —
QueueUrlwith a different hostname (e.g.http://ministack:4566/...in docker-compose) now resolves correctly. The queue lookup extracts the queue name from the URL and falls back to name-based resolution when the exact URL doesn't match. - SQS FIFO dedup cache not cleared on message delete — Deleting a FIFO message now clears its deduplication cache entry, so the same
MessageDeduplicationIdcan be reused immediately. Previously, the 5-minute dedup window blocked re-sends even after the message was consumed and deleted, breaking test reruns with fixed dedup IDs. Reported by @mspiller - API Gateway deadlock when Lambda calls back to MiniStack — Lambda invocations from API Gateway (both v1 REST and v2 HTTP) now run in a thread pool (
asyncio.to_thread), preventing deadlock when the Lambda handler makes HTTP requests back to MiniStack. Contributed by @rankinjl (#191)
Changed
- Tests split into per-service files — The monolithic
test_services.py(21K lines) has been split into ~45 focused test files (test_s3.py,test_sqs.py,test_ec2.py, etc.). Contributed by @jgrumboe (#189) - Lambda runtime env vars set before handler load —
LAMBDA_TASK_ROOT,AWS_LAMBDA_FUNCTION_NAME,AWS_LAMBDA_FUNCTION_MEMORY_SIZE, and_LAMBDA_FUNCTION_ARNare now available at import time (cold start), matching real AWS Lambda behavior. Contributed by @lubond (#190)
[1.1.51] — 2026-04-08
Added
- EC2 Launch Templates (6 operations) —
CreateLaunchTemplate,CreateLaunchTemplateVersion,DescribeLaunchTemplates,DescribeLaunchTemplateVersions,ModifyLaunchTemplate,DeleteLaunchTemplate. Full versioning support with$Latest/$Defaultresolution, block device mappings, network interfaces, IAM instance profiles, and tag specifications. - CFN
AWS::EC2::LaunchTemplate— Launch templates now work in CloudFormation/CDK stacks. 53 CFN resource types total.
Fixed
- KMS tags and policy not saved on key creation —
CreateKeywas ignoringTagsandPolicyparameters, so they were lost until explicitly set viaTagResource/PutKeyPolicy. Contributed by @jgrumboe (#183) - SQS FIFO
ReceiveMessagereturns all messages in same group — was incorrectly returning only 1 message per MessageGroupId per batch. AWS allows up to 10 messages from the same group in a singleReceiveMessagecall; the per-group restriction only applies to subsequent calls while messages are in-flight. Reported by @mspiller (#179)
[1.1.50] — 2026-04-08
Added
- CFN
AWS::ECS::Cluster,AWS::ECS::TaskDefinition,AWS::ECS::Service— ECS resources now work in CloudFormation/CDK stacks. 51 CFN resource types total.
[1.1.49] — 2026-04-08
Added
- EventBridge
UpdateEventBus— new operation for Terraformaws_cloudwatch_event_bus. Contributed by @jgrumboe (#177) - EventBridge
DescriptionandPolicyfields —DescribeEventBusandListEventBusesnow return description, policy, andLastModifiedTime
Fixed
- Lambda
LAMBDA_EXECUTOR=dockerignored for Python/Node runtimes — warm pool always took priority over the Docker executor setting. NowLAMBDA_EXECUTOR=dockerroutes all runtimes through Docker for clean log output. Contributed by @PorterK (#178) - Lambda Docker fallback crash —
runtimereferenced before definition when Docker SDK unavailable - EventBridge timestamps — all timestamp fields now return epoch numbers instead of ISO strings. Fixes Terraform deserialization. Legacy ISO strings in persisted state auto-coerced on restore. Contributed by @jgrumboe (#177)
[1.1.48] — 2026-04-07
Added
- S3 Files service (21 operations) — CreateFileSystem, GetFileSystem, ListFileSystems, DeleteFileSystem, CreateMountTarget, GetMountTarget, ListMountTargets, UpdateMountTarget, DeleteMountTarget, CreateAccessPoint, GetAccessPoint, ListAccessPoints, DeleteAccessPoint, policies, synchronization config, tagging. First emulator to support AWS S3 Files (launched April 7 2026). 39 services total.
- Step Functions query-protocol aws-sdk: dispatcher* — extends the generic aws-sdk dispatcher to support query-protocol services: RDS, SQS, SNS, ElastiCache, EC2, IAM, STS, CloudWatch. XML responses automatically converted to JSON. Contributed by @jayjanssen (#174)
- Cognito RSA JWT signing — tokens now signed with the RSA private key matching the JWKS endpoint. Adds
usernameclaim to access tokens. Contributed by @MartinsMLX (#172)
Tests
- Comprehensive aws-sdk:secretsmanager SFN task dispatch coverage. Contributed by @jayjanssen (#173)
- 1054 tests total
[1.1.47] — 2026-04-07
Added
- Step Functions generic
aws-sdk:*task dispatcher — Task states can now call any MiniStack service viaarn:aws:states:::aws-sdk:<service>:<action>resource ARNs. Supports all JSON-protocol services (DynamoDB, SecretsManager, ECS, KMS, etc.). Contributed by @jayjanssen (#168) - Step Functions sync execution error details —
StartSyncExecutionnow returnserrorandcausefields for failed executions, matching AWS SFN behaviour. Contributed by @jayjanssen
Fixed
- S3
PutObjectmissingContent-Length: 0header — CDK deploy failed withExpected real number, got implicit NaNbecause the JS SDK v3 parsed the missing header as NaN. Reported by @youngkwangk (#160) - README reverts from stale PR branches — restored Cloud Map, ready.d, persistence list, SFN intrinsics documentation
Tests
- 3 new tests: SecretsManager round-trip via aws-sdk, DynamoDB round-trip via aws-sdk, unknown service error handling
[1.1.46] — 2026-04-07
Added
- Cloud Map (Service Discovery) — new service with namespace lifecycle (HTTP, private/public DNS), service/instance CRUD, operation tracking, tagging, Route53 hosted zone integration. Contributed by @jgrumboe (#147)
- Step Functions intrinsic functions —
States.StringToJson,States.JsonMerge,States.FormatinParametersandResultSelector. Supports nested intrinsic calls. Contributed by @jayjanssen (#167) - STS
GetAccessKeyInfo— returns account ID for a given access key - EC2
ModifySnapshotAttribute/DescribeSnapshotAttribute— now actually stores and returnscreateVolumePermissioninstead of being stubs ready.dscripts — execute after server startup for resource seeding. Contributed by @kjdev (#159)
Tests
- 3 WAF tests: check_capacity, describe_managed_rule_group, list_resources_for_web_acl. Contributed by @mvanhorn (#164)
- 2 STS tests: assume_role_returns_credentials, get_access_key_info. Contributed by @mvanhorn (#162)
- 3 EBS tests: snapshot_attribute, volume_attribute, volumes_modifications. Contributed by @mvanhorn (#163)
[1.1.45] — 2026-04-07
Added
- CFN 8 EC2 resource types —
AWS::EC2::VPC,AWS::EC2::Subnet,AWS::EC2::SecurityGroup,AWS::EC2::InternetGateway,AWS::EC2::VPCGatewayAttachment,AWS::EC2::RouteTable,AWS::EC2::Route,AWS::EC2::SubnetRouteTableAssociation. CDK/CFN VPC stacks now deploy end-to-end. 48 CFN resource types total. ready.dscripts — shell scripts in/docker-entrypoint-initaws.d/ready.d/execute after the server is fully started and accepting connections. Enables seeding AWS resources (S3 buckets, SQS queues, etc.) on startup. Contributed by @kjdev (#159)
[1.1.44] — 2026-04-06
Added
- CFN
AWS::IAM::ManagedPolicy,AWS::KMS::Key,AWS::KMS::Alias— completes full CDK bootstrap support. All 9 resource types in the CDKToolkit stack now work. Reported by @youngkwangk (#152) - Step Functions nested
startExecution.sync— parent workflows can now invoke child state machines synchronously viaarn:aws:states:::states:startExecution.syncand.sync:2. Output shape matches AWS (.sync= JSON string,.sync:2= parsed JSON). Contributed by @jayjanssen (#157)
Fixed
- API Gateway v2
lastUpdatedDatereturned as ISO8601 string — Stage and DeploymentlastUpdatedDatewas returning Unix timestamp (number), causing Terraform deserialization failure onaws_apigatewayv2_stage. Reported by @hmarcuzzo (#132) - ECS timestamp wire format — all ECS timestamp fields (
createdAt,startedAt,stoppedAt, etc.) now return epoch numbers instead of ISO strings. Fixes SDK deserialization for Go, Java, and other typed SDKs
Tests
- 4 new tests: EMR instance fleets, ECS timestamp format, API GW v2 stage timestamps, CDK bootstrap full stack
[1.1.43] — 2026-04-06
Added
- CFN
AWS::ECR::Repository— CDK bootstrap (cdk bootstrap) now works. Reported by @youngkwangk (#152) - SecretsManager
UpdateSecretVersionStage— move staging labels between secret versions. Enables rotation flows with AWSCURRENT/AWSPREVIOUS rollover. Contributed by @jayjanssen (#155)
[1.1.42] — 2026-04-06
Added
- RDS configurable tmpfs size —
RDS_TMPFS_SIZEenv var (default256m). Set to2gor higher for large database testing - CloudFront tagging —
TagResource,UntagResource,ListTagsForResourcefor distributions. Enables Terraform CloudFront with tags
Fixed
- Step Functions timestamp wire format — responses now return epoch numbers instead of ISO strings for timestamp fields (
creationDate,startDate,stopDate, etc.). Fixes Go SDK v2 and botocore deserialization failures. Contributed by @jayjanssen (#151)
[1.1.41] — 2026-04-06
Fixed
- ElastiCache persistence crash on restart —
restore_state()called_get_docker()before it was defined, causingNameErrorwhenPERSIST_STATE=1. Reported by @adamkirk (#145) - RDS persistence crash on restart — same
_get_docker()ordering issue inrestore_state()
[1.1.40] — 2026-04-06
Added
- State persistence for ALL services — 11 remaining services now support
PERSIST_STATE=1: ALB, Glue, EFS, WAF, Athena, EMR, CloudFront, ACM, Firehose, SES, SES v2. All 35+ services now persist state across restarts. - Step Functions persistence — state machines, executions, tags, and activities persist. RUNNING executions restored as FAILED with
States.ServiceRestart. Contributed by @TheJokersThief (#141) - IAM
ListEntitiesForPolicy— returns users, roles, and groups attached to a managed policy. SupportsEntityFilterandPathPrefix. Contributed by @TheJokersThief (#143)
Tests
- 5 cross-service integration tests: S3→SQS events, SNS→SQS fanout, DynamoDB streams→Lambda, SQS ESM→Lambda, CloudFormation full stack (S3+Lambda+DynamoDB). Contributed by @DaviReisVieira (#142)
[1.1.39] — 2026-04-06
Fixed
- AppSync persistence crash on restart —
restore_state()called before it was defined in the file, causingNameErrorwhenPERSIST_STATE=1and restarting. Reported by @samiuoi (#66) - Cognito
AdminSetUserPasswordwithPermanent=false— now correctly setsUserStatustoFORCE_CHANGE_PASSWORD. Previously the password was updated but the status wasn't changed.
Community
- README: Community Integrations section — StackPort visual dashboard by @DaviReisVieira, Aspire Hosting .NET integration by @McDoit
Tests
- 10 new tests: KMS (list policies, rotation period), ElastiCache (parameter groups, snapshots, tags), Lambda (Image CRUD, update ImageUri, provided runtime), SecretsManager (rotate secret), Firehose (S3 destination writes)
- 1011 tests total
[1.1.38] — 2026-04-05
Added
- ECS 19 new operations (47 total) —
ListTaskDefinitionFamilies,DeleteTaskDefinitions,ListServicesByNamespace,PutAccountSettingDefault,DeleteAccountSetting,PutAttributes,DeleteAttributes,ListAttributes,UpdateCapacityProvider,DescribeServiceDeployments,ListServiceDeployments,DescribeServiceRevisions,SubmitTaskStateChange,SubmitContainerStateChange,SubmitAttachmentStateChanges,DiscoverPollEndpoint,UpdateTaskProtection,GetTaskProtection. Full Terraform ECS coverage. - SES SMTP relay via
SMTP_HOST— when set (e.g.mailhog:1025), SendEmail/SendRawEmail/SendTemplatedEmail/SendBulkTemplatedEmail deliver to an external SMTP server. Zero impact when unset. Contributed by @kjdev (#131) - Docker socket documentation — README quickstart now shows
-v /var/run/docker.sockfor RDS, ECS, and Lambda container features
Fixed
- API Gateway v2
CreatedDatereturned as ISO8601 string — was returning Unix timestamp (number), causing Terraform AWS Provider v5/v6 deserialization failure onaws_apigatewayv2_api. Reported by @hmarcuzzo (#132)
[1.1.37] — 2026-04-05
Added
- Lambda
PackageType: Imagesupport — Lambda functions can now be deployed as Docker images viaCode: { ImageUri: "..." }. The user-provided image is pulled and invoked via the Lambda Runtime Interface Emulator (port 8080). Supports Go, Rust, Java, or any language packaged as a Lambda container image.CreateFunction,UpdateFunctionCode,GetFunctionall handleImageUri. Requested by @petherin (#67)
[1.1.36] — 2026-04-04
Added
- EC2
ReplaceRouteTableAssociation— moves a subnet association from one route table to another; completes full Terraform route table association lifecycle - EC2
ModifyVpcEndpoint— add/remove route tables, subnets, and policy on existing VPC endpoints - EC2
DescribePrefixLists— returns AWS service prefix lists (S3, DynamoDB) and user-managed prefix lists; required by Terraform for every VPC endpoint - EC2 Managed Prefix Lists —
CreateManagedPrefixList,DescribeManagedPrefixLists,GetManagedPrefixListEntries,ModifyManagedPrefixList,DeleteManagedPrefixList; supports versioned CIDR entry management - EC2 VPN Gateways —
CreateVpnGateway,DescribeVpnGateways,AttachVpnGateway,DetachVpnGateway,DeleteVpnGateway; includes attachment state tracking andattachment.vpc-idfilter - EC2 VPN Route Propagation —
EnableVgwRoutePropagation,DisableVgwRoutePropagation; tracks propagating VGWs on route tables - EC2 Customer Gateways —
CreateCustomerGateway,DescribeCustomerGateways,DeleteCustomerGateway - Lambda
providedruntime support —provided.al2023,provided.al2runtimes now execute via Docker using the AWS Lambda RIE; code is mounted to/var/taskmatching real AWS behavior; Go, Rust, and C++ Lambda functions work correctly with companion files accessible atLAMBDA_TASK_ROOT - KMS Terraform support —
EnableKeyRotation,DisableKeyRotation,GetKeyRotationStatus,GetKeyPolicy,PutKeyPolicy,ListKeyPolicies,EnableKey,DisableKey,ScheduleKeyDeletion,CancelKeyDeletion,TagResource,UntagResource,ListResourceTags; KMS now has 27 actions (was 14). Fixes Terraformaws_kms_keywithenable_key_rotation = true. Reported by @betorvs - Docker image:
cryptographypackage included — KMS RSA Sign/Verify/GetPublicKey now work out of the box in the Docker image (+20MB image size, 211MB → 231MB)
Stats
- EC2 now supports 127 actions (was 109)
- Full Terraform VPC module coverage: 98/98 actions for 20 resource types
Tests
- 988 tests total, all passing
[1.1.35] — 2026-04-04
Fixed
- EC2
CreateVpccreates per-VPC default resources — each new VPC now gets its own main route table, default network ACL (with standard allow/deny rules), and default security group. Previously all VPCs shared global defaults, so Terraform couldn't find VPC-specific resources - EC2
DescribeNetworkAclsdefaultfilter — Terraform looks updefault_network_acl_idviaDescribeNetworkAclswithvpc-id+default=true, not from the VPC object. Now works - EC2
DescribeSecurityGroupsvpc-id/group-namefilters — Terraform looks updefault_security_group_idvia these filters. Now works - EC2
DescribeRouteTablesassociation.mainfilter — Terraform finds the main route table for a VPC using this filter. Now works - EC2 route target types preserved —
CreateRoute/ReplaceRoutenow storeNatGatewayId,InstanceId,VpcPeeringConnectionId,TransitGatewayIdas distinct fields; XML output uses correct element names
Reported by
- @betorvs — Terraform VPC module v6.6.0
default_network_acl_idmissing (#107, #108)
[1.1.34] — 2026-04-04
Fixed
- EC2
DescribeRouteTablesfilter by association ID —association.route-table-association-id,association.subnet-id,vpc-idfilters now supported. Fixes Terraform 5-minute timeout polling route table associations afterAssociateRouteTable. Reported by @betorvs (#107, #108)
[1.1.33] — 2026-04-04
Added
- DynamoDB
ScanFilter/QueryFilter— legacy filter conditions (EQ, NE, NOT_NULL, NULL, CONTAINS, BEGINS_WITH) now supported alongside FilterExpression - CFN
AWS::AppSync::*— GraphQLApi, DataSource, Resolver, GraphQLSchema, ApiKey provisioners for CDK/Amplify stacks - CFN
AWS::SecretsManager::Secret— withGenerateSecretStringsupport (PasswordLength, ExcludeCharacters, SecretStringTemplate, GenerateStringKey) - S3
UploadPartCopy— copy a range from an existing object as a multipart upload part; supportsx-amz-copy-source-range - SNS FIFO dedup passthrough —
MessageGroupIdandMessageDeduplicationIdfrom SNS Publish now forwarded to SQS FIFO queues via fanout - AppSync GraphQL data plane —
POST /v1/apis/{apiId}/graphqlexecutes queries and mutations against DynamoDB resolvers; supports create/get/list/update/delete operations, nested input objects, field selection, Lambda resolvers; enables Amplify Data runtime - CFN Cognito resource types —
AWS::Cognito::UserPool,AWS::Cognito::UserPoolClient,AWS::Cognito::IdentityPool,AWS::Cognito::UserPoolDomainfor Amplify/CDK auth stacks
Fixed
- DynamoDB persistence crash —
defaultdict(dict)deserialized as plaindictafter restart, causingKeyErroron new partition keys. Now converts back todefaultdicton restore - DynamoDB
_pitr_settingsnot persisted —DescribeContinuousBackupsnow survives restarts - Cognito JWT
kidmismatch — tokens now usekid: ministack-key-1matching the JWKS endpoint; fixes client-side JWT validation - KMS RSA private keys persisted — private keys now PEM-encoded in state; Sign/Verify work after restart (requires
cryptographypackage) - 4 duplicate test function names —
test_lambda_publish_version,test_kinesis_stream_encryption,test_apigw_delete_routerenamed to unique names; previously only last definition ran - EC2 Terraform VPC module fixes —
DescribeAddressesAttribute,DescribeSecurityGroupRules, route table association state (associated), VPCdefaultNetworkAclId/defaultSecurityGroupId/mainRouteTableIdin CreateVpc/DescribeVpcs responses. Reported by @betorvs
Tests
- 971 tests total, all passing
[1.1.32] — 2026-04-04
Added
- AppSync service — CreateGraphQLApi, GetGraphQLApi, ListGraphQLApis, UpdateGraphQLApi, DeleteGraphQLApi, CreateApiKey, ListApiKeys, DeleteApiKey, CreateDataSource, GetDataSource, ListDataSources, DeleteDataSource, CreateResolver, GetResolver, ListResolvers, DeleteResolver, CreateType, ListTypes, GetType, TagResource, UntagResource, ListTagsForResource; REST/JSON API under
/v1/apis; in-memory state with persistence - Cognito JWKS/OIDC endpoints —
/.well-known/jwks.jsonreturns real RSA public key;/.well-known/openid-configurationreturns OpenID Connect discovery document; enables real JWT validation in Amplify/CDK auth flows - 9 new CloudFormation resource types —
AWS::ApiGateway::RestApi,AWS::ApiGateway::Resource,AWS::ApiGateway::Method,AWS::ApiGateway::Deployment,AWS::ApiGateway::Stage,AWS::Lambda::EventSourceMapping,AWS::Lambda::Alias,AWS::SQS::QueuePolicy,AWS::SNS::TopicPolicy; unblocks Serverless Framework and CDK deployments - EC2
DescribeVpcAttribute— returns EnableDnsSupport, EnableDnsHostnames, EnableNetworkAddressUsageMetrics; fixes Terraform VPC module failing after ModifyVpcAttribute. Reported by @betorvs
Tests
- 955 tests total, all passing
[1.1.31] — 2026-04-04
Fixed
- S3→Lambda notifications silently failing —
_invokeis async but was called from sync context; coroutine was never awaited. Now uses direct_execute_functionin background thread - SNS HTTP delivery crash from background threads —
asyncio.ensure_futurefails with no event loop when_fanoutcalled from S3/EventBridge threads. Now usesthreading.Thread(target=asyncio.run, ...) - ACCOUNT_ID configurable across all services —
MINISTACK_ACCOUNT_IDenv var now respected by all 37 services and router; previously only 6 services read it - EventBridge SQS dispatch missing message fields — now calls
_ensure_msg_fieldsafter appending, preventing KeyError on ReceiveMessage - README: stale test count and service count — updated to 948 tests, 37 services
- README: CloudFront in Terraform endpoints, architecture diagram, comparison table
Tests
- 948 tests total, all passing
[1.1.30] — 2026-04-03
Added
- CloudFormation
AWS::Lambda::Permission— provisions Lambda invoke permissions via CFN stacks - CloudFormation
AWS::Lambda::Version— creates immutable Lambda versions via CFN stacks - CloudFormation
AWS::CloudFormation::WaitCondition— no-op stub, returns immediately - CloudFormation
AWS::CloudFormation::WaitConditionHandle— no-op stub, returns placeholder URL
Fixed
- Router duplicate action keys — removed
ListTagsForResourceandGetTemplatefrom action map (shared across services, routed via credential scope instead) - ElastiCache reset missing state —
_param_group_paramsnow cleared and_port_counterreset toBASE_PORTon reset - Bare except in Docker cleanup — RDS, ECS, ElastiCache reset() now log warnings instead of silently swallowing errors
- 52 f-string logger calls — converted to lazy % formatting across 13 service files; avoids unnecessary string formatting when log level is disabled
- Detached mode log handle — documented intentional fd inheritance in subprocess.Popen
Thanks to @moabukar for #104 (error handling, routing conflicts, persistence hardening)
[1.1.29] — 2026-04-03
Fixed
- CloudFormation
AWS::S3::BucketPolicy— new resource type; provisions and deletes S3 bucket policies via CFN stacks. Fixes Serverless Framework deployment failures
[1.1.28] — 2026-04-03
Fixed
- S3 aws-chunked decoding — chunked body decoder now also triggers on
Content-Encoding: aws-chunkedandx-amz-decoded-content-lengthheader, not onlySTREAMING-*; fixes AWS SDK Java v2 and Spring Boot S3Template storing raw chunk metadata in object bodies. Stripsaws-chunkedfrom Content-Encoding before passing to S3 handler. Contributed by @moabukar
[1.1.27] — 2026-04-03
Fixed
- Dockerfile missing
defusedxml— addeddefusedxml>=0.7to pip install in Dockerfile; container was crashing on startup due to missing dependency introduced in v1.1.26
[1.1.26] — 2026-04-03
Added
- CloudFront service — CreateDistribution, GetDistribution, GetDistributionConfig, ListDistributions, UpdateDistribution, DeleteDistribution, CreateInvalidation, ListInvalidations, GetInvalidation; ETag-based concurrency control. Contributed by @Nikhiladiga
- ECR service — CreateRepository, DescribeRepositories, DeleteRepository, PutImage, BatchGetImage, BatchDeleteImage, ListImages, DescribeImages, GetAuthorizationToken, lifecycle policies, repository policies, tags, layer upload flow. Contributed by @moabukar
- IAM DeleteServiceLinkedRole / GetServiceLinkedRoleDeletionStatus — Contributed by @jgrumboe
- State persistence for 10 more services — Lambda (config + code_zip as base64), EC2, Route53, Cognito, ECR, CloudWatch Metrics, S3 metadata, RDS (reconnects Docker containers), ECS (tasks restored as stopped), ElastiCache (reconnects Docker containers) now persist when
PERSIST_STATE=1(20 services total) - SNS/SFN pagination — ListTopics, ListSubscriptions, ListStateMachines, ListExecutions now support NextToken/maxResults
- defusedxml — S3 and Route53 XML parsing now uses
defusedxmlto protect against billion-laughs DoS
Fixed
- SecretsManager
BatchGetSecretValue— retrieve multiple secrets in one call; returnsSecretValuesandErrorsarrays - DynamoDB
WarmThroughput— DescribeTable now returnsWarmThroughputfield; fixes latest Terraform AWS provider compatibility. Reported by @chad-bekmezian-snap - Firehose deadlock —
_next_dest_idno longer acquires lock (always called within_lockcontext) - Redis bound to localhost — docker-compose.yml Redis port now
127.0.0.1:6379:6379 - EDGE_PORT documented — added to README Configuration table as LocalStack alias
Tests
- 928 tests total, all passing
[1.1.25] — 2026-04-03
Added
- State persistence for 10 services — SQS, SNS, SSM, SecretsManager, IAM, DynamoDB, KMS, EventBridge, CloudWatch Logs, and Kinesis now persist state when
PERSIST_STATE=1; state is saved on shutdown and restored on startup via atomic JSON files - Python Testcontainers example —
Testcontainers/python-testcontainers/with pytest tests for S3, SQS, DynamoDB using thetestcontainerspackage - Detached mode —
ministack -dstarts the server in the background with logs to/tmp/ministack-{port}.log;ministack --stopstops it. Cross-platform viasubprocess.Popen. PID file with signal cleanup. Reported by @UdayKiranPadhy
Fixed
- Renamed
examples/toTestcontainers/— clearer folder name for Testcontainers examples (Java, Go, Python) - EventBridge SQS dispatch message schema — fixed field names (
md5_body,sys,message_attributes) to match SQS internal format - Lambda
_now_iso()millisecond precision — now includes real milliseconds instead of always.000 x-amz-id-2header — now returns base64-encoded random bytes instead of a UUID, matching AWS format- Route53
ListResourceRecordSetsordering and pagination — DNS names now sorted by reversed labels (com.example.www) matching AWS; pagination cursors point to next page start instead of current page end; fixes Terraform infinite loop onaws_route53_record. Contributed by @jgrumboe - Lazy stdlib imports removed — moved
shutil,tempfile,argparse,signal,socket,sys,datetimeto module level acrossapp.py,lambda_svc.py,athena.py - Flaky ESM visibility timeout test — increased timeout headroom for CI environments
Tests
- 887 tests total, all passing
[1.1.24] — 2026-04-03
Fixed
- KMS aliases — CreateAlias, DeleteAlias, ListAliases, UpdateAlias;
alias/my-keyresolves in Encrypt, Decrypt, Sign, Verify, DescribeKey and all other KMS operations - KMS
REGIONhardcoded — now readsMINISTACK_REGIONenv var like all other services - S3 hardcoded
us-east-1— bucket region header, location constraint, and event notifications now useMINISTACK_REGION - Router
extract_regionfallback — now usesMINISTACK_REGIONinstead of hardcodedus-east-1 - EC2/RDS XML escaping — user-controlled values (tags, descriptions) now escaped with
xml.sax.saxutils.escape() - SQS thread safety — added
_queues_lockfor ESM poller access - EC2 terminated instances cleaned up — removed from memory after 60s
- Step Functions execution cleanup — cleaned up when parent state machine is deleted
- Lambda ESM poller idle optimization — polls every 5s when no ESMs configured
- DynamoDB
REGIONvariable ordering — moved before_emit_stream_event - README: 55+ undocumented operations — updated all service tables
- README:
SFN_MOCK_CONFIG— added to Configuration table - README: KMS in Terraform endpoints
Tests
- 876 tests total, all passing
[1.1.23] — 2026-04-03
Added
- KMS service — CreateKey (RSA_2048, RSA_4096, SYMMETRIC_DEFAULT), ListKeys, DescribeKey, GetPublicKey, Sign, Verify, Encrypt, Decrypt, GenerateDataKey, GenerateDataKeyWithoutPlaintext. In-memory key storage with RSA signing via the
cryptographypackage (optional dependency, guarded import). Supports JWT signing flows and S3 SSE-KMS encryption patterns. Contributed by @Jolley71717
[1.1.22] — 2026-04-03
Added
- Step Functions mock config —
SFN_MOCK_CONFIG(orLOCALSTACK_SFN_MOCK_CONFIG) env var pointing to a JSON file that mocks Task state responses; fully compatible with the AWS Step Functions Local mock config format:MockedResponseswith invocation indexing ("0","1-2", etc.),#TestCaseNameARN suffix onStartExecution,ReturnandThrowper attempt. Contributed by @maxence-leblanc (issue) - Step Functions
TestStateAPI — execute a single state in isolation without creating a state machine; supports Pass, Task, Choice, Wait, Succeed, Fail state types;inspectionLevel(INFO/DEBUG) returns data transformation details;mockparameter for Task states withresult/errorOutput;stateNameto extract a state from a full definition; Retry/Catch evaluation withRETRIABLE/CAUGHT_ERRORstatus
Fixed
- CloudWatch Logs
GetLogEventspagination —nextForwardTokenandnextBackwardTokennow return the caller's token when at end of stream, preventing SDK clients from looping infinitely; token-based offset pagination now works correctly - EventBridge → Lambda crash —
asyncio.run()inside the running event loop replaced with direct synchronous dispatch; PutEvents with Lambda targets no longer crashes - Step Functions StartSyncExecution crash —
_call_lambdareplacedasyncio.run()with direct_execute_function()call; sync Lambda Task states no longer crash /_ministack/configendpoint hardened — now whitelists allowed config keys instead of accepting arbitrary__import__+setattron any module- S3 path traversal in persistence —
_persist_objectvalidates paths stay withinDATA_DIRusingos.path.realpath()prefix check; blocks../in S3 keys - Lambda worker reset —
reset()now acquires lock and callsworker.kill()(cleans up temp dirs) instead of bare_proc.terminate() - DynamoDB
_stream_recordscleared on reset — stream records no longer accumulate unboundedly across resets - Lambda ESM position tracking cleared on reset —
_kinesis_positionsand_dynamodb_stream_positionsnow cleared onreset() - License — updated year 2026
Tests
- 851 tests total, all passing
[1.1.21] — 2026-04-02
Added
- S3 → EventBridge notifications — buckets with
EventBridgeConfigurationenabled now publish events to the default EventBridge bus on object create/delete/copy; EventBridge rules withInputTransformerroute and reshape events to downstream targets (SQS, Lambda, etc.)
Fixed
- S3
PutObjectmissingVersionIdin response — versioned buckets now returnVersionIdin thePutObject,GetObject,HeadObject, andCopyObjectresponses; each put generates a unique version ID. Reported by @McDoit
Tests
- 841 tests total, all passing
[1.1.20] — 2026-04-02
Fixed
- SecretsManager
KmsKeyId—CreateSecretandUpdateSecretnow storeKmsKeyId;DescribeSecretreturns it. Previously always null. - Lambda env vars applied at process spawn — Lambda environment variables are now passed to the worker subprocess at startup (
env=onPopen) instead of after viaObject.assign.NODE_OPTIONS=--require ./init.jsand similar process-level env vars now work correctly, matching real AWS Lambda behaviour. Contributed by @jv2222
Tests
- 838 tests total, all passing
[1.1.19] — 2026-04-02
- Version bump from v1.1.18 — no code changes, re-tag for PyPI publish
[1.1.18] — 2026-04-02
Added
- EC2
DescribeInstanceCreditSpecifications— returnsstandardCPU credits; fixes Terraform v6 provider compatibility - EC2 Terraform v6 stubs —
DescribeInstanceMaintenanceOptions,DescribeInstanceAutoRecoveryAttribute,ModifyInstanceMaintenanceOptions,DescribeInstanceTopology,DescribeSpotInstanceRequests,DescribeCapacityReservationsall return sensible empty/default responses - Lambda Node.js warm worker pool — Node.js functions now use the same persistent warm worker as Python; supports async/await, Promise, and callback handlers; AWS SDK v2 endpoint patching for local development
- Docker image includes Node.js —
nodejsadded to Alpine base image so container-based Node.js Lambda execution works out of the box in Docker Compose / CI environments - Lambda S3 code fetch —
CreateFunctionandUpdateFunctionCodenow acceptS3Bucket/S3Keyin addition toZipFile; returns error if S3 object not found - Lambda versioning —
Publish=TrueonCreateFunctionandUpdateFunctionCodenow creates immutable numbered versions with their owncode_zip - DynamoDB Streams —
StreamSpecificationonCreateTablenow emits INSERT/MODIFY/REMOVE records on all write operations (PutItem,UpdateItem,DeleteItem,BatchWriteItem,TransactWriteItems); respectsStreamViewType - Kinesis ESM polling — Lambda event source mappings now support Kinesis streams in addition to SQS
Fixed
SNS
SubscribeignoresAttributesparameter —RawMessageDelivery,FilterPolicy,FilterPolicyScope,DeliveryPolicy, andRedrivePolicypassed at subscription creation time are now applied immediatelyLambda warm worker not invalidated on code update —
UpdateFunctionCodeandDeleteFunctionnow invalidate the warm worker pool so the next invocation picks up the new codeLambda module-level imports — removed lazy
from ministack.core.lambda_runtime importinside functions; moved to module top levelS3 chunked transfer encoding — AWS SDK v2 sends
PutObjectwithSTREAMING-AWS4-HMAC-SHA256-PAYLOADchunked encoding; body was stored with chunk headers causing corruptGetObjectresponses; now decoded before storageKinesis validation limits —
PutRecordandPutRecordsnow enforce AWS limits: max 1 MB per record, max 500 records per batch, max 5 MB total payload, max 256-char partition keyS3 Control routing via
s3-control.localhosthost — requests with host headers3-control.localhostwere intercepted by the S3 virtual-hosted bucket handler instead of reaching the S3 Control API; fixes TerraformListTagsForResourcereturning 404NoSuchResourceEC2 security group rule deduplication —
AuthorizeSecurityGroupIngress/Egressno longer appends duplicate rules; fixes Terraform showing constant driftEC2 default egress rule on created security groups — non-default security groups now include the standard allow-all egress rule matching AWS behaviour
EC2 VPC Peering missing Region field —
requesterVpcInfoandaccepterVpcInfonow include<region>in all responses; fixes Terraform failing to parse peering connectionsLambda
PublishVersionFunctionArn — no longer appends version number to FunctionArn (version is in the Version field); fixes Terraform ARN comparison driftLambda
FunctionUrlConfighardcoded region — now usesMINISTACK_REGIONinstead of hardcodedus-east-1Lambda handler validation — returns proper
Runtime.InvalidEntrypointerror if handler name has no.separator instead of crashingRDS error code —
DBInstanceAlreadyExistscorrected toDBInstanceAlreadyExistsFaultmatching AWS error codesThanks to @lubond @jimmyd-be @abedurftig @mig_mit for reporting issues and testing
Thanks to @jv2222 and @santiagodoldan for their massive contributions
Tests
- 834 tests total, all passing
[1.1.17] — 2026-04-02
Added
- EC2
DescribeInstanceCreditSpecifications— returnsstandardCPU credits; fixes Terraform v6 provider compatibility - EC2 Terraform v6 stubs —
DescribeInstanceMaintenanceOptions,DescribeInstanceAutoRecoveryAttribute,ModifyInstanceMaintenanceOptions,DescribeInstanceTopology,DescribeSpotInstanceRequests,DescribeCapacityReservationsall return sensible empty/default responses to prevent Terraform v6 from failing on unknown actions
Tests
- 818 tests total, all passing
[1.1.16] — 2026-04-01
Added
MINISTACK_REGIONenvironment variable — all 25 services now read region fromMINISTACK_REGION(defaulting tous-east-1); previously all services hardcoded the region in ARNs and response metadata. Lambda also checksAWS_DEFAULT_REGIONas a secondary fallback. Contributed by @xingzihai and @santiagodoldan
Tests
- 815 tests total, all passing
[1.1.15] — 2026-04-01
Added
- Lambda Node.js runtime —
nodejs14.xthroughnodejs22.x(and any futurenodejsN.x) now fully execute via local subprocess (node) or Docker; supportsCreateFunction,UpdateFunctionCode,Invokeincluding async handlers; layers resolved tonodejs/node_modules;nodejs24.xauto-maps via pattern
Fixed
- CloudFormation auto-generated physical names — resources without explicit names now follow the AWS pattern
{stackName}-{logicalId}-{SUFFIX}with a 13-char uppercase alphanumeric suffix; service-specific rules applied (S3: lowercase, max 63; SQS: max 80; DynamoDB: max 255; Lambda/IAM/EventBridge: max 64). Fixes CDK stacks that omit explicit resource names producing untraceablecfn-xxxnames - Import cleanup — moved lazy stdlib imports (
base64,fnmatch,re,datetime,urllib) to module level acrosssqs,cloudwatch_logs,glue,cognito,rds,apigateway,apigateway_v1; removed duplicateos/reimports ins3
Tests
- 3 new Node.js Lambda tests (create+invoke, nodejs22.x, UpdateFunctionCode)
- 4 new CFN physical name tests (S3/SQS/DynamoDB auto-name pattern, explicit name not overridden)
- 815 tests total, all passing
[1.1.14] — 2026-04-01
Added
- Lambda layer enhancements —
GetLayerVersionByArn,AddLayerVersionPermission,RemoveLayerVersionPermission,GetLayerVersionPolicy; layer zip content served via/_ministack/lambda-layers/{name}/{ver}/contentso runtimes can fetch layers;ListLayerVersionsandListLayersnow support runtime and architecture filtering with pagination. Contributed by @mickabd MINISTACK_HOSTenvironment variable — controls the hostname used in all response URLs (QueueUrl, SNSSubscribeURL/UnsubscribeURL, API GatewayapiEndpoint/domainName, CFN-provisioned SQS queues, Lambda layerContent.Location). Defaults tolocalhost. Set to your Docker Compose service name (e.g.ministack) so other containers can reach returned URLs directly. Contributed by @santiagodoldan and @David2011Hernandez
Fixed
- EC2
DescribeInstanceAttribute— added support for all standard attributes (instanceType,instanceInitiatedShutdownBehavior,disableApiTermination,userData,rootDeviceName,blockDeviceMapping,sourceDestCheck,groupSet,ebsOptimized,enaSupport,sriovNetSupport); required by Terraform AWS Provider >= 6.0.0 during state refresh. Contributed by @samiuoi - EC2
DescribeInstanceTypes— added handler returning hardware specs (vCPU, memory, network, EBS) for 12 common instance families (t2, t3, m5, c5, r5, p3); required by Terraform AWS Provider >= 6.0.0 - S3 Control
ListTagsForResource— was always returning an empty tag list; now returns tags set viaPutBucketTagging. Fixes Terraformaws_s3_bucketperpetual drift when atagsblock is configured - Lambda layer
Content.Location— URL now respectsMINISTACK_HOSTandGATEWAY_PORTinstead of hardcodedlocalhost
Changed
- Virtual-hosted S3 and execute-api host-header matching now respects
MINISTACK_HOST, so{bucket}.<host>and{apiId}.execute-api.<host>patterns work with any configured hostname
Tests
- CloudFormation e2e suite merged —
test_cfn_e2e.pymerged intotest_services.py; 10 e2e tests now run within the unified test session - 19 new tests (EC2, S3 Control, Lambda layer permissions/pagination/filtering/GetByArn/content)
- 808 tests total, all passing
[1.1.13] — 2026-04-01
Added
- CloudFormation — full stack lifecycle:
CreateStack,UpdateStack,DeleteStack,DescribeStacks,ListStacks,DescribeStackEvents,DescribeStackResource,DescribeStackResources,GetTemplate,ValidateTemplate,GetTemplateSummary,ListExports; change sets (CreateChangeSet,DescribeChangeSet,ExecuteChangeSet,DeleteChangeSet,ListChangeSets); JSON and YAML template support including!Ref,!Sub,!GetAttshorthand; full intrinsic function resolution (Ref,Fn::GetAtt,Fn::Join,Fn::Sub,Fn::Select,Fn::Split,Fn::If,Fn::Base64,Fn::FindInMap,Fn::ImportValue,Fn::GetAZs,Fn::Cidr); conditions (Fn::Equals,Fn::And,Fn::Or,Fn::Not); parameters withAllowedValues,Default,NoEcho; rollback on failure with reverse-order cleanup; cross-stack exports viaFn::ImportValue; 12 resource types provisioned directly into service state (AWS::S3::Bucket,AWS::SQS::Queue,AWS::SNS::Topic,AWS::SNS::Subscription,AWS::DynamoDB::Table,AWS::Lambda::Function,AWS::IAM::Role,AWS::IAM::Policy,AWS::IAM::InstanceProfile,AWS::SSM::Parameter,AWS::Logs::LogGroup,AWS::Events::Rule). Contributed by @sam-fakhreddine
Fixed
- CloudFormation Lambda
ZipFile— inlineCode.ZipFilesource is now correctly packaged into a zip archive, making CFN-deployed Lambda functions invokable - CloudFormation async task — replaced deprecated
asyncio.ensure_future()withasyncio.get_event_loop().create_task()in stack deploy, delete, and change set execution - README architecture diagram — fixed box alignment and added CloudFormation to service list. Contributed by @oefrha (HackerNews)
Tests
- 788 tests total (before v1.1.14 additions)
[1.1.12] — 2026-03-31
Changed
- Updated LICENSE copyright year to 2026. Contributed by @kay_o (HackerNews)
[1.1.11] — 2026-03-31
Added
- ACM (Certificate Manager) — full control plane:
RequestCertificate,DescribeCertificate,ListCertificates,DeleteCertificate,GetCertificate,ImportCertificate,AddTagsToCertificate,RemoveTagsFromCertificate,ListTagsForCertificate,UpdateCertificateOptions,RenewCertificate,ResendValidationEmail; certificates issued immediately with statusISSUEDand DNS validation records; compatible with Terraformaws_acm_certificateand CDKCertificate - SES v2 — REST API at
/v2/email/:SendEmail,CreateEmailIdentity,GetEmailIdentity,DeleteEmailIdentity,ListEmailIdentities,CreateConfigurationSet,GetConfigurationSet,DeleteConfigurationSet,ListConfigurationSets,GetAccount,ListSuppressedDestinations,TagResource,UntagResource,ListTagsForResource; identities auto-verified; compatible with Terraformaws_sesv2_email_identityand CDKEmailIdentity - WAF v2 — full control plane: WebACL CRUD, IPSet CRUD, RuleGroup CRUD (including
UpdateRuleGroup),AssociateWebACL/DisassociateWebACL,GetWebACLForResource,ListResourcesForWebACL,TagResource/UntagResource/ListTagsForResource,CheckCapacity,DescribeManagedRuleGroup; LockToken enforced on Update/Delete; rules stored but not enforced; compatible with Terraformaws_wafv2_web_acland CDKCfnWebACL - Lambda Layers —
PublishLayerVersion,GetLayerVersion,ListLayerVersions,ListLayers,DeleteLayerVersion; layer zip content stored in-memory and injected into function execution environment
Fixed
- WAF v2
GetWebACL/GetIPSet/GetRuleGroup—LockTokenwas incorrectly included inside the resource body; now only returned at the top level, matching real AWS and fixing CDK/Terraform Update flows - WAF v2
GetWebACLForResource— now returnsWAFNonexistentItemExceptionwhen no association exists, matching real AWS behaviour - SES v2
TagResource/UntagResource/ListTagsForResource— added; Terraform calls these afterCreateEmailIdentity
Tests
- 763 tests total, all passing
[1.1.10] — 2026-03-31
Fixed
- ECS Docker network detection — ECS containers now automatically join the same Docker network that MiniStack is running on, so containers can reach sibling services (S3, SQS, etc.) without manual network configuration. Contributed by @mickabd
- Internal naming cleanup — replaced all internal
localstack-*references (logger name, default data dir/tmp/localstack-data/s3→/tmp/ministack-data/s3, healthcheck URLs, CI config) withministackequivalents;LOCALSTACK_PERSISTENCE/LOCALSTACK_HOSTNAMEenv vars kept for migration compatibility - DynamoDB GSI capacity accounting —
PutItem,DeleteItem,UpdateItem,GetItem,Query,Scan, andBatchWriteItemnow return correctConsumedCapacity.CapacityUnitswhen a table has Global Secondary Indexes:1 + gsi_countper write (matching real AWS);INDEXESmode also returns per-GSI breakdown. Contributed by @jespinoza-shippo. - S3
CreateBucketidempotency — creating a bucket you already own now returns 200 instead of 409BucketAlreadyOwnedByYou, matching real AWS and fixing Terraform re-apply failures - S3
OwnershipControls—PutBucketOwnershipControls,GetBucketOwnershipControls,DeleteBucketOwnershipControlsnow implemented; Terraform calls these immediately afterCreateBucket - S3 Control
ListTagsForResource— S3 Control API (/v20180820/tags/{arn}) now returns empty tag list instead of 404; Terraform uses this for S3 bucket tag lookups - S3
PublicAccessBlock—PutPublicAccessBlock,GetPublicAccessBlock,DeletePublicAccessBlocknow implemented; CDK and Terraform call these on every bucket - STS
AssumeRoleWithWebIdentity— now implemented; CDK OIDC deployments (GitHub Actions, etc.) use this; also fixed router to detect unsigned form-encoded STS actions from request body - IAM
UpdateRole— now implemented; Terraform calls this to set role description and max session duration
Tests
- 737 tests total, all passing
[1.1.9] — 2026-03-31
Added
- S3 Object Lock — full WORM enforcement on top of versioned buckets
PutObjectLockConfiguration/GetObjectLockConfiguration— enable Object Lock on a bucket withCOMPLIANCEorGOVERNANCEdefault retention (days or years)PutObjectRetention/GetObjectRetention— per-object retention withCOMPLIANCE(always blocks delete) andGOVERNANCE(x-amz-bypass-governance-retentionheader bypasses)PutObjectLegalHold/GetObjectLegalHold—ONstatus unconditionally blocks deletion regardless of retention mode- Default retention auto-applied on
PutObjectwhen bucket lock configuration is present @Contributed by @mickabd
- S3 Replication — bucket-level replication configuration CRUD
PutBucketReplication/GetBucketReplication/DeleteBucketReplication
- S3 Tagging improvements — URL-encoded tagging header parsing now correctly handles
x-amz-taggingonPutObjectandCopyObject
Tests
- 16 new integration tests covering Object Lock, Replication, and Tagging — 730 tests total, all passing
[1.1.8] — 2026-03-30
Added
- Cognito TOTP MFA — full end-to-end Software Token MFA flow now works with CDK and boto3
AssociateSoftwareTokenreturns a stub TOTP secret + session (acceptsAccessTokenorSession)VerifySoftwareTokenaccepts any code and marks the user as TOTP-enrolled (_mfa_enabled,_preferred_mfa)AdminSetUserMFAPreference— new: enables/disables TOTP or SMS MFA per user and sets preferred methodSetUserMFAPreference— new: public (AccessToken-based) equivalent of the aboveAdminInitiateAuth/InitiateAuthnow issueSOFTWARE_TOKEN_MFAchallenge after password auth when poolMfaConfigurationisONorOPTIONALand user has TOTP enrolledAdminRespondToAuthChallenge/RespondToAuthChallengeaccept any TOTP code forSOFTWARE_TOKEN_MFAand return tokens (emulator — no real TOTP validation)AdminGetUser/GetUsernow return realUserMFASettingListandPreferredMfaSettingfieldsMFA_SETUPchallenge handled in both respond endpoints (for poolON+ unenrolled users)
Tests
- 4 new integration tests: full TOTP flow, OPTIONAL MFA, AdminGetUser MFA fields, SetUserMFAPreference via token — 714 tests total, all passing
[1.1.7] — 2026-03-30
Added
- Athena engine control — new
ATHENA_ENGINEenv var (auto|duckdb|mock) to select the SQL backend at startup;autokeeps existing behaviour (DuckDB if installed, mock otherwise). New/_ministack/configendpoint acceptsPOST {"athena.ATHENA_ENGINE": "mock"}to switch engines at runtime without restart — useful in CI to force mock mode without DuckDB installed. - VPC gap coverage — 6 new EC2 resource types, 22 new actions, 11 new tests
- NAT Gateways:
CreateNatGateway,DescribeNatGateways,DeleteNatGateway— supportsSubnetId,ConnectivityType(public/private), state transitions,vpc-id/subnet-id/statefilters - Network ACLs:
CreateNetworkAcl,DescribeNetworkAcls,DeleteNetworkAcl,CreateNetworkAclEntry,DeleteNetworkAclEntry,ReplaceNetworkAclEntry,ReplaceNetworkAclAssociation— full CRUD with rule entries and subnet associations - Flow Logs:
CreateFlowLogs,DescribeFlowLogs,DeleteFlowLogs— supports VPC/subnet/ENI resource targets, CloudWatch Logs and S3 destinations,resource-idfilter - VPC Peering:
CreateVpcPeeringConnection,AcceptVpcPeeringConnection,DescribeVpcPeeringConnections,DeleteVpcPeeringConnection— full lifecycle frompending-acceptance→active→deleted, cross-account/cross-region params accepted - DHCP Options:
CreateDhcpOptions,AssociateDhcpOptions,DescribeDhcpOptions,DeleteDhcpOptions— arbitrary key/value configurations, association updatesVpcId.DhcpOptionsId - Egress-Only Internet Gateways:
CreateEgressOnlyInternetGateway,DescribeEgressOnlyInternetGateways,DeleteEgressOnlyInternetGateway— IPv6 egress-only IGW for VPCs. Contributed by @mickabd
- NAT Gateways:
Fixed
- SQS
awsQueryCompatibleheader — all SQS JSON error responses now include thex-amzn-query-error: <legacy_code>;<fault>header required by theawsQueryCompatibleservice trait. botocore reads this header and overridesError.Codewith the legacyAWS.SimpleQueueService.*namespaced code (e.g.AWS.SimpleQueueService.NonExistentQueueinstead ofQueueDoesNotExist). Without this header, any SDK code that matched against the legacy string worked against real AWS but silently failed against MiniStack. Full mapping of all 28 SQS error shapes sourced fromaws-sdk-goErrCode constants. Contributed by @jespinoza-shippo.
Tests
- 708 integration tests — all passing
[1.1.6] — 2026-03-30
Fixed
- XML error responses — added
<Type>Sender</Type>(4xx) /<Type>Receiver</Type>(5xx) to all XML error responses insqs.pyandcore/responses.py(used by S3, SNS, IAM, STS, CloudWatch). botocore requires this element to populate typed exception classes (e.g.client.exceptions.QueueDoesNotExist). Without it, botocore fell back to genericClientErroreven when the errorCodewas correct.
Tests
- 694 integration tests — all passing
[1.1.5] — 2026-03-30
Fixed
- API Gateway v1 —
createdDate/lastUpdatedDatefields now returned as Unix timestamps (integers) instead of ISO strings. Terraform AWS provider v4+ deserializes these as JSON Numbers and raisedexpected Timestamp to be a JSON Number, got string insteadonCreateRestApi. - API Gateway v2 — same fix applied to
createdDate/lastUpdatedDateon APIs and stages. - S3 virtual-hosted style — host pattern now also matches
{bucket}.s3.localhost[:{port}]in addition to{bucket}.localhost[:{port}]. Terraform AWS provider v4+ uses the.s3.subdomain whenforce_path_style = false. - CloudWatch Logs
ListTagsForResource— ARN lookup now accepts botharn:...:log-group:{name}andarn:...:log-group:{name}:*. Terraform passes the ARN without the trailing:*that MiniStack appends internally, causingResourceNotFoundException. - SQS
SendMessageBatch— now rejects batches with more than 10 entries withAWS.SimpleQueueService.TooManyEntriesInBatchRequest, matching real AWS behaviour. Previously MiniStack silently accepted oversized batches. - DynamoDB
BatchWriteItem— now includesConsumedCapacityas a list in the response whenReturnConsumedCapacityis set toTOTALorINDEXES. Previously the field was absent entirely.
Tests
- 5 regression tests added (one per fix above) — 693 integration tests total, all passing
[1.1.4] — 2026-03-30
Added
- Amazon ELBv2 / ALB (
ministack/services/alb.py) — full control plane + data plane- Load Balancers:
CreateLoadBalancer,DescribeLoadBalancers,DeleteLoadBalancer,DescribeLoadBalancerAttributes,ModifyLoadBalancerAttributes - Target Groups:
CreateTargetGroup,DescribeTargetGroups,ModifyTargetGroup,DeleteTargetGroup,DescribeTargetGroupAttributes,ModifyTargetGroupAttributes - Listeners:
CreateListener,DescribeListeners,ModifyListener,DeleteListener - Rules:
CreateRule,DescribeRules,ModifyRule,DeleteRule,SetRulePriorities - Targets:
RegisterTargets,DeregisterTargets,DescribeTargetHealth - Tags:
AddTags,RemoveTags,DescribeTags - Data plane — ALB→Lambda live traffic routing
- Incoming HTTP requests matched against configured listener rules (priority order)
- Rule conditions supported:
path-pattern,host-header,http-method,query-string,http-header(fnmatch glob matching) - Actions supported:
forward(to target group),fixed-response,redirect(301/302 with#{host}/#{path}/#{port}substitution) TargetType=lambdatarget groups: builds ALB event payload (httpMethod, path, queryStringParameters, multiValueQueryStringParameters, headers, multiValueHeaders, body, isBase64Encoded, requestContext.elb) and invokes Lambda via the in-process Lambda runtime; translates Lambda response (statusCode, headers, multiValueHeaders, body, isBase64Encoded) back to HTTP- Two addressing modes — no DNS or
/etc/hostschanges required for local testing:- Host-header:
Host: {lb-name}.alb.localhost[:{port}]or the ALB's exactDNSName - Path prefix:
/_alb/{lb-name}/path(rewrites path before rule evaluation)
- Host-header:
- Query/XML protocol via
Action=parameter; credential scopeelasticloadbalancing - 10 control-plane integration tests + 7 data-plane integration tests
- Load Balancers:
Tests
- 688 integration tests — all passing
[1.1.3] — 2026-03-30
Added
Amazon EBS (Elastic Block Store) — added to the EC2 Query/XML service handler
- Volumes:
CreateVolume,DeleteVolume,DescribeVolumes,DescribeVolumeStatus,AttachVolume,DetachVolume,ModifyVolume,DescribeVolumesModifications,EnableVolumeIO,ModifyVolumeAttribute,DescribeVolumeAttribute - Snapshots:
CreateSnapshot,DeleteSnapshot,DescribeSnapshots,CopySnapshot,ModifySnapshotAttribute,DescribeSnapshotAttribute - All three volume types supported (gp2/gp3/io1/io2/st1/sc1)
- Attach/Detach updates volume state (available ↔ in-use)
- ModifyVolume returns
completedimmediately - Snapshots store as
completed(emulator — no real EBS) - Pro-only on LocalStack — free here
- 8 integration tests
- Volumes:
Amazon EFS (Elastic File System) — new service (
ministack/services/efs.py)- REST/JSON protocol via
/2015-02-01/*paths, credential scopeelasticfilesystem - File Systems:
CreateFileSystem,DescribeFileSystems,DeleteFileSystem,UpdateFileSystem— CreationToken idempotency enforced - Mount Targets:
CreateMountTarget,DescribeMountTargets,DeleteMountTarget,DescribeMountTargetSecurityGroups,ModifyMountTargetSecurityGroups - Access Points:
CreateAccessPoint,DescribeAccessPoints,DeleteAccessPoint - Tags:
TagResource,UntagResource,ListTagsForResource - Lifecycle:
PutLifecycleConfiguration,DescribeLifecycleConfiguration - Backup Policy:
PutBackupPolicy,DescribeBackupPolicy - Account:
DescribeAccountPreferences,PutAccountPreferences - FileSystem with active mount targets blocks deletion (
FileSystemInUse) - Pro-only on LocalStack — free here
- 10 integration tests
- REST/JSON protocol via
Tests
- 671 integration tests — all passing (672 - 1 flaky Docker ECS test)
[1.1.2] — 2026-03-29
Added
- Amazon EMR (
ministack/services/emr.py) — full control plane emulation (no real Spark/Hadoop)- Clusters:
RunJobFlow,DescribeCluster,ListClusters,TerminateJobFlows,ModifyCluster,SetTerminationProtection,SetVisibleToAllUsers - Steps:
AddJobFlowSteps,DescribeStep,ListSteps,CancelSteps— steps stored as COMPLETED immediately (emulator behaviour) - Instance Fleets:
AddInstanceFleet,ListInstanceFleets,ModifyInstanceFleet - Instance Groups:
AddInstanceGroups,ListInstanceGroups,ModifyInstanceGroups - Bootstrap Actions:
ListBootstrapActions - Tags:
AddTags,RemoveTags - Block Public Access:
GetBlockPublicAccessConfiguration,PutBlockPublicAccessConfiguration - All three instance config modes: simple (
MasterInstanceType/SlaveInstanceType/InstanceCount),InstanceGroups,InstanceFleets KeepJobFlowAliveWhenNoSteps=True→WAITING;False→TERMINATEDTerminationProtected=TrueraisesValidationExceptiononTerminateJobFlows- JSON protocol via
X-Amz-Target: ElasticMapReduce.{Op}, credential scopeelasticmapreduce - Pro-only on LocalStack — free in MiniStack
- 12 integration tests
- Clusters:
Tests
- 656 integration tests — all passing
[1.1.1] — 2026-03-29
Added
- Amazon EC2 (
ministack/services/ec2.py) — full API-level emulation (no real VMs)- Instances:
RunInstances,DescribeInstances,TerminateInstances,StopInstances,StartInstances,RebootInstances - Images:
DescribeImages— returns 3 stub AMIs (Amazon Linux 2, Ubuntu 22.04, Windows Server 2022) - Security Groups:
CreateSecurityGroup,DeleteSecurityGroup,DescribeSecurityGroups,AuthorizeSecurityGroupIngress,RevokeSecurityGroupIngress,AuthorizeSecurityGroupEgress,RevokeSecurityGroupEgress - Key Pairs:
CreateKeyPair,DeleteKeyPair,DescribeKeyPairs,ImportKeyPair - VPC:
CreateVpc,DeleteVpc,DescribeVpcs,ModifyVpcAttribute— default VPC pre-created - Subnets:
CreateSubnet,DeleteSubnet,DescribeSubnets,ModifySubnetAttribute— default subnet pre-created - Internet Gateways:
CreateInternetGateway,DeleteInternetGateway,DescribeInternetGateways,AttachInternetGateway,DetachInternetGateway - Route Tables:
CreateRouteTable,DeleteRouteTable,DescribeRouteTables,AssociateRouteTable,DisassociateRouteTable,CreateRoute,ReplaceRoute,DeleteRoute— default route table pre-created for default VPC - Network Interfaces (ENI):
CreateNetworkInterface,DeleteNetworkInterface,DescribeNetworkInterfaces,AttachNetworkInterface,DetachNetworkInterface— full botocore-compliant response shape (availabilityZone,sourceDestCheck,interfaceType,privateIpAddressesSet) - VPC Endpoints:
CreateVpcEndpoint,DeleteVpcEndpoints,DescribeVpcEndpoints— Gateway and Interface types;routeTableIdSet/subnetIdSetserialized correctly - Availability Zones:
DescribeAvailabilityZones - Elastic IPs:
AllocateAddress,ReleaseAddress,AssociateAddress,DisassociateAddress,DescribeAddresses - Tags:
CreateTags,DeleteTags,DescribeTags - Default VPC, subnet, security group, internet gateway, and route table always present
- Rules stored but not enforced (matches LocalStack behaviour)
- 26 integration tests
- Instances:
- Step Functions Activities — full worker-based activity task pattern
CreateActivity,DeleteActivity,DescribeActivity,ListActivities— full CRUDGetActivityTask— async long-poll (up to 60 s) returningtaskToken+inputto worker; non-blocking (usesasyncio.sleep— does not stall the event loop)- Activity Task state execution — when a Task state's
Resourceis an activity ARN, the execution enqueues the task and waits for a worker to callSendTaskSuccessorSendTaskFailure ActivityAlreadyExistsraised on duplicateCreateActivity(matches AWS behaviour — not idempotent)ActivityDoesNotExistraised onDeleteActivity,DescribeActivity,GetActivityTaskfor unknown ARN- Activity ARN format:
arn:aws:states:{region}:{account}:activity:{name} - 5 integration tests: CRUD, list, duplicate-name error, worker success flow, worker failure flow
Tests
- 644 integration tests — all passing
[1.1.0] — 2026-03-28
Added
- Amazon Cognito (
ministack/services/cognito.py) — full User Pool and Identity Pool emulation- User Pools (cognito-idp): CreateUserPool, DeleteUserPool, DescribeUserPool, ListUserPools, UpdateUserPool
- User Pool Clients: CreateUserPoolClient, DeleteUserPoolClient, DescribeUserPoolClient, ListUserPoolClients, UpdateUserPoolClient
- User management: AdminCreateUser, AdminDeleteUser, AdminGetUser, ListUsers (with filter support:
=,^=,!=), AdminSetUserPassword, AdminUpdateUserAttributes, AdminConfirmSignUp, AdminDisableUser, AdminEnableUser, AdminResetUserPassword, AdminUserGlobalSignOut - Auth flows: AdminInitiateAuth, AdminRespondToAuthChallenge, InitiateAuth, RespondToAuthChallenge — ADMIN_USER_PASSWORD_AUTH, ADMIN_NO_SRP_AUTH, USER_PASSWORD_AUTH, REFRESH_TOKEN_AUTH / REFRESH_TOKEN (both accepted), USER_SRP_AUTH (returns PASSWORD_VERIFIER challenge); FORCE_CHANGE_PASSWORD challenge on first login
- Self-service: SignUp (always UNCONFIRMED — AutoVerifiedAttributes verifies the attribute, not the account), ConfirmSignUp, ForgotPassword, ConfirmForgotPassword, ChangePassword (decodes access token and updates stored password), GetUser, UpdateUserAttributes, DeleteUser, GlobalSignOut, RevokeToken
- Groups: CreateGroup, DeleteGroup, GetGroup, ListGroups, ListUsersInGroup, AdminAddUserToGroup, AdminRemoveUserFromGroup, AdminListGroupsForUser, AdminListUserAuthEvents
- Domain: CreateUserPoolDomain, DeleteUserPoolDomain, DescribeUserPoolDomain
- MFA: GetUserPoolMfaConfig, SetUserPoolMfaConfig, AssociateSoftwareToken, VerifySoftwareToken
- Tags: TagResource, UntagResource, ListTagsForResource
- Identity Pools (cognito-identity): CreateIdentityPool, DeleteIdentityPool, DescribeIdentityPool, ListIdentityPools, UpdateIdentityPool, GetId, GetCredentialsForIdentity, GetOpenIdToken, SetIdentityPoolRoles, GetIdentityPoolRoles, ListIdentities, DescribeIdentity, MergeDeveloperIdentities, UnlinkDeveloperIdentity, UnlinkIdentity, TagResource, UntagResource, ListTagsForResource
- OAuth2:
POST /oauth2/token— client_credentials flow; returns stub Bearer token - Stub JWT tokens: structurally valid base64url JWTs (non-cryptographic); IDP pool ARN format
arn:aws:cognito-idp:region:account:userpool/{id}; Identity pool ID formatregion:{uuid} _user_from_tokenshared helper — decodes stub JWT payload to find user bysub, used by GetUser, UpdateUserAttributes, DeleteUser, ChangePassword, and REFRESH_TOKEN_AUTH- Wired into router, SERVICE_HANDLERS, SERVICE_NAME_ALIASES,
_reset_all_state(), and both credential scopes (cognito-idp,cognito-identity) - 43 integration tests covering full CRUD lifecycle for User Pools, Pool Clients, Users, Auth flows, Refresh tokens, Groups, Domains, MFA, Tags, and Identity Pools
Changed
- Package restructure: all source code moved into
ministack/package (ministack/app.py,ministack/core/,ministack/services/) — fixespip install ministackentrypoint crash (app:mainwas unresolvable becauseapp.pywas not included in the wheel) - Entrypoint:
ministack = "app:main"→ministack = "ministack.app:main" - ASGI module:
app:app→ministack.app:appin Dockerfile and CI - PyPI trusted publishing: OIDC workflow added (
pypi-publish.yml) — no API token needed, publishes onv*.*.*tag push
Fixed
- Lambda
GetFunctionConcurrency: returns{}instead of 404 afterDeleteFunctionConcurrency— matches AWS behaviour where an unset concurrency limit returns an empty response - Cognito
GetCredentialsForIdentity: response field isSecretKey(correct boto3 wire name) — was incorrectly namedSecretAccessKey - ElastiCache
ModifyCacheParameterGroup/ResetCacheParameterGroup: parameter list key wasParameterNameValues.member.{n}.*— corrected toParameterNameValues.ParameterNameValue.{n}.*matching actual boto3 Query API serialisation - RDS / ElastiCache / ECS
reset():container.remove()→container.remove(v=True)— Docker volumes created by stopped containers are now removed along with the container, preventing anonymous volume accumulation across test runs - RDS
containers.run(): addedtmpfsmount for/var/lib/postgresql/dataand/var/lib/mysql— postgres/mysql data lives in container RAM; no anonymous Docker volumes created per instance - Docker Compose: added
build: .sodocker compose up --builduses local source instead of always pulling from Docker Hub
Infrastructure
Makefilepurgetarget: kills all containers labelledministack, prunes dangling volumes, and clears./data/s3/— safe to run alongside other projects (filter is label-scoped, not image-scoped)
Tests
- 3 package structure tests:
test_package_core_importable,test_package_services_importable,test_app_asgi_callable - Merged all 97 tests from
test_qa_comprehensive.pyintotest_services.py— single test file,test_qa_comprehensive.pydeleted - Fixed
test_cognito_get_id_and_credentials:SecretAccessKey→SecretKey - Fixed
test_apigwv1_usage_plan_key_crud:Name/Enabled→name/enabled(boto3 lowercase params) - Fixed
test_lambda_reset_terminates_workers: timeout 5 s → 15 s with 3-attempt retry - Fixed
test_rds_snapshot_crud/test_rds_deletion_protection: addedfinallycleanup so RDS containers are deleted after each test - 613 integration tests — all passing against Docker image (618 as of v1.1.1)
[1.0.8] — 2026-03-28
Added
- Amazon Route53 (
services/route53.py) — full hosted zone and DNS record management- Hosted zones:
CreateHostedZone,GetHostedZone,DeleteHostedZone,ListHostedZones,ListHostedZonesByName,UpdateHostedZoneComment - Record sets:
ChangeResourceRecordSets(CREATE / UPSERT / DELETE, atomic batch),ListResourceRecordSets - Changes:
GetChange— changes are immediatelyINSYNC - Health checks:
CreateHealthCheck,GetHealthCheck,DeleteHealthCheck,ListHealthChecks,UpdateHealthCheck - Tags:
ChangeTagsForResource,ListTagsForResource(hostedzone and healthcheck resource types) - REST/XML protocol with namespace
https://route53.amazonaws.com/doc/2013-04-01/; credential scoperoute53 - SOA + NS records auto-created on zone creation with 4 default AWS nameservers
CallerReferenceidempotency forCreateHostedZoneandCreateHealthCheck- Alias records (AliasTarget), weighted, failover, latency, geolocation, multi-value routing attributes stored and returned
- Zone ID format
/hostedzone/Z{13chars}, Change ID/change/C{13chars} - Marker-based pagination for
ListHostedZonesandListHealthChecks; name/type pagination forListResourceRecordSets - 16 integration tests
- Hosted zones:
- Non-ASCII / Unicode support — seamless end-to-end handling of UTF-8 content across all services
- Inbound header values decoded as UTF-8 (with latin-1 fallback) so
x-amz-meta-*fields containing non-ASCII are stored correctly - Outbound header encoding falls back to UTF-8 when a value cannot be encoded as latin-1 — prevents
UnicodeEncodeErroronContent-Dispositionor metadata round-trips - All JSON responses use
ensure_ascii=False— raw UTF-8 characters in DynamoDB items, SQS messages, Secrets Manager values, SSM parameters, and Lambda payloads are returned as-is rather than\uXXXXescaped - 7 integration tests covering S3 keys, S3 metadata, DynamoDB, SQS, Secrets Manager, SSM, and Route53 zone comments
- Inbound header values decoded as UTF-8 (with latin-1 fallback) so
Fixed
DynamoDB TTL reaper thread-safety: the background reaper thread now holds
_lockwhile scanning and deleting expired items — eliminates a race condition with concurrent request handlers that could corrupt table state or crash the reaper under loadS3
PutObject/CreateBucketspuriousContent-Type: these operations no longer returnContent-Type: application/xmlon success (AWS returns no Content-Type for empty 200 bodies) — prevents SDK response-parsing warningsS3
DeleteObjectdelete-marker header: non-versioned buckets now return an empty 204 with no extra headers; versioned/suspended buckets returnx-amz-delete-marker: true— previously all buckets unconditionally returnedx-amz-delete-marker: falseCloudWatch Logs
FilterLogEventspattern matching: upgraded from plain substring search to proper CloudWatch filter syntax — supports*/?glob wildcards, multi-term AND (TERM1 TERM2), term exclusion (-TERM), and JSON-style patterns (matched as pass-all); previously only exact substring matches workedJSON responses
ensure_ascii: all JSON service responses now useensure_ascii=Falseso non-ASCII strings (Cyrillic, CJK, Arabic, etc.) are returned as raw UTF-8 rather than\uXXXXescape sequences — matches real AWS behaviourInbound header UTF-8 decoding: request header values are now decoded as UTF-8 with latin-1 fallback —
x-amz-meta-*headers containing multi-byte characters are stored and round-tripped correctlyOutbound header UTF-8 encoding: response headers that cannot be encoded as latin-1 (e.g. metadata containing non-ASCII) now fall back to UTF-8 encoding instead of raising
UnicodeEncodeErrorAPI Gateway v2 / v1 Lambda response encoding: Lambda invocation response bodies serialised via
json.dumpsnow useensure_ascii=Falseand explicitutf-8encoding — non-ASCII characters in Lambda responses are preserved end-to-endDynamoDB
Querypagination on hash-only tables:_apply_exclusive_start_keywas returning[]for any table without a sort key (sk_name=None) becausenot sk_nameshort-circuited to an empty-result path — hash-only tables now paginate correctly by resuming after the matching partition key value (validated against botocoredynamodbservice model)SQS
DeleteMessageBatchsilent success on invalid receipt handle: both the found and not-found branches were appending toSuccessful(copy-paste error) — an unmatchedReceiptHandlenow correctly populates theFailedlist withReceiptHandleIsInvalid(validated against botocoreBatchResultErrorEntryshape)SNS→Lambda
EventSubscriptionArnhardcoded suffix: the SNS-to-Lambda fanout envelope was settingEventSubscriptionArnto"{topic_arn}:subscription"instead of the actual subscription ARN — Lambda functions inspectingevent['Records'][0]['EventSubscriptionArn']now receive the correct valueLambda error codes: internal path-routing fallbacks now use
InvalidParameterValueException(400) for missing function name andResourceNotFoundException(404) for unrecognised paths — previously both used the non-existentInvalidRequestcode which is absent from the botocore Lambda modelLambda worker reset:
core/lambda_runtime.reset()was callingworker.proc.terminate()(typo) instead ofworker._proc.terminate()— theAttributeErrorwas silently swallowed, leaving orphaned worker subprocesses after/_ministack/resetStep Functions → Lambda async invocation:
stepfunctions._call_lambdawas callinglambda_svc._invokesynchronously —_invokeisasync, so it returned a coroutine object instead of executing; Task states invoking Lambda now useasyncio.run()to execute the coroutine from the background threadEventBridge → Lambda async invocation: same bug in
eventbridge._dispatch_to_lambda— fixed withasyncio.run()make runDocker socket mount: added-v /var/run/docker.sock:/var/run/docker.sockso ECSRunTaskworks when running viamake run
Tests
- 4 regression tests added, one per botocore-confirmed bug:
test_ddb_query_pagination_hash_only,test_sqs_batch_delete_invalid_receipt_handle,test_sns_to_lambda_event_subscription_arn,test_lambda_unknown_path_returns_404 - 2 regression tests for runtime fixes:
test_lambda_reset_terminates_workers,test_sfn_integration_lambda_invoke - 479 integration tests — all passing, including against Docker image
[1.0.7] — 2026-03-27
Added
- Amazon Data Firehose (
services/firehose.py) — full control and data planeCreateDeliveryStream,DeleteDeliveryStream,DescribeDeliveryStream,ListDeliveryStreamsPutRecord,PutRecordBatch— base64-encoded record ingestion; S3-destination streams write records synchronously to the local S3 emulatorUpdateDestination— concurrency-safe viaCurrentDeliveryStreamVersionId/VersionIdTagDeliveryStream,UntagDeliveryStream,ListTagsForDeliveryStreamStartDeliveryStreamEncryption,StopDeliveryStreamEncryption- Destination types:
ExtendedS3,S3(deprecated alias),HttpEndpoint,Redshift,OpenSearch,Splunk,Snowflake,Iceberg - Credential scope:
kinesis-firehose; target prefix:Firehose_20150804 - AWS-compliant
DescribeDeliveryStreamresponse:EncryptionConfigurationalways present inExtendedS3DestinationDescription(defaultNoEncryption);DeliveryStreamEncryptionConfigurationonly included when encryption is configured;Sourceblock populated forKinesisStreamAsSourcestreams UpdateDestinationmerges fields when destination type is unchanged; replaces fully on type change — matching AWS behaviour- 16 integration tests, all passing
- Virtual-hosted style S3:
{bucket}.localhost[:{port}]host header routing — requests are rewritten to path-style and forwarded to the S3 handler; compatible with AWS SDK virtual-hosted endpoint configuration
Fixed
- DynamoDB expression evaluator short-circuit bug:
OR/ANDoperators inConditionExpressionandFilterExpressionnow always consume both operands' tokens before applying the logical result — Python's boolean short-circuit was skipping right-hand token consumption when the left operand was already truthy/falsy, causingInvalid expression: Expected RPAREN, got NAME_REFon expressions likeattribute_not_exists(#0) OR #1 <= :0(reported by PynamoDB users with numericExpressionAttributeNameskeys)
[1.0.6] — 2026-03-27
Added
- API Gateway REST API v1 (
services/apigateway_v1.py) — complete control plane and data plane- Full resource tree:
CreateRestApi,GetRestApi,GetRestApis,UpdateRestApi,DeleteRestApi - Resources:
CreateResource,GetResource,GetResources,UpdateResource,DeleteResource - Methods:
PutMethod,GetMethod,DeleteMethod,UpdateMethod - Method responses:
PutMethodResponse,GetMethodResponse,DeleteMethodResponse - Integrations:
PutIntegration,GetIntegration,DeleteIntegration,UpdateIntegration - Integration responses:
PutIntegrationResponse,GetIntegrationResponse,DeleteIntegrationResponse - Stages:
CreateStage,GetStage,GetStages,UpdateStage,DeleteStage - Deployments:
CreateDeployment,GetDeployment,GetDeployments,UpdateDeployment,DeleteDeployment - Authorizers:
CreateAuthorizer,GetAuthorizer,GetAuthorizers,UpdateAuthorizer,DeleteAuthorizer - Models:
CreateModel,GetModel,GetModels,DeleteModel - API keys:
CreateApiKey,GetApiKey,GetApiKeys,UpdateApiKey,DeleteApiKey - Usage plans:
CreateUsagePlan,GetUsagePlan,GetUsagePlans,UpdateUsagePlan,DeleteUsagePlan,CreateUsagePlanKey,GetUsagePlanKeys,DeleteUsagePlanKey - Domain names:
CreateDomainName,GetDomainName,GetDomainNames,DeleteDomainName - Base path mappings:
CreateBasePathMapping,GetBasePathMapping,GetBasePathMappings,DeleteBasePathMapping - Tags:
TagResource,UntagResource,GetTags - Data plane: execute-api requests routed by host header (
{apiId}.execute-api.localhost) - Lambda proxy format 1.0 (AWS_PROXY) — full
requestContextwithrequestTime,requestTimeEpoch,path,protocol,multiValueHeaders; supports both apigateway URI form and plainarn:aws:lambda:ARN - HTTP proxy (HTTP_PROXY) forwarding to arbitrary HTTP backends
- MOCK integration — selects response by
selectionPattern, appliesresponseParametersto HTTP response headers, returnsresponseTemplatesbody - Resource tree path matching with
{param}placeholders and{proxy+}greedy segments - JSON Patch support for all
PATCHoperations (patchOperations) CreateDeploymentpopulatesapiSummaryfrom all configured resources and methods- All timestamps (
createdDate,lastUpdatedDate) returned as ISO 8601 strings — boto3 parses them asdatetimeobjects - Error responses use
typefield matching AWS API Gateway v1 format - State persistence via
get_state()/load_persisted_state() - v1 and v2 APIs coexist on the same port without conflict
- Full resource tree:
- 434 integration tests — all passing, including against Docker image
[1.0.5] — 2026-03-26
Fixed
- DynamoDB
UpdateItemcondition expression on missing item:ConditionExpressionsuch asattribute_exists(...)now correctly evaluates against the existing stored item (or empty if missing) — was incorrectly evaluating against the in-progress mutation, causingConditionalCheckFailedExceptionto never fire on missing items - DynamoDB key schema validation:
GetItem,DeleteItem,UpdateItem,BatchWriteItem,BatchGetItemnow validate that supplied key attributes match the table schema in name and type — returnsValidationException: The provided key element does not match the schema - ESM visibility timeout: SQS → Lambda event source mapping now respects the queue's configured
VisibilityTimeoutinstead of hardcoding 30 s — prevents retry storms and duplicate deliveries when Lambda fails - Lambda stdout/stderr separation: handler logs now go to stderr, response payload to stdout — matches AWS Lambda runtime contract; fixes log pollution in response payloads
- Lambda timeout error:
subprocess.TimeoutExpiredpath now captures and returns stdout/stderr in the error log instead of returning an empty string - ECS
_maybe_mark_stoppedcontainer status: callscontainer.reload()before checking status to get live state from Docker — was reading stale cached status - ECS
stoppedAt/stoppingAttimestamps: now stored as ISO 8601 strings matching AWS ECS API format — was storing Unix epoch float - ECS cluster task count:
_recount_cluster()now recomputes running/pending counts from all tasks instead of decrementing — prevents count drift on concurrent task terminations - Step Functions service integrations: Task state now dispatches to real MiniStack services via
arn:aws:states:::resource URIs —sqs:sendMessage,sns:publish,dynamodb:putItem,dynamodb:getItem,dynamodb:deleteItem,dynamodb:updateItem,ecs:runTask,ecs:runTask.sync— was returning input passthrough instead of invoking the service - 392 integration tests — all passing, including against Docker image
[1.0.4] — 2026-03-26
Fixed
- SQS queue URL host/port:
QueueUrlvalues now readMINISTACK_HOSTandGATEWAY_PORTenv vars instead of hardcodinglocalhost:4566— fixes queue URLs when running behind a custom hostname or port - 379 integration tests — all passing, including against Docker image
[1.0.3] — 2026-03-25
Fixed
- Test port portability: execute-api test URLs now read port from
MINISTACK_ENDPOINTenv var instead of hardcoding 4566 — fixes all execute-api tests when running against Docker on a non-default port - API Gateway Authorizers:
CreateAuthorizer,GetAuthorizer,GetAuthorizers,UpdateAuthorizer,DeleteAuthorizer— full CRUD for JWT and Lambda authorizers; state included in persistence snapshot - API Gateway
{proxy+}greedy path matching:_path_matchesnow handles{param+}placeholders matching multiple path segments (e.g./files/{proxy+}matches/files/a/b/c) - API Gateway
routeKeyin Lambda event: Lambda proxy eventrouteKeynow reflects the matched route key (e.g."GET /ping") instead of always being"$default" - API Gateway Authorizer
identitySourcecompliance: field now stored and returned as array of strings (["$request.header.Authorization"]) matching AWS spec — was incorrectly a single string - Lambda
DeleteFunctionUrlConfigresponse: now returns 204 with empty body (was returning 204 with{}body, causingRemoteDisconnectedin boto3) - 377 integration tests — all passing, including against Docker image
[1.0.2] — 2026-03-25
Added
API Gateway HTTP API v2 (completing roadmap item)
- Full control plane: CreateApi, GetApi, GetApis, UpdateApi, DeleteApi
- Routes: CreateRoute, GetRoute, GetRoutes, UpdateRoute, DeleteRoute
- Integrations: CreateIntegration, GetIntegration, GetIntegrations, UpdateIntegration, DeleteIntegration
- Stages: CreateStage, GetStage, GetStages, UpdateStage, DeleteStage
- Deployments: CreateDeployment, GetDeployment, GetDeployments, DeleteDeployment
- Tags: TagResource, UntagResource, GetTags
- Data plane: execute-api requests routed by host header (
{apiId}.execute-api.localhost) - Lambda proxy (AWS_PROXY) invocation via API Gateway v2 payload format 2.0
- HTTP proxy (HTTP_PROXY) forwarding to arbitrary HTTP backends
- Route path parameter matching (
{param}placeholders in route keys) - State persistence support via
get_state()/load_persisted_state()
SNS → SQS Fanout (completing roadmap item)
- SNS subscriptions with
sqsprotocol deliver messages directly to SQS queues - Message envelope follows AWS SNS JSON notification format
- Fanout is synchronous within the same process
SQS → Lambda Event Source Mapping
CreateEventSourceMapping/DeleteEventSourceMapping/GetEventSourceMapping/ListEventSourceMappings/UpdateEventSourceMapping- Background poller delivers SQS messages to Lambda functions as batched events
- Configurable batch size and enabled/disabled state
Lambda Warm/Cold Start Worker Pool (core/lambda_runtime.py)
- Persistent Python subprocess per function — handler module imported once (cold start)
- Subsequent invocations reuse the warm worker without re-importing
- Worker respawns automatically on crash
- Accurately models AWS Lambda cold/warm start behavior
State Persistence Infrastructure (core/persistence.py)
PERSIST_STATE=1environment variable enables persistenceSTATE_DIRenvironment variable controls storage location (default/tmp/ministack-state)- Atomic file writes (write-to-tmp then rename) prevent corruption on crash
- API Gateway state persisted across container restarts
- Persistence framework ready for other services to adopt
Fixed
_path_matchesbug in API Gateway:re.escapewas applied before{param}substitution, causing all parameterised routes to never match. Fixed by splitting on{param}segments, escaping literal parts, then joining with[^/]+wildcards.execute-apicredential scope incore/router.pyincorrectly mapped tolambda; corrected toapigateway.
Infrastructure
app.py: API Gateway registered inSERVICE_HANDLERS, BANNER, andSERVICE_NAME_ALIASESapp.py: Execute-api data plane dispatched before normal service routing via host-header matchapp.py: Persistence load/save wired into ASGI lifespan startup/shutdowncore/router.py: API Gateway patterns added;/v2/apispath detection addedtests/conftest.py:apigwfixture added (apigatewayv2boto3 client)tests/test_services.py: fixed 4 tests that used hardcoded resource names and collided on repeated runs (test_kinesis_stream_encryption,test_kinesis_enhanced_monitoring,test_sfn_start_sync_execution,test_sfn_describe_state_machine_for_execution)tests/test_services.py: added 10 new tests covering previously untested paths — health endpoint, STSGetSessionToken, DynamoDB TTL enable/disable, Lambda warm start, API Gateway execute-api Lambda proxy,$defaultcatch-all route, path parameter matching, 404 on missing route, EventBridge → Lambda target dispatchtests/test_services.py: added 25 new tests covering all new operations introduced since v0.1.0 — KinesisSplitShard/MergeShards/UpdateShardCount/RegisterStreamConsumer/DeregisterStreamConsumer/ListStreamConsumers, SSMLabelParameterVersion/AddTagsToResource/RemoveTagsFromResource, CloudWatch Logs retention policy/subscription filters/metric filters/tag APIs/Insights, CloudWatch composite alarms/DescribeAlarmsForMetric/DescribeAlarmHistory, EventBridge archives/permissions, DynamoDBUpdateTable, S3 bucket versioning/encryption/lifecycle/CORS/ACL, AthenaUpdateWorkGroup/BatchGetNamedQuery/BatchGetQueryExecutionREADME.md: updated supported operations tables to reflect all new operations across all 21 services- 371 integration tests — all passing (up from 54 in v0.1.0)
Fixed (post-release patches)
- SNS → Lambda fanout:
protocol == "lambda"subscriptions now invoke the Lambda function via_execute_function()with a standardRecords[].Snsevent envelope (was a no-op stub) - DynamoDB TTL enforcement: background daemon thread (
dynamodb-ttl-reaper) now scans every 60 s and deletes items whose TTL attribute value is ≤ current epoch time - Lambda Function URLs:
CreateFunctionUrlConfig,GetFunctionUrlConfig,UpdateFunctionUrlConfig,DeleteFunctionUrlConfig,ListFunctionUrlConfigs— full CRUD, persisted in_function_urlsdict; was a 404 stub /_ministack/resetdisk cleanup: whenPERSIST_STATE=1, reset now also deletesSTATE_DIR/*.jsonandS3_DATA_DIRcontents so a subsequent restart does not reload old state- API Gateway
{proxy+}greedy path matching:_path_matchesnow handles{param+}placeholders matching multiple path segments (e.g./files/{proxy+}matches/files/a/b/c) - API Gateway
routeKeyin Lambda event: Lambda proxy eventrouteKeynow reflects the matched route key (e.g."GET /ping") instead of always being"$default" - API Gateway Authorizers:
CreateAuthorizer,GetAuthorizer,GetAuthorizers,UpdateAuthorizer,DeleteAuthorizer— full CRUD for JWT and Lambda authorizers; state included in persistence snapshot - Test idempotency: added
POST /_ministack/resetendpoint and session-scopedautousefixture so the test suite passes on repeated runs against the same server without restarting - API Gateway Authorizer
identitySourcecompliance: field now stored and returned as array of strings (["$request.header.Authorization"]) matching AWS spec — was incorrectly a single string - Lambda
DeleteFunctionUrlConfigresponse: now returns 204 with empty body (was returning 204 with{}body, causingRemoteDisconnectedin boto3) - Test port portability: execute-api test URLs now read port from
MINISTACK_ENDPOINTenv var instead of hardcoding 4566 — fixes all execute-api tests when running against Docker on a non-default port - 377 integration tests — all passing, including against Docker image
Roadmap Update
The following roadmap items from v0.1.0 are now completed:
- API Gateway (HTTP API v2) — full control and data plane delivered
- SNS → SQS fan-out delivery
- DynamoDB transactions (TransactWriteItems, TransactGetItems)
- S3 multipart upload
- SQS FIFO queues
- Step Functions ASL interpreter (Pass, Task, Choice, Wait, Succeed, Fail, Parallel, Map; Retry/Catch; waitForTaskToken)
[1.0.1] — 2024-03-24
Initial public release. Built as a free, open-source alternative to LocalStack.
Services Added
Core (9 services)
- S3 — CreateBucket, DeleteBucket, ListBuckets, HeadBucket, PutObject, GetObject, DeleteObject, HeadObject, CopyObject, ListObjects v1/v2, DeleteObjects (batch), optional disk persistence
- SQS — Full queue lifecycle, send/receive/delete, visibility timeout, batch operations, both Query API and JSON protocol
- SNS — Topics, subscriptions, publish
- DynamoDB — Tables, PutItem, GetItem, DeleteItem, UpdateItem, Query, Scan, BatchWriteItem, BatchGetItem
- Lambda — CRUD + actual Python function execution via subprocess
- IAM — Users, roles, policies, access keys
- STS — GetCallerIdentity, AssumeRole, GetSessionToken
- SecretsManager — Full secret lifecycle
- CloudWatch Logs — Log groups, streams, PutLogEvents, GetLogEvents, FilterLogEvents
Extended (6 services)
- SSM Parameter Store — PutParameter, GetParameter, GetParametersByPath, DeleteParameter
- EventBridge — Event buses, rules, targets, PutEvents
- Kinesis — Streams, shards, PutRecord, PutRecords, GetShardIterator, GetRecords
- CloudWatch Metrics — PutMetricData, GetMetricStatistics, ListMetrics, alarms
- SES — SendEmail, SendRawEmail, identity verification (emails stored, not sent)
- Step Functions — State machines, executions, history
Infrastructure (5 services)
- ECS — Clusters, task definitions, services, RunTask with real Docker container execution
- RDS — CreateDBInstance spins up real Postgres/MySQL Docker containers with actual endpoints
- ElastiCache — CreateCacheCluster spins up real Redis/Memcached Docker containers
- Glue — Full Data Catalog (databases, tables, partitions), crawlers, jobs with Python execution
- Athena — Real SQL execution via DuckDB, s3:// path rewriting to local files
Infrastructure
- Single ASGI app on port 4566 (LocalStack-compatible)
- Docker Compose with Redis sidecar
- Multi-arch Docker image (amd64 + arm64)
- GitHub Actions CI (test on every push/PR)
- GitHub Actions Docker publish (on tag)
- 54 integration tests, all passing
- MIT license
Roadmap
Planned
- ACM (certificate management)
- State persistence for Secrets Manager, SSM, DynamoDB (
PERSIST_STATE=1currently only covers API Gateway v1/v2)