Repository navigation
Releases
v0.134.0
The roadmap review (#1597) found gaps in the operations Terraform and CDK call most often. This release covers IaC hot paths across eight services, taking the routed-operation catalog from 1,128 to 1,223. Terraform's Route 53 waiter now completes. GitHub Actions and EKS IRSA can federate into roles. Lambda versions and aliases, EventBridge custom buses and Kinesis enhanced fan-out consumers are modelled. Terraform's aws_s3_bucket refresh no longer gets a 501.
Route 53 (#1705, #1586)
- GetChange answers the change IDs every create, delete and change call mints. A seed (
/v1/route53/change-status) reports PENDING for a set number of reads before INSYNC. - Other operations: ListHostedZonesByName, tags, health checks (status seeded via
/v1/route53/health-check-status, never computed), and UpdateHostedZoneComment. - #1586: ChangeResourceRecordSets is batch-atomic. A CREATE of an existing record, or a DELETE that is missing or has mismatched values, fails the whole batch with
InvalidChangeBatch. - Records: they are keyed by SetIdentifier. Names are reported lower-cased, octal-escaped (
\052for*) and with a trailing dot.
STS and IAM federation (#1700, #1706, #1711)
- Identity providers: IAM OIDC and SAML provider operations.
- Federated assume: AssumeRoleWithWebIdentity and AssumeRoleWithSAML check claims but not signatures.
- Checked: issuer, audience,
sub,exp/nbfagainst the simulated clock, the SAML entityID, audience and role pairing, and a trust policy that names the provider. - Signature rejection,
IDPRejectedClaimandIDPCommunicationErrorare seedable through/v1/sts/federation-outcome.
- Checked: issuer, audience,
- Session policies (
Policy/PolicyArns) narrow every assume. The narrowing applies in every authorization pass, in later CloudFormation stack operations and on replay. - Session tags and SourceIdentity: they need
sts:TagSession/sts:SetSourceIdentity, and they carry through role chaining. AssumeRole also enforces MaxSessionDuration. - IAM additions:
- ListEntitiesForPolicy;
- atomic UpdateUser/UpdateGroup renames that move every dependent record, whose sessions follow the user;
- login profiles;
- the listings Terraform's
force_destroymakes.
Lambda, EventBridge, Kinesis, Organizations
- Lambda (#1702):
- PublishVersion, honoured
Publish=true, aliases with deterministic weighted routing, and GetFunctionConfiguration. - Qualifiers resolve in Invoke, permissions and internal invokes.
- An ARN naming another account, or another Region, is refused.
- PublishVersion, honoured
- EventBridge (#1701, #1640):
- Event buses, with rules keyed per bus.
- Enable/DisableRule and bus policies.
- EventBridge implements the tagging provider.
- CloudFormation rules apply their Targets and can move buses.
- Kinesis (#1704, #1539): ListShards, enhanced fan-out consumers (seeded CREATING→ACTIVE), retention changes and UpdateMaxRecordSize.
- Organizations (#1627): Create and DeleteOrganization, and the trusted-service-access operations.
S3 and CloudWatch (#1703)
- S3 bucket configurations: website, logging, Transfer Acceleration, request-payment and replication are recorded and answered back, and never acted on.
- Unconfigured reads answer AWS's "not configured" document or error instead of 501.
- A bucket created with Object Lock reports it.
- Grantees render
xsi:type.
- CloudWatch: dashboards.
Provenance
These answers come from observed behaviour, because no API page publishes them. Each is cited next to its literal in the code:
- Route 53: "Tried to create resource record set […] but it already exists" and "…but it was not found", from an AWS Knowledge Center article, terraform-provider-aws#37806 and Stack Overflow 56960423.
- STS and IAM:
- The OIDC
EntityAlreadyExistsandNoSuchEntitywording. - The web-identity "No OpenIDConnect provider found", "Incorrect token audience" and "Token expired" messages.
- "Requested DurationSeconds exceeds MaxSessionDuration set for this role." and the SAML issuer and audience messages, from the IAM troubleshooting guide.
- "Duplicate tag keys found…", which is IAM's observed wording.
- The login-profile
DeleteConflictandNoSuchEntitytexts.
- The OIDC
- Lambda:
- "A version for this Lambda function exists ( N )…", from aws-cdk#14428 and serverless#8392.
- "Functions from '…' are not reachable in this region ('…')", answered as
ResourceNotFoundException, from Stack Overflow 48250426 and aws-sdk-cpp#332.
- EventBridge: "Rule X does not exist on EventBus Y.", "Event bus X does not exist.", "Event bus X already exists." and "EventBus can't be deleted since it has rules.". DeleteEventBus of the default bus answers
ValidationException, matching moto. - S3 and CloudWatch:
NoSuchWebsiteConfiguration,ReplicationConfigurationNotFoundErrorandObjectLockConfigurationNotFoundError(terraform-provider-aws#30646 and #7550).- The replication schema-version texts (ministack#2311, terraform-provider-aws#19323).
- The Object Lock versioning texts (terraform-aws-s3-bucket#90).
- "Dashboard X does not exist" (terraform-provider-aws#25548).
- Organizations: an explicit CreateOrganization enables no policy type at the root. That matches the Terraform provider's acceptance tests against AWS (
testAccOrganization_basic, v6.73.0), although the API reference says SCPs are enabled automatically.
Where nothing is published, the message is substrate's own, and the CHANGELOG says so.
Compatibility
- Authorization, presigned and SigV2 requests:
- A presigned URL, S3 POST-policy upload or SigV2 request is now authorized as its signer. Before, it was unenforced.
- With
VerifySignatureson, those credentials aren't verified yet, so they resolve no principal (#1713).
- Authorization, deleted principals: a key or session whose IAM user or role was deleted is refused with
AccessDenied. A deleted role's sessions stop working. - STS:
AssumeRolenow appliesPolicy/PolicyArns. An AWS managed policy that substrate doesn't bundle narrows the session to nothing (#1712).AssumeRolerefuses aDurationSecondsabove the role's MaxSessionDuration, and needssts:TagSession/sts:SetSourceIdentitywhen it passes tags or a source identity.
- IAM: DeleteUser refuses while a login profile, access keys or inline policies remain (
DeleteConflict). A trust-policy"AWS"principal never matches an OIDC or SAML provider. - Route 53:
- A CREATE of an existing record and a mismatched DELETE now fail the batch.
- Names come back lower-cased, escaped and dotted.
- Weighted records carry their own key.
- Lambda:
- ListVersionsByFunction lists published versions.
- A
Qualifiermust name an existing version or alias. - Another account's ARN answers
AccessDeniedException, and another Region's answersResourceNotFoundException, including on event source mappings and Scheduler targets.
- EventBridge:
- A rule on a custom bus has the ARN
rule/{bus}/{name}, and PutRule refuses a bus that doesn't exist. - Rule names are validated.
- A foreign-account or foreign-Region bus ARN answers
ResourceNotFoundException.
- A rule on a custom bus has the ARN
- Kinesis: DeleteStream refuses a stream with consumers unless
EnforceConsumerDeletionis true. CloudFormation sends it, which is substrate's reading. - Organizations: after DeleteOrganization, every call answers
AWSOrganizationsNotInUseExceptionuntil CreateOrganization. - S3: PutBucketVersioning
Suspendedis refused (InvalidBucketState) under Object Lock or replication. - Tooling: adding a routed operation needs
make wire-model-fetch, which uses the network. - Catalog: the routed-operation catalog grows from 1,128 to 1,223.
PRs: #1696, #1700, #1701, #1702, #1703, #1704, #1705, #1711. Issues: #1613, #1586, #1582, #1583, #1539, #1627, #1640, #1706. Follow-ups: #1690–#1695, #1697–#1699, #1707–#1710, #1712–#1714.
Compare: v0.133.0...v0.134.0
v0.133.0
Every plugin hand-writes its own input checks, pagination and error codes, and the roadmap review (#1597) found them thin and inconsistent. This release lays the foundation for a generated wire layer. Requests are now validated against AWS's own published service models before a plugin runs, starting with five pilot services. One shared cursor-pagination primitive replaces offset paging for ELB, RAM, CodePipeline, CloudFront and IAM.
Validation from AWS's models (#1612)
-
Vendored models: a pinned botocore 1.44.10 snapshot (70 models, 1,116 routed operations, about 356 KB gzipped) is vendored under
emulator/wiremodel/.cmd/gen-wire-modelturns it into constraint tables:-fetchruns by hand and-checkruns offline in CI.gen-scheduler-query-modelnow reads the snapshot instead of the AWS CLI's models.
-
The gate: one interpreter reads JSON, CBOR, Query, EC2, REST and XML requests. It runs after authorization, quota, consistency and fault injection, and only on top-level client requests, so internal dispatches from CloudFormation, Scheduler and the API Gateway proxy are not gated.
- Checked by default: required members, lengths and ranges.
- Opt-in per service: enums and patterns, turned on only where AWS's enforcement is cited.
-
Pilots: each answers in that service's own published code and form:
- ACM:
ValidationException - SESv2:
BadRequestException - Route 53:
InvalidInput - ElastiCache:
InvalidParameterValue - EC2 key pairs and placement groups:
MissingParameter
The plugins' own checks answer byte-for-byte what the gate does, so a stack's dispatch and a client request get the same answer.
- ACM:
-
Replay:
Event.ValidationModelrecords the snapshot a request was validated against. Replay runs the gate only for events that carry it, so recordings made before this release replay unchanged.
Cursor pagination (#1528, #1543, #1566, #1568)
- The primitive:
page[T]resumes strictly after the last item returned. Its tokens are opaque and bound to the operation and the filter members, so a create or delete between pages neither skips nor repeats a record. - #1528 (ELB): the five resource describes page on an ARN or name cursor.
- #1566 (RAM):
ListPrincipalsandListResourcespage on the entity. - #1543 (CodePipeline):
ListPipelinespages onmaxResultsandnextToken. - #1568 (CloudFront):
ListDistributionsandListOriginAccessControlspage onMarkerandMaxItems. - IAM: a
Markerthat IAM didn't issue is now refused, instead of quietly answering page one.
Provenance
Several validation message forms come from observed behaviour, not published pages. Each is cited next to its row in wire_validate_errors.go.
- ACM: "Value of the input at …", from spinifex#1181, ministack#2588, cdkd#5281 and aws-load-balancer-controller#4836.
- SESv2: "Value at …", from terraform-provider-aws#40591.
- Route 53: the quoted-value form, from terraform-provider-aws#37817, and the
tTLpath, from caddy-dns/route53#17. - ElastiCache: "The parameter X must be provided and must not be blank.", from Stack Overflow 64722305 and cloudposse#89.
- EC2: "The request must contain the parameter X", from AWS forums and packer#3799.
- Enum enforcement: cited from terraform-provider-aws#11677 for Route 53 and #38207 for SESv2.
Substrate's own wording, where nothing is published:
- SESv2's and Route 53's
Value null atform for a missing member; - ElastiCache's length messages;
Member must not be blank;- the pagination refusal messages.
Compatibility
- Validation in general: requests to ACM, SESv2, Route 53, ElastiCache and EC2's key-pair and placement-group operations that break a published constraint are now refused before the plugin runs. Turn the gate off with
wire.validate: false,SUBSTRATE_WIRE_VALIDATE=falseorWithoutWireValidation(). - Newly required members, by service. The CHANGELOG has the full generated list. Highlights:
- ElastiCache:
CreateCacheSubnetGrouprequiresSubnetIds;CreateCacheParameterGrouprequiresDescription;AddTagsToResourcerequiresTags.
- Route 53:
CreateHostedZonerequiresCallerReference;ChangeBatchmembers are required, and a recordTypeoutside the enum is refused.
- SESv2:
SendEmailrequiresContent.
- ElastiCache:
- Changed codes and messages:
- ACM
RequestCertificatewithoutDomainNameanswersValidationException, notInvalidParameterException. - ElastiCache and EC2 missing-parameter messages now use AWS's sentences.
- ACM
- ELB pagination: v2 describes list in ARN order and classic
DescribeLoadBalancersin name order. Earlier markers, and a marker from the other generation, are refused. - RAM pagination: lists come back in principal-ID or resource-ARN order. Earlier tokens, and tokens reused with different filters, are refused.
- CloudFront pagination: list responses carry
MarkerandMaxItems, and the default page is 100 items. FollowNextMarkerfor more. - IAM pagination: a malformed
MarkerisValidationError, orInvalidInputon the simulate operations. Tag listings'Markeris now base64 of the last key. - Contributors: routing a new operation now needs
make wire-model-fetch, which uses the network, orwire-model-checkfails naming it. - Catalog: the routed-operation catalog is unchanged at 1,128.
PRs: #1679, #1683, #1686. Issues: #1612, #1528, #1543, #1566, #1568. Follow-ups: #1677, #1680, #1681, #1682, #1684, #1687, #1688.
Compare: v0.132.0...v0.133.0
v0.132.0
The roadmap review (#1597) found that maintenance bloat was making substrate hard to change. This release is a codebase diet. It removes features that contradicted substrate's scope or did nothing, names files by what they do instead of by the release that added them, splits the 28,700-line service reference into a page per service, and stops comments and the CHANGELOG from narrating history. Emulated behaviour is unchanged, except for the replacement seeds and the tagging rules listed under Compatibility.
Removed, and what replaces it (#1611)
- Docker executors: the Docker Lambda executor (which ran function code in the RIE image) and the Docker Postgres container for RDS are gone. Substrate models API observations, not what runs inside a resource.
- Lambda seeds:
Invokeanswers a seeded error, a seeded result or the stub. The newPOST/DELETE /v1/lambda/invoke-resultseeds a successful payload. Seeds resolve in this order: exact error, exact result,"*"error,"*"result.functionNamemay be a qualified name or an ARN. - S3 seeded objects: spore.host's task-completion seed is replaced by the generic
POST/DELETE /v1/s3/seeded-objects.- A seeded object is what a GET, HEAD or copy of an unwritten key observes.
- It can be gated on
availableAtagainst the simulated clock. - It is served through the normal object path, so Range and preconditions apply.
- A later write or delete hides it.
ReplayCfg.RandomSeed: removed, along withReplayEngine.RandFloat64/RandInt64. Nothing outside tests used them.- Removed config keys: if a configuration still sets one, substrate prints a warning naming the key to stderr.
Structure (#1609)
-
File names: all 30 release-named files (
cfn_resources_v19.go…v131.goand others) are renamed or regrouped by domain, as pure moves: the declaration set is identical before and after. A guard test refuses release-named files from now on. -
Tagging: the Tagging plugin discovers optional per-service listing and tagging interfaces through the registry. CloudWatch, EC2 and S3 now list and tag their own resources under their own locks, and the rest keep the direct path for now (#1672).
-
Comments: comments describe the code as it is now. That is a CLAUDE.md rule, enforced by two new CI gates:
make comment-history-check, which checks the comment lines a PR adds;make doc-links-check, which refuses dangling[ident]doc links.
23 dangling links and several wrong claims are fixed, about 93 comments now point at the new docs pages, and the 22 heaviest files are trimmed. The remaining files are tracked in #1669.
Docs (#1610)
- Service reference: it is now one page per plugin plus six concept pages under
docs/reference/, indexed bydocs/services.md. The index carries the generated coverage matrix and sidebar. - Old links: all 908 old
/services#…anchors redirect in the browser to their new page. - Checks: the docs gates now check each page, every internal link and anchor (with VitePress's own heading slugs as a golden fixture), and the redirect map.
- Operation tables: they stay hand-written and asserted against the routed-operation catalog, with a
-scaffoldhelper. #1610 records why. - CHANGELOG: entries are now one line per issue, plus Compatibility bullets. The reasoning lives in each PR and issue.
Compatibility
- Go API: these are removed:
LambdaExecutor,NewLambdaExecutor,LambdaExecCfg,LambdaCfgandConfig.Lambda;RDSExecutor,NewRDSExecutor,RDSContainerHandle,RDSCfgandConfig.RDS;ReplayCfg.RandomSeed,ReplayConfig.RandomSeed,ReplayEngine.RandFloat64andReplayEngine.RandInt64;RDSPlugin.ResetForRun, so RDS is no longer aResettablePlugin.
- Config: these keys and their
SUBSTRATE_environment variables are removed, and are ignored with a warning:lambda.docker_enabled,lambda.replay_mode,lambda.warm_pool_ttl,rds.engineandreplay.random_seed. - Lambda and RDS:
Invokenever runs code. An RDS instance always reports its stub endpoint. - spore.host: an unseeded
tasks/<id>/completion.jsonis now404 NoSuchKey. Seed each record through/v1/s3/seeded-objects, for example{"bucket":"results","key":"tasks/t1/completion.json","contentType":"application/json","body":{"task_id":"t1","exit_code":0,"state":"completed"}}. - Replay:
/v1/spawn/task-completionis gone, so a recorded stream containing it replays that event as a 404. - Tagging API:
TagResourcesandUntagResourcesnow refuseaws:keys. They also hold EC2 and S3 resources to those services' key, value and 50-tag rules. On S3, a key beginningAWS:(any case other than lowercaseaws:) is now an ordinary tag, as it is on EC2. - Docs URLs: the service reference lives under
/reference/. Old/services#…links redirect, but update bookmarks. - Catalog: the routed-operation catalog is unchanged at 1,128.
PRs: #1668, #1667, #1670, #1673, #1671. Issues: #1609, #1610, #1611. Follow-ups: #1669, #1672, #1674.
Compare: v0.131.0...v0.132.0
v0.131.0
The 2026-11 roadmap review (#1597) found substrate falling short on IaC tools. CloudFormation accepted typos and unsupported types and quietly stubbed them, CDK couldn't bootstrap, and Terraform failed on 5 of 14 common resources. This release is about IaC conformance:
- CloudFormation validates templates the way AWS does, and refuses what substrate can't emulate.
cdk bootstrapandcdk deploywork.- Real Terraform and CDK runs execute in CI on every PR.
CloudFormation
- #1605 strict mode and
ValidateTemplate:- Vendored specification: the CloudFormation resource specification (v273.0.0, 2,129 types) is vendored, regenerated by
make cfn-schemaand drift-checked offline in CI. - Unrecognized types: refused at the request, in every mode.
- Types substrate doesn't emulate: refused by default. The message names each type and every opt-out.
- Extraneous properties: a property the type doesn't declare fails the resource, and the stack rolls back.
ValidateTemplate: answersParameters,Description,Capabilities(CAPABILITY_IAM/CAPABILITY_NAMED_IAM),CapabilitiesReasonandDeclaredTransforms.- Newly modelled:
AWS::CDK::Metadata,AWS::EC2::Route,AWS::EC2::SubnetRouteTableAssociation,AWS::Lambda::PermissionandAWS::SQS::QueuePolicy, so typical CDK apps deploy in strict mode.
- Vendored specification: the CloudFormation resource specification (v273.0.0, 2,129 types) is vendored, regenerated by
- #1606 CREATE change sets and
TemplateURL:- CREATE change sets: make a
REVIEW_IN_PROGRESSstack, and execute through the deploy path. - Kept change sets: executed change sets remain, as
EXECUTE_COMPLETEorEXECUTE_FAILED. - Condition flips: turning a
Conditionon or off now shows as an Add or Remove. TemplateURL: read from substrate's own S3, never the network, honouringversionIdand presigned URLs.AWS::S3::BucketPolicy: modelled.- Bucket configuration: buckets apply
LifecycleConfigurationandPublicAccessBlockConfiguration. This is the part of #1573 that the bootstrap template needs.
- CREATE change sets: make a
- #1548: a
Ref,Fn::GetAttorFn::Subto an undeclared name is refused, in Resources and in Outputs. - #1591: every published
Fn::GetAttattribute of VPC, Subnet, NatGateway, ELBv2 and Lambda is either answered or refused by name. None is silently empty.
Terraform and CDK in CI
- #1519, #1520:
examples/terraform(14 resource kinds) andexamples/cdkrun in a newiac-e2ejob on every PR.- Terraform: apply, an empty second plan, and destroy.
- CDK: bootstrap, deploy and destroy.
- Network: only the setup steps download anything; the journeys run offline.
- #1628
RunTwice,RunThenReplayandCompareRecordedRuns:test/e2e: 16 journeys are run on two fresh pinned servers with zero differences.- Terraform and CDK: their own call order and counts vary with timing, so each run is replayed into a fresh server instead, again with zero differences.
- Nondeterminism: none was found in substrate.
- Gaps the journeys exposed:
- Lambda:
ListVersionsByFunction,GetFunctionCodeSigningConfig,TracingConfig, andTagsandVersiononGetFunction. - EC2:
CreateVpctags and tenancy, andDescribeNetworkInterfaces. - IAM:
ListInstanceProfilesForRole. - Logs:
kmsKeyId, plusAssociateKmsKeyandDisassociateKmsKey. - SQS: Query-compatible error codes.
- Lambda:
CloudWatch, Logs and Scheduler
- #1595:
PutMetricDatadatapoints are stored and validated.- Reads:
GetMetricDataandGetMetricStatisticsaggregate them deterministically, including nearest-rank percentiles and a small metric-math subset. ListMetrics: reports and filters dimensions.
- Reads:
- #1618, #1620: alarms carry tags, and
DescribeAlarmsrenders every storedPutMetricAlarmmember. - #1513:
AWS/Schedulerinvocation metrics are derived from Scheduler state when queried. - #1596:
FilterLogEventsparses filter patterns: terms,?/-, and JSON selectors with comparisons,&&/||and wildcards.
Secrets Manager, EventBridge, DynamoDB, SNS, Auto Scaling
-
#1622:
ListSecretsreturns full metadata, honoursFilters,SortByandSortOrder, and pages with a stable cursor. -
#1623: resource policies are stored and validated, with
BlockPublicPolicy. They are not enforced; that is #1636. -
#1607: EventBridge rule tags.
-
#1608: for DynamoDB:
TableId,WarmThroughputandSSEDescription;Describe/UpdateContinuousBackups.
For SNS, the default topic
Policy. -
#1594: Auto Scaling
EnableMetricsCollection,DisableMetricsCollectionandDescribeMetricCollectionTypes.
Provenance
These answers come from observed behaviour, because no API page publishes them:
- CloudFormation:
- "Properties validation failed for resource … extraneous key [X] is not permitted": re:Post, aws-cdk #25409 and #28984.
- The Outputs-block unresolved-dependency message.
- "Template error: instance of Fn::GetAtt references undefined resource X": Stack Overflow 41855596, aws-cdk #22046.
- The
CapabilitiesReasontext. - "TemplateURL must be a supported URL.": re:Post, cloudformation-coverage-roadmap #1212.
- The "S3 error: " prefix: quickstart-boomi-atom #24.
- "Stack [X] already exists and cannot be created again with the changeSet [Y].": copilot-cli #1376.
- SNS: an empty
Policyis refused, and deleting a CloudFormationTopicPolicyrestores the default policy: go-to-k/cdkd #4610 and #4618.
Where nothing is published, the message is substrate's own, and the CHANGELOG says so.
Compatibility
-
Strict CloudFormation is the default.
- What's refused: a template with a type substrate doesn't emulate is refused. Common examples are custom resources (CDK's
autoDeleteObjectsand S3 event notifications), SAM,AWS::ApplicationAutoScaling::*,AWS::Lambda::UrlandAWS::ApiGateway::Account. - Opting out: use
cloudformation.lenient: true,SUBSTRATE_CLOUDFORMATION_LENIENT=true,WithLenientCloudFormation(),WithDeployerLenient(true)orWithClientLenientCloudFormation(). - Always refused: misspelled types and properties a type doesn't declare are refused in every mode.
AWS::ECR::LifecyclePolicyis gone: it isn't a real type. UseAWS::ECR::Repository'sLifecyclePolicyproperty.
- What's refused: a template with a type substrate doesn't emulate is refused. Common examples are custom resources (CDK's
-
Change sets: an executed change set now remains. An
UPDATEchange set with no changes isFAILEDwith AWS's reason. AREVIEW_IN_PROGRESSstack can't be updated. -
SSM:
PutParameterrefuses names prefixedawsorssm. Only AWS-managed public parameters authorize against an account-less ARN. -
CloudWatch:
PutMetricDataenforces AWS's timestamp window against the simulated clock, so a pinned past epoch refuses wall-clock timestamps.GetMetricDatanow returns caller datapoints.- Alarm updates replace every stored member.
-
Secrets Manager:
ListSecretshides secrets pending deletion unlessIncludePlannedDeletionis set, and sorts by creation date by default. -
S3: Block Public Access now treats negated,
IfExistsandNullconditions as not narrowing, so some bucket policies are now public. -
EventBridge: a missing rule is
ResourceNotFoundExceptionwith status 400, not 404, including fromRemoveTargets. -
Replays and fixtures: recordings that touch these paths replay differently. That covers:
- SNS
Policy; - DynamoDB
TableIdandWarmThroughput; - generated names for ElastiCache parameter groups and EFS file systems;
- the CloudFormation not-found messages.
Re-record affected fixtures.
- SNS
-
Lambda:
LambdaPermissionStatement.Principalis nowinterface{}. -
Catalog: the routed-operation catalog grows from 1,105 to 1,128.
Full detail, with the reasoning and the citation for every entry: CHANGELOG v0.131.0.
Compare: v0.130.0...v0.131.0
v0.130.0
The 2026-11 roadmap review (#1597) found that substrate's headline claims were weaker in practice than the docs said. Two fresh runs minted different IDs, replay was off by default, time-travel returned the wrong state, exported fixtures couldn't pass, and MaxCost only warned. This release makes the differentiators true. Reproducibility, replay, time-travel, fixtures and the cost budget now do what the README says, and the README says only what they do.
Deterministic runs
- #1598: a seeded server assigns request IDs
req-<8 hex>-<n>in arrival order, so two fresh runs of the same calls mint the same identifiers. Pinning an epoch also freezes the clock, so the two runs answer byte-identical bodies.- Where it's on:
StartTestServerand pytest-substrate seed by default. - Pinning the clock: opt in with
WithDeterministicRun(epoch),@pytest.mark.substrate(deterministic=True), orsubstrate server --seed N --epoch T. There is alsorun.seed/run.epochin config andGET/POST /v1/control/run. - Reset:
POST /v1/state/resetrewinds the sequence and re-pins the clock. - What stays nondeterministic: overlapping concurrent requests, the HTTP
Dateheader, and a stream that spans a reset. The testing guide documents these.
- Where it's on:
- #1600: plugins no longer mint identifiers from the wall clock or
math/rand. This covers S3 multipartUploadId, Organizations IDs, FirehoseRecordId, the API Gateway proxyrequestIdandRequestContext.Timestamp. A new CI gate,make nondeterminism-check, refuses new wall-clock reads and random sources in emulator code outside a reviewed allowlist.
Replay, time-travel and fixtures
- #1599: request and response bodies are recorded by default, with credential headers and signing parameters (SigV4 and SigV2) stripped.
- A body over
event_store.max_body_bytes(1 MiB by default) is stored as a digest. TestServer.Replay(t)andAssertReplay(t)replay a test's traffic into a sandbox and fail on any difference.
- A body over
- #1601: time-travel replays through a
ReplaySandbox, a separate emulator that applies each event's recorded request ID, clock and principal. It re-applies seeds and re-decides auth, quota, consistency and faults as the recording server did./v1/debug/events/{seq}/statereturns the state before eventseqin a stream, with any replay differences.StepBackwardworks, and so doessubstrate debug state-at.DebugSessionno longer wipes the client's live state.
- #1602: exported fixtures embed the recorded events and replay them in process, so headers, method, query, IDs and clock all survive. A fixture fails on any body difference. Exporting a stream with an event that can't be replayed, or from a server with fault rules armed, is refused with a 422.
Cost and docs
- #1603:
Client.DeployreturnsErrCostBudgetExceededwhen the metered cost exceedsIntent.MaxCost, and aValidationReportwith aMaxCostviolation is nowfail. The docs call this API-call cost metering; a resource-time model is #1615. - #1604:
- Pinned plugin counts are gone from the prose, and
make docs-counts-checkkeeps them out. - The comparison table is dated 2026-11 and sourced.
- The pytest-substrate install says "from source" until PyPI (#1616).
- The README's invented "WARNING" output is removed.
- The replay and time-travel snippets are rewritten and run as a test.
- Pinned plugin counts are gone from the prose, and
Compatibility
- Request IDs: test-server request IDs have a new deterministic format,
req-<8 hex>-<n>, and repeat across test servers. PassWithoutSeededIDs()for the old wall-clock IDs. A CLI server without--seed/run.seedis unchanged. - Derived IDs: S3
UploadIds (mpu-plus 32 hex characters) and Organizations IDs now derive from the request ID. - Recorded bodies:
WithRecordedBodies()no longer has an effect, andWithoutRecordedBodies()turns recording off.- Event stores grow, because each body up to 1 MiB is kept; bounding the memory store is #1633.
- A request body over the cap is skipped on replay unless
max_body_bytesis raised.
- Replay re-decides quota and consistency. Before, a replayed request was exempt (#833). Now a recorded throttle or
InconsistentStateExceptionreproduces on replay instead of being reported as a difference. That is exact only for serialized traffic. - Time-travel API:
JumpToEventtakes anintstream position; useJumpToSequencefor a sequence.- The state-at endpoint's sequence means "before", and its body is a
StateAtobject. /v1/debug/state/diffdiffs per key.
- Fixtures: regenerate exported fixtures. Old ones still run, but they re-send requests without headers and check only status codes.
- Cost:
Deploycan return an error wrappingErrCostBudgetExceededwhere it returned nil; the resources are deployed, not rolled back.StopRecordingandValidateno longer apply the last deploy's intent; useStopRecordingWithIntentorValidateWithIntent.
- Control plane:
POST /v1/control/timewith"frozen": falsealso unpins a pinned clock. - Catalog: the routed-operation catalog is unchanged at 1,105.
Full detail, with the reasoning for every entry: CHANGELOG v0.130.0.
Compare: v0.129.0...v0.130.0
v0.129.0
v0.128.0 fixed request members that were read and then thrown away. This release asks three questions about what a response says about a record: what does the record carry, whose record is it, and is it the same record twice? It closes 36 issues across 20 services. The largest change is to CloudFormation, which now updates nine common resource types in place.
CloudFormation
-
#1545 (in-place updates): these types now update in place and keep their physical IDs:
- Lambda, DynamoDB, SQS, SNS, S3, KMS, EC2 SecurityGroup and ECS Service;
- IAM Role, User, Group, Policy and ManagedPolicy.
Properties that require replacement get a replacement with a freshly generated name. A failed update rolls back what it changed, including any property the failed update newly declared.
-
#1547: UpdateStack deletes a resource removed from the template, honouring
DeletionPolicy. -
#1550: security-group rule changes diff the old declaration against the new one, so rules added by standalone
SecurityGroupIngressresources are left alone.Fn::GetAtt SG.GroupIdand the common EC2 ID attributes now resolve. -
#1429: an Output reading an unmodelled attribute is refused at request time. Any other Output failure fails the stack. Conditioned-out Outputs are not evaluated.
-
AWS::IAM::Policydeploys as inline policies on its roles, users and groups.AWS::IAM::ManagedPolicydeploys and updates through policy versions.- IAM gains
CreatePolicyVersion,DeletePolicyVersion,SetDefaultPolicyVersionandUpdateRole. AWS::IAM::UserandAWS::IAM::Groupdeploy.- Roles apply
ManagedPolicyArns,Policies,PermissionsBoundaryandMaxSessionDuration.
EC2
- #1553: security-group rule CIDRs are canonicalised. IPv4-mapped IPv6 text is refused. Authorize and Revoke read
GroupName. - #1551:
- deleting a default security group is
CannotDelete; - a group still in use in the same VPC is
DependencyViolation, and so is a subnet with dependents; RunInstancesrefuses an unknownSubnetId.
- deleting a default security group is
- #1554:
ModifyVpcAttributetakes one attribute per call, and a VPC holds one internet gateway. - #1525, #1193: instances report
architectureand their placement group. Thearchitectureandplacement-group-namefilters narrow results. DeletePlacementGroup refuses a group in use. - #1190: CreateKeyPair drops
keyType. ImportKeyPair accepts only the documented key formats and RSA lengths, and fingerprints as the User Guide does. - #1189: every EC2 success response carries
requestId.
Envelopes, identity and idempotency
- #1238, #1242: RDS and ElastiCache use the published
http://namespaces and carryResponseMetadata/RequestId. These come from a shared Query envelope, which ELB, Redshift and Auto Scaling also use. - #1170, #1542: RAM
clientTokengives idempotency on create and delete, withIdempotentParameterMismatchExceptionwhen a token is reused with different parameters. The three RAM listings page with tokens bound to the operation that issued them. - #1116, #1115:
- CloudFront requires
CallerReference, and a reused one isDistributionAlreadyExists. <Distribution>answers its published shape with the stored config nested inside.- Creates return
Location.
- CloudFront requires
- #1166: Omics
StartRunvalidates its required members, answers its published members, and dedupes byrequestId. Run IDs replay identically across processes. - #1181: Backup plan ARNs use the published
plansegment, and older records are corrected on read.
OpenSearch and Timestream
- #1200: state is scoped by account, Region and domain. The domain comes from the host, or is
_defaultfor base-endpoint clients. Timestream seeds take an account and a Region, and pytest-substrate'sseed_resultsends Timestream'squeryString. - #1213:
- documents carry
_version,_seq_noand_primary_term; - index returns 201, then 200 for an existing document;
- a delete of an absent document is 404;
- bulk, scroll, mapping, settings and error shapes follow the reference;
from + sizeis bounded byindex.max_result_window.
- documents carry
- #1212: control-plane paths answer
UnknownOperationExceptioninstead ofroute_not_found. The domain control plane is #1564. - #1201: query evaluation, result order and
rawQueryStringare deterministic.sortand_sourceare honoured. - #1202:
- the cost keys are fixed for OpenSearch, MSK
CreateClusterV2and EFS; - execute-api is charged per request, and the proxied Lambda's cost is folded into the outer event;
- a gate test checks that every cost key can be reached.
- the cost keys are fixed for OpenSearch, MSK
Smaller fixes
- #1537: Route 53 zones get their default SOA and NS records.
ResourceRecordSetCountis maintained. Deleting the apex records is refused unless the batch replaces them. - #1538: the API Gateway v2 listings report records they can't read.
- #1540: Step Functions
nextTokenis opaque and refused when substrate didn't issue it. - #1541: WAFv2 refuses deleting an associated web ACL, and AssociateWebACL checks the ACL exists.
- #1179: QuickSight
Statusnow appears only in the HTTP status line. - #1129: the Lambda readiness probe no longer invokes the handler.
- #1523: GetResources finds security groups, launch templates, volumes and instance profiles.
- #1421: classic load balancers report
SourceSecurityGroup. - #1518: pytest-substrate ships a worked example,
python/examples/test_journey.py, plusset_timeandadvance_timehelpers.
Provenance
These answers come from observed behaviour, because no API page publishes them:
- EC2: "CIDR block … is malformed", and the multiple-attribute and second-internet-gateway messages (aws-sdk-go and Terraform captures).
- Route 53: the "exactly one SOA" message (terraform-provider-aws #37863 and #45241).
- CloudFormation: "does not support attribute type … in Fn::GetAtt" (cloudformation-coverage-roadmap #1879).
- OpenSearch: the result-window and batch-size messages, taken from OpenSearch's source.
- ELB: a classic ELB's
OwnerAliasis the account ID.
Where nothing is published, the message is substrate's own, and the CHANGELOG says so.
Compatibility
- Replay: recordings exercising any of the fixed paths diverge on replay. In particular:
- every EC2 success body gains
requestId; - RDS, ElastiCache and RAM bodies change;
- CloudFormation updates keep IDs that used to be re-minted.
- every EC2 success body gains
- CloudFormation:
- removed resources are now deleted;
- an
AWS::IAM::Policyis inline, so read it back with GetRolePolicy, not GetPolicyVersion; - templates whose Outputs read unmodelled attributes are refused.
- EC2:
- ImportKeyPair rejects anything that isn't a real key in a supported format, including placeholder strings, ECDSA and DSA keys, and unsupported RSA lengths;
- unknown subnets are refused;
- default and in-use security groups can't be deleted.
- CloudFront: CreateDistribution requires
CallerReference. - Omics: StartRun requires
outputUri,requestIdandroleArn. - OpenSearch: state from before this release is unreachable after the key change, so reset it. A search with
from + sizeover 10,000 is refused. - Route 53 and Step Functions:
- zones gain two record sets;
- record-set keys are canonicalised, and legacy keys still resolve;
- Step Functions tokens from older recordings are refused.
- Catalog: the routed-operation catalog grows from 1,100 to 1,105.
Full detail, with the reasoning and the citation for every entry: CHANGELOG v0.129.0.
Compare: v0.128.0...v0.129.0
v0.128.0
v0.127.0 filled the gaps one consumer hit. This release returns to the fidelity audit and asks one question of 42 issues across 25 services: what happens to a request member substrate reads and then throws away? A discarded filter, cursor, flag or reference makes a test pass while the code under test is wrong. In this release each one is either honoured or refused as AWS refuses it.
It also changes CloudFormation substantially. Stacks now deploy in dependency order, and updates are applied in place.
CloudFormation
-
#1420 — resources deploy in dependency order, using Ref, GetAtt, Sub and DependsOn edges, and delete in reverse. A cycle, or a DependsOn on an undeclared or conditioned-out resource, is refused with
ValidationError. -
#1427 —
UpdateStackhandles each resource by what changed:- an unchanged resource keeps its physical ID and gets no call;
- Transfer, Backup plans and launch templates are updated in place;
- a "Replacement" property creates a new resource first and then deletes the old one, honouring
UpdateReplacePolicy; - a failed update rolls back onto its starting record.
Stacks in
ROLLBACK_COMPLETE,DELETE_FAILEDorROLLBACK_FAILEDrefuse updates. -
#1153 — an
AWS::IAM::Policythat usesFn::GetAtton another resource now stores that resource's ARN. -
#1428 —
AWS::Backup::BackupPlanandBackupSelectiondeploy through the Backup plugin. -
#1508 —
AWS::EC2::LaunchTemplateforwardsMetadataOptionsandDisableApiTermination, andLatestVersionNumber/DefaultVersionNumberresolve.
EC2
- #1492 —
DeleteVpcrefuses withDependencyViolationwhile the VPC still has dependents, andCreateVpccreates the VPC'sdefaultsecurity group. - #1194 — internet-gateway attach and detach require
VpcId. A mismatched detach isGateway.NotAttached, and a double attach isResource.AlreadyAssociated. CloudFormation'sVPCGatewayAttachmentnow really attaches. - #1187 —
CreateRouteandReplaceRouteread all 12 targets and render each under its own element, so NAT routes reportnatGatewayId. An unavailable target is stored asblackhole. - #1491 — duplicate security-group rules are
InvalidPermission.Duplicate, and duplicate names in a VPC areInvalidGroup.Duplicate. - #1151 — VPC and subnet attribute modifications read the published parameter names, and
DescribeVpcAttributeis routed. - #1191 — Elastic IPs take
TagSpecificationand are found by the Resource Groups Tagging API. - #1506 — a launch template
ImageIdofresolve:ssm:<parameter>resolves at launch. - #1505 — a launch whose AMI architecture the instance type can't run is refused.
- #1507 — malformed launch-template IDs and names get the
…Malformedcodes. - #1494 —
DescribeImagesreadsExecutableBy, and the Ubuntu AMIs report Canonical's owner. - #1509 — the instance-type catalog adds the Graviton
gd/gnvariants andg5g.
Paging and lists
- #1131 — Secrets Manager, Step Functions, SSM and KMS lists refuse an out-of-range page size, and KMS
ListAliasesdefaults to 50. - #1185 — Athena
ListQueryExecutionsandListWorkGroupseach enforce their ownMaxResultsrange. - #1184 — Backup
ListBackupPlanspages bymaxResults/nextTokenand readsincludeDeleted. - #1161 — WAFv2
ListWebACLsandListIPSetspage byLimit/NextMarker, andGetWebACLForResourcereturns the whole WebACL. - #1244, #1245 — the four ELBv2 describes page on
Marker/PageSize. One cursor rule covers every paginated ELB operation, and a marker substrate didn't issue is refused. - #1423 — API Gateway v2
CreateApiMappingvalidates its request, and the v2 collections page. - #1417 — Route 53 listings report a record they can't read instead of skipping it.
Per-service state and requests
- #1474, #507 (S3): a
BucketOwnerEnforcedbucket refuses ACL writes withAccessControlListNotSupported. An email-address grantee is refused. - #1489 (S3): multipart operations and
CopyObjectauthorize under the IAM actions AWS publishes, and the copy source needss3:GetObject. - #1477 (IAM): a policy
Statementwritten as a single object is accepted. - #1160 (CodePipeline):
GetPipelinereturns the version asked for. - #1167 (QuickSight): the path account ID is honoured, and keys include the Region.
- #1171 (RAM):
resourceOwneris read, disassociation reportsDISASSOCIATED, and a delete is soft. - #1118, #1418 (Kinesis):
- capacity mode works, and
UpdateStreamModeis routed; - an ON_DEMAND stream starts with 4 shards;
- PutRecord/PutRecords enforce the published limits.
- capacity mode works, and
- #1416, #1559 (Route 53):
DeleteHostedZonerefuses an absent zone and a zone that isn't empty.ChangeResourceRecordSetsaccepts botocore's.../rrset/path; every boto3 record-set write had failed since v0.18.0. - #1422 (Batch):
SubmitJobrequires a usable queue and job definition, andDeleteJobQueuefails the queue's unfinished jobs. - #1183 (Bedrock):
InvokeModelapplies a guardrail named in its headers, seedable throughPOST /v1/bedrock/guardrail-blocklist. - #1425 (Cognito): not-found errors answer HTTP 400.
- #1526 (Auto Scaling): a decrementing terminate holds desired capacity at
MinSizeinstead of refusing. - #1514 (Scheduler): an expression or time zone that can't be evaluated is refused, and so is an out-of-range
RetryPolicy.
Provenance
Several codes and messages come from observed behaviour, because no API page publishes them:
- CloudFormation: the circular-dependency and unresolved-dependency wording (re:Post, CDK, CLI reports); the "is in … state and can not be updated" message; the refusal of a DependsOn on a conditioned-out resource.
- EC2: the launch-template
…Malformedmessages (re:Post); the architecture-mismatch message (Terraform and Stack Overflow captures). - S3:
MethodNotAllowed/405 for email grantees in the eight Regions the notice names.InvalidArgument/400 elsewhere is substrate's reading. - Kinesis: refusing
ShardCounttogether with ON_DEMAND is substrate's reading.
Where no source exists, the message is substrate's own and the CHANGELOG says so. That follows the new error-wording rule in CLAUDE.md (#487).
Compatibility
- CloudFormation:
- deploy and delete order follow dependencies;
- an unchanged resource is no longer re-created on update;
- templates with a dependency cycle or an undeclared DependsOn are now refused;
- unnamed security groups and launch templates get generated names.
- EC2:
- a new VPC has a
defaultsecurity group; DeleteVpcandDeleteInternetGatewayrefuse while dependents remain;- duplicate security-group rules and names are refused;
GroupNameresolves in the default VPC;- malformed launch-template identifiers are refused, except stored templates, which are still reachable;
- an arm64 AMI on an x86 instance type is refused.
- a new VPC has a
- S3:
- ACL writes to default buckets now answer 400, as on AWS; opt in with
x-amz-object-ownership: ObjectWriter; - multipart and copy requests authorize as
s3:PutObject, pluss3:GetObjecton the copy source.
- ACL writes to default buckets now answer 400, as on AWS; opt in with
- Paging: out-of-range page sizes are refused across the lists above.
- QuickSight: state written before this release isn't reachable, because keys now include the Region.
- Replay: recordings exercising any of the fixed paths diverge on replay.
- Catalog: the routed-operation catalog grows from 1,098 to 1,100.
Full detail, with the reasoning and the citation for every entry: CHANGELOG v0.128.0.
Compare: v0.127.0...v0.128.0
v0.127.0
v0.126.0 gave a moto replacement its missing services. This release asks what a cost-aware fleet needs to observe:
- which Graviton types it can launch;
- how much Spot quota it has left and how much it is using;
- capacity counted in vCPUs;
- schedules that actually fire when the simulated clock reaches them.
All seven issues were filed by aws-elastic-globus-compute for its v0.2 spend-safety work.
EC2 and Auto Scaling
- #1497 — Graviton instance types.
- The catalog adds 13 arm64 families: t4g, m6g/c6g/r6g, m7g/c7g/r7g, m8g/c8g/r8g, and Graviton5 m9g/c9g/r9g.
- The CPU manufacturer is
amazon-web-services. - The bundled AMIs now include arm64 images, and SSM paths with
arm64anywhere in them resolve to those images. - Attribute-based Auto Scaling selection now considers only instance types that match the AMI's architecture.
- #1502 — Auto Scaling capacity units.
DesiredCapacityType=vcpu|memory-mib, and overrideWeightedCapacity, count capacity in the group's units.- Reconcile launches until the summed weight reaches desired capacity. A decrementing terminate lowers desired by the instance's weight. Members report
WeightedCapacity.
- #1469 — a launch template that does not exist is refused with
InvalidLaunchTemplateName.NotFoundExceptionorInvalidLaunchTemplateId.NotFound, whichever matches the identifier the request named. Before,DescribeLaunchTemplatesreturned an empty list, and RunInstances skipped the template silently. - #1471 — MetadataOptions and template members.
- Launch templates keep
MetadataOptions, apply them at launch, and read back only the members they carry. The phantomNetworkInterfacesis gone. DisableApiTerminationround-trips.ModifyInstanceMetadataOptionsis routed.
- Launch templates keep
Service Quotas and CloudWatch
- #1498 — EC2's vCPU quotas for On-Demand and Spot are published for the Standard, F, G and VT, Inf, P and X classes. That includes the Spot quota
L-34B43A08, with the published default of 5.ListAWSDefaultServiceQuotasis routed. The list operations paginate.- Each quota's
UsageMetricnames its CloudWatch metric. - CloudWatch
AWS/UsageResourceCount(Resource=vCPU,Class=Standard/OnDemand|Standard/Spot|…) reports the vCPUs of running instances and open Spot requests, at the simulated clock. GetMetricStatisticsis routed.- Quota enforcement at launch stays opt-in and is tracked in #1499.
EventBridge Scheduler
- #1501 — due schedules fire as the simulated clock reaches them, live and on replay.
- Expressions:
at(),rate()andcron()are supported, with time zones,StartDate/EndDateandDISABLED. - Universal targets:
arn:aws:scheduler:::aws-sdk:<service>:<apiAction>targets call that API withInputas the request, running as the target'sRoleArn. Query-protocol services are flattened using a table generated from the service models. - Templated targets: Lambda, SQS, SNS, Step Functions and EventBridge templated targets are dispatched.
- Failure handling:
RetryPolicyandDeadLetterConfigare honoured, andPOST /v1/scheduler/invocation-outcomeseeds a failure. - Groups and tags: schedule groups and group tagging are routed.
- Expressions:
- #1475 —
ActionAfterCompletion=DELETEremoves a schedule once it has finished.
Provenance
These answers come from observed or reported behaviour, because the API reference publishes none for these cases:
- the launch-template not-found messages;
- the
vcpu-without-InstanceRequirementsValidationErrorwording (terraform-provider-aws#31521); - Scheduler's handling of an omitted member in a partial
RetryPolicy, its retry backoff, and which errors it treats as retryable. These are substrate's choices and are documented as such.
The memory-mib member WeightedCapacity is reported in MiB. That is unverified against AWS and tracked in #1510.
Compatibility
- Auto Scaling:
- Attribute-based groups now pick only types that match the AMI's architecture. An x86 workaround on an arm64 AMI now records "No instance types match", as AWS does.
- Unweighted groups behave as before.
- EC2:
- The RunInstances response reports
metadataOptionsstatepending. - CreateFleet's launch-template not-found message changes. Its code does not.
- An unknown launch template is now refused instead of ignored.
- The RunInstances response reports
- CloudWatch:
GetMetricDatareturns one result per query, with emptyTimestamps/Values, instead of an empty list.ListMetricswith aDimensionsfilter excludes dimensionless metrics.GetMetricDatarefuses aNextToken.
- Service Quotas:
- EC2's
ServiceNameisAmazon Elastic Compute Cloud (Amazon EC2). - The
UnitisNone. GetAWSDefaultServiceQuotaforL-1216C47Areports AWS's default of 5. The applied value stays 32.
- EC2's
- Scheduler:
ListScheduleswith no group lists every group.CreateScheduleinto a missing group isResourceNotFoundException.DeleteScheduleof a missing schedule is a 404.- Schedules now fire: a recording with due schedules replays their invocations.
- Catalog: the routed-operation catalog grows from 1,088 to 1,098.
Full detail, with the reasoning and the citation for every entry: CHANGELOG v0.127.0.
Compare: v0.126.0...v0.127.0
v0.126.0
v0.125.0 asked whether an operation can be reached. This release asks it from a consumer's side: what does a test suite moving off moto need substrate to answer? aws-elastic-globus-compute, spawn and lagotto each found gaps. They are boto3 and Go projects that run their infrastructure and worker tests against substrate. This release closes all 27 of those gaps, starting with a new plugin.
New: Amazon EC2 Auto Scaling
- #1460: a new
autoscalingplugin with 14 operations.- Groups: CreateAutoScalingGroup with a launch template or a MixedInstancesPolicy (
InstanceRequirements,InstancesDistribution), plus Describe, Update and Delete, includingForceDelete. - Capacity: SetDesiredCapacity and TerminateInstanceInAutoScalingGroup.
- Other operations: Suspend/ResumeProcesses, DescribeScalingActivities, SetInstanceProtection, and tags with
PropagateAtLaunch. - Reconciliation: desired capacity is reconciled to real EC2 instances in the request that changes it, launched from the template's resolved version and tagged
aws:autoscaling:groupName. - Self-termination: an instance terminated directly through EC2 is replaced on the group's next observation, unless desired capacity was lowered.
- Spot and protection: Spot capacity follows
InstancesDistribution. Protected instances are never chosen for scale-in. - Authorization:
autoscaling:ResourceTag/conditions are evaluated. - Seedable failure:
POST /v1/autoscaling/launch-failurerecords aFailedactivity, so retry loops can be tested.
- Groups: CreateAutoScalingGroup with a launch template or a MixedInstancesPolicy (
EC2
- #1464: every account starts with a default VPC in each Region. That is
172.31.0.0/16with a/20default subnet per zone, thedefaultgroup, an attached internet gateway and a main route table. Theis-defaultanddefault-for-azfilters work.ec2.default_vpc/SUBSTRATE_EC2_DEFAULT_VPCorWithoutDefaultVPC()turn it off. CreateDefaultVpc and CreateDefaultSubnet are routed. - #1436: Spot Instance requests. Supports
RunInstancesInstanceMarketOptions, plus RequestSpotInstances, DescribeSpotInstanceRequests and CancelSpotInstanceRequests. Persistent requests replace terminated instances, and/v1/ec2/spot-request-outcomesseeds a capacity outcome. - #1440, #1468: security groups keep and return their tags, and DescribeSecurityGroups evaluates every filter it accepts.
- #1453: revoking one CIDR removes only that source, not the whole permission.
- #1432:
DescribeImages Owners=amazonlists the bundled AMIs, andInvalidAMIID.NotFoundsays where to find one.
SQS, DynamoDB, S3
- #1441, #1472, #1462 (SQS):
- Counts:
GetQueueAttributeshonorsAttributeNamesand returns theApproximateNumberOfMessages*counts. - System attributes:
ReceiveMessagereturnsApproximateReceiveCount,SentTimestampandApproximateFirstReceiveTimestamp. - Batch visibility:
ChangeMessageVisibilityBatchis routed. - Per-receive timeout: a JSON-protocol
VisibilityTimeout=0is honored.
- Counts:
- #1448, #1451 (DynamoDB conditions): an
UpdateItemcondition sees the stored item, soattribute_exists(pk)is false andattribute_not_exists(pk)true when creating. - #1450 (DynamoDB update expressions):
if_not_exists,list_appendand document paths are implemented. - #1454 (DynamoDB values): comparisons are typed, so Binary values no longer all compare equal. Binary keys are distinct and Numbers are validated.
- #1449 (DynamoDB concurrency): concurrent conditional writes to one item serialize.
- #1438, #1434, #1463, #1445 (S3):
- Checksums: a ranged GetObject or HeadObject no longer carries the whole object's checksum. aws-sdk-go-v2 s3 v1.114 rejected it.
- Tagging:
x-amz-taggingis stored on upload, andCreateBucketConfiguration.Tagson create. - Ownership controls: routed.
ECR, IAM, Scheduler, CloudFormation, Python
- #1461 (ECR): pull through cache rules and repository creation templates.
- Repository creation: a
BatchGetImageunder a rule's prefix creates the repository from the matching template. - Validation seed:
/v1/ecr/pull-through-cache-validationseeds the validation outcome.
- Repository creation: a
- #1465, #1113, #1484 (ECR): a repository ARN's name is everything after
repository/, and an ARN outside the caller's registry is refused. Missing images reportfailureCode: ImageNotFound. - #1452 (IAM): policy documents are served as submitted, with
{"AWS": arn}principals intact, and URL-encoded in every Role and policy shape. - #1442 (Scheduler):
ActionAfterCompletion,StartDate,EndDateandKmsKeyArnare stored and returned. - #1446 (CloudFormation):
- Stack resources: ListStackResources is routed.
- Change sets: DescribeChangeSet reports
Scope,DetailsandPhysicalResourceId. - Templates and drift: GetTemplate honors
TemplateStage, and DetectStackDrift honorsLogicalResourceIds.
- #1466 (pytest-substrate): installs on Python 3.11, and CI tests on 3.11 and 3.12.
Provenance
Several error codes and messages rest on observed behaviour, because the API reference publishes none for these cases:
- Auto Scaling: the launch-template dry-run denial,
AccessDenied/403 "You are not authorized to use launch template: …". - EC2:
InvalidParameterValuefor a security group nameddefault;InvalidInputfor a zone without a default subnet;- the message wording on several Spot errors.
- S3:
OwnershipControlsNotFoundError/404, from SDK and Terraform reports. - ECR:
RepositoryNotFoundException/400 for a well-formed ARN outside the caller's registry, which is substrate's choice.
Compatibility
- Replay: recordings made before this release diverge if they contain a subnet-less
RunInstancesor rely on the old lazily created default VPC. Recordings that create their own VPC keep their IDs. DynamoDB, SQS, S3 and IAM recordings that exercised the fixed paths also diverge. - Fresh accounts: a fresh account now has a default VPC, subnets, security group, internet gateway and route table. Tests that counted these on an empty account need updating, or should use
WithoutDefaultVPC(). - DynamoDB:
- Binary-key items: items stored under a Binary key by an earlier release, or under a non-canonical Number key (
1.0), can't be reached by key. - Newly refused: a key whose type doesn't match
AttributeDefinitions, arithmetic on an absent attribute, a nested SET under an absent parent, an undefined#name, and malformed Numbers.
- Binary-key items: items stored under a Binary key by an earlier release, or under a non-canonical Number key (
- SQS:
GetQueueAttributeswith noAttributeNamesreturns no attributes, as documented.ChangeMessageVisibilityrefuses an unknown or invalid handle. - IAM: every Role and policy document is percent-encoded. Decode once; SDKs such as botocore do this already.
- S3:
- Ranged reads: a ranged read drops
x-amz-checksum-*unless it covers a whole single-part object. - Tag rules: tags are validated (count, length, the
aws:prefix and allowed characters). - Tagging permissions:
x-amz-taggingand create-time tags needs3:PutObjectTaggingors3:TagResource.
- Ranged reads: a ranged read drops
- ECR: a missing image is reported as
failureCode: ImageNotFound, no longerImageNotFoundException. A foreign-account or other-Region repository ARN is refused. - Catalog: the routed-operation catalog grows from 1,055 to 1,088, and the plugin count from 67 to 68.
Full detail, with the reasoning and the citation for every entry: CHANGELOG v0.126.0.
Compare: v0.125.0...v0.126.0
v0.125.0
v0.124.0 asked whether a failure says what happened. This release asks an earlier question: can the operation be reached at all? Operations that were unrouted, routed on a verb no SDK sends, or reading a body shape the API doesn't have, now answer. Two threads run alongside it:
- CloudFormation resolves intrinsics inside Json-typed properties, and five stub resource types now reach their own services.
- The Go toolchain and
golang.org/x/netmove past seven published advisories.
Operations that can now be reached
- #566 — API Gateway v2
GetApiMappings,GetApiMapping,UpdateApiMappingandDeleteApiMappingare routed.CreateApiMappingrefuses an absent domain with 404. - #555 — Batch
DeregisterJobDefinition,UpdateJobQueue,UpdateComputeEnvironment,DeleteJobQueueandDeleteComputeEnvironmentare routed, with the publishedDISABLED-before-delete rules. - #1135 — Cognito User Pools routes
TagResource,UntagResourceandListTagsForResource. - #1172 — AWS Backup
CreateBackupPlanandCreateBackupSelectionanswer on the publishedPUT. - #1408 — AWS Backup
ListBackupSelectionsis routed and paged. - #1158 — CodeBuild
UpdateProjectreads the published flat request. - #1133 — CloudFront creates refuse a body they cannot read.
Service behaviour
- #1409 — A Kinesis record is written to the shard its MD5 hash key falls in.
ExplicitHashKeyis validated. - #1410 — Route 53 record-set operations require their hosted zone (
NoSuchHostedZone/404). - #1112 — An ECR repository holding only untagged images is not empty;
DeleteRepositoryneedsforce. - #1413 — IAM success responses carry the request's own ID. A Query 5xx reads
<Type>Receiver</Type>. ELBv2DescribeLoadBalancersrefuses an absent load balancer.
CloudFormation
- #1153 — Five Json-typed properties resolve intrinsics at every depth: IAM role trust and policy documents, SNS topic policy, EventBridge event pattern, and the ECR lifecycle policy.
- #1103 —
Fn::Subimplements${LogicalId.Attribute}. - #1203 — Transfer servers, CodeDeploy applications and groups, FSx file systems and MSK clusters deploy through their own services. An unmodelled
Fn::GetAttattribute now fails the resource that reads it, rather than resolving to "". - #1182 —
AWS::Backup::BackupPlananswers its plan ID forRefand resolvesBackupPlanId,BackupPlanArnandVersionId.
Security
golang.org/x/netv0.62.0 and toolchain go1.26.11 clear the following (#1435, #1470):- GO-2026-6611, 6612, 6613 and 6617, including CVE-2026-78669 (HTTP/2 SETTINGS denial of service);
- CVE-2026-78661 (
x/net/htmldenial of service); - GO-2026-6859 (
net/http); - GO-2026-6809 (
crypto/x509).
Compatibility
- Backup: a
POSTcreate of a plan or selection is now refused withUnknownOperationException. - Kinesis:
ShardIdinPutRecord/PutRecordsresponses changes, so replays of earlier recordings diverge there. - Route 53: a record-set call against an absent zone is now a 404. An
AWS::Route53::RecordSetnaming a missing zone fails. - CloudFormation:
- an MSK template without
NumberOfBrokerNodesnow fails; - so does a template reading an unmodelled attribute (Transfer
As2ServiceManagedEgressIpAddresses, OpenSearchDomainEndpointV2, FSxRootVolumeId); - the Backup plan's
Refchanges shape; - Transfer servers and CodeDeploy groups now appear in their service APIs.
- an MSK template without
- Errors: a Query error at 5xx now reads
<Type>Receiver</Type>. ADescribeLoadBalancersnaming an absent load balancer is now a 400. - Catalog: the routed-operation catalog grows from 1,042 to 1,055.
Full detail, with the reasoning and the citation for every entry: CHANGELOG v0.125.0.
Compare: v0.124.0...v0.125.0