Repository navigation
Description
The defect
mergeResourceTags (emulator/tagging_plugin.go:980-1194) is a namespace switch with 21 arms: it
unmarshals the concrete record for a namespace, merges the incoming tags in, and Puts it back. It
is the only writer of tags for both the Resource Groups Tagging API's TagResources and
CloudFormation's aws:cloudformation:* stamp.
Eleven resource types have tag state and a service-native tagging operation, but no arm in that
switch. For each of them:
resourcegroupstaggingapi tag-resourcesagainst the resource cannot write a tag, and- a CloudFormation stack cannot stamp or propagate tags onto it (CloudFormation: the resource types the aws:cloudformation:* stamp still skips #819), because the stamp goes
through the same function.
The types:
| Type | Service-native tagging exists | mergeResourceTags arm |
|---|---|---|
AWS::KMS::Key |
yes | missing |
AWS::SecretsManager::Secret |
yes | missing |
AWS::SNS::Topic |
yes | missing |
AWS::StepFunctions::Activity |
yes | missing |
AWS::ECS::Service |
yes | missing |
AWS::ECS::TaskDefinition |
yes | missing |
AWS::RDS::DBCluster |
yes | missing |
AWS::RDS::DBSubnetGroup |
yes | missing |
AWS::ACM::Certificate |
yes | missing |
AWS::CloudFront::Distribution |
yes | missing |
AWS::SSM::Parameter |
yes | missing |
Why this is the same class as #826
#826 was a reader addressing a state key its service does not use, so a tag was written where nothing
read it. This is the mirror image: the key resolves correctly and there is simply no writer, so the
tag is silently not written at all. In both cases nothing refuses the request.
Worth checking as part of this work: whether TagResources reports these in
FailedResourcesMap or answers 200 having written nothing. A 200 for a write that did not happen is
the more serious half.
Acceptance criteria
- Each of the eleven types has a
mergeResourceTagsarm keyed on its namespace, unmarshalling
the concrete record the service's own plugin stores. - For each, a test tags the resource through
TagResourcesand reads the tag back through that
service's own tag-reading operation — per cfn: the aws:cloudformation:* stamp covers EC2 only, so the rest of a stack is unstamped #765's rule that a tag written to a key the service
does not read satisfies a state assertion and no caller. -
GetResourcesreports the tag for each. - Any type for which a tag genuinely cannot be written is listed in
docs/services.mdwith the
reason, rather than left silent. -
docs/services.mdrecords which types the Resource Groups Tagging API can write to.
Found while auditing #819's group 3, which needs both a cfnResolveStampTarget arm and a
mergeResourceTags arm; these eleven have neither.
Activity
scttfrdmn commentedon Sep 13, 2026
Verified the eleven while implementing #819's group 3a, against the plugins rather than from the audit note. The list of eleven is right and the conclusion is right. Three corrections to the detail, each of which changes what the work is.
1. "Service-native tagging exists: yes" is wrong for three of the eleven. The operation is on the plugin, but the plugin's own ARN resolver has no arm for that kind, so no caller can reach the tags through the service either:
AWS::ECS::TaskDefinitionresourceStateKey(emulator/ecs_plugin.go:1117-1158) switches oncluster/service/taskonly; a task-definition ARN hitsdefault: return "", ""andapplyTagsToResourceno-ops at:1037-1039.TagResourceanswers 200 having written nothing — the "more serious half" this issue asks about, and it is already real here.AWS::RDS::DBClusterrdsResolveARN(emulator/rds_plugin.go:1371-1391) hascase "db"andcase "snapshot"only; acluster:ARN is refused withunsupported RDS ARN resource type.AWS::RDS::DBSubnetGroupsubgrpcase.So for these three the acceptance criterion "read the tag back through that service's own tag-reading operation" cannot be met by adding a
mergeResourceTagsarm alone — the service's resolver has to be fixed first. Worth ordering them last.2.
resolveARNis a second missing half, not justmergeResourceTags. Six of the eleven — KMS, Secrets Manager, SNS, ACM, CloudFront, SSM — have noresolveARNarm at all, soTagResourcesrefuses them atemulator/tagging_plugin.go:962-964(unsupported service %q for tagging) before reaching the writer. And one arm that does exist is actively wrong:case "states"(tagging_plugin.go:868-873) doesstrings.TrimPrefix(resource, "stateMachine:"), which is a no-op on an activity ARN, soarn:aws:states:…:activity:my-actresolves to the keystatemachine:<acct>/<region>/activity:my-act. The real key isactivity:<acct>/<region>/<name>(emulator/stepfunctions_plugin.go:120-122). That is #826's exact defect shape in a second place.3. Three of the existing arms unmarshal a sibling type unconditionally, so adding a kind to a namespace that is already present is not additive — the arm has to grow a key-prefix check first, the way the
iamNamespace,efsNamespaceandglueNamespacearms already do:case statesNamespace(:1076-1083) assumesStateMachineStateeven for anactivity:key.case ecsNamespace(:1094-1101) assumesECSClustereven for aservice:or task-definition key.case rdsNamespace(:1121-1128) assumesRDSDBInstanceeven for adbcluster:ordbsubnetgroup:key.Today these are unreachable because the resolver refuses the ARN first, so this is latent rather than live — but it means "add an arm for the namespace" understates the change for Step Functions, ECS and RDS.
One incidental note for the record: all eleven record types do have a tags field, but the three ECS types spell the JSON tag lowercase (
json:"tags,omitempty",emulator/ecs_types.go:37,53) and keep a[]ECSTag, where most of the others keep amap[string]string. #819 hit the same shape difference in the stack-tag reconciler and taught its reader both shapes, so a new arm here hasmergeECSTags/mergeEFSTagsto follow rather than needing a third convention.Not filing anything new — this is all within this issue's scope.
feat(cfn): stamp aws:cloudformation:* on nine more resource types (#819…
scttfrdmn commentedon Sep 14, 2026
The stated mechanism is wrong for all eleven types, and the work is roughly double the estimate
Researched at
v0.114.0(8c4fec1). The defect is real for all eleven, but the issue's diagnosis — "mergeResourceTagshas no arm" — is not the reason any of them fail, because none of them reachesmergeResourceTags. Recording the actual mechanism, the verified ARN formats, and what AWS does and does not publish, so the work does not need re-researching.The eleven fail in three different places, not one
resolveARNarm at all — KMS, Secrets Manager, SNS, ACM, CloudFront, SSM. They hit the default case and fail in the resolver, before any merge.ecsarm guardedcluster/only), RDS DB cluster and DB subnet group (therdsarm guardsdb:).statesarm. It does reachmergeResourceTags, thestatesNamespacearm does exist, andstate.Getfinds nothing at a state-machine key built from an activity ARN. If a state machine of the same name exists, it is tagged instead. That row belongs in the SQS state keys disagree: the tagging API and the authorizer address queue:<name>, the plugin writes queue:<account>/<name> #826 defect class, not the missing-arm one.So each type needs a
resolveARNarm and amergeResourceTagsarm, plus aGetResourcesscanner for the issue's third criterion, which the estimate does not cost.What #845 changes about this issue
#845 (shipping now) ships the part that makes the remaining work safe: the eight
resolveARNarms that stripped a prefix they never checked now check it, so a wrong-type ARN refuses honestly instead of building a well-formed key for the wrong kind of resource. The Step Functions activity row above is fixed as a refusal by that pass — anactivity:ARN no longer tags a same-named state machine — so what remains here for Step Functions is making it work, not stopping it doing harm.Two of the eleven rows close as part of #845, because the ECS fix routed through a new shared key builder rather than a per-arm one:
TagResources/UntagResources, and a tag written there is readable through ECS's ownListTagsForResource— cfn: the aws:cloudformation:* stamp covers EC2 only, so the rest of a stack is unstamped #765's cross-readability criterion, met.ecsTagStateKeyis one function with two callers (ECS's own three tag operations, and the tagging API'secsarm), which is the "one builder, so they cannot drift" structure SQS state keys disagree: the tagging API and the authorizer address queue:<name>, the plugin writes queue:<account>/<name> #826 established. An ECS task came along for free.GetResourcesstill does not scan them, so the write side and the owning service agree while aGetResourceslisting does not show them. That half stays here, anddocs/services.mdnow states it explicitly rather than leaving it to be discovered as an inconsistency.Two of AWS's six taggable ECS types are deliberately refused, not deferred: a capacity provider and a container instance, because substrate stores neither, so there is no record a tag could land on or be read back from.
Also relevant to the merge-arm half:
mergeResourceTags' ECS arm decoded every key intoECSClusterunconditionally, which was harmless only while the resolver could reach nothing but a cluster. Any arm added here has the same hazard —statesNamespaceassumes a state machine even for anactivity:key,rdsNamespacea DB instance. The ECS fix's answer was to edit the stored record'stagsmember as raw JSON rather than decode a concrete type, preserving every other member; that is the pattern for the Step Functions and RDS arms too.The issue's premise cannot be validated against AWS documentation
AWS publishes no usable list of tagging-API-supported resource types, and its canonical link is dead.
API_TagResourceslinks tosupported-services.html, which does not exist — its.mdrendition returns AWS'spage-not-foundand it is absent from the guide'stoc-contents.json. The real list lives on the guide'sWelcome.htmland is truncated at the source, alphabetically, ending at IAM (verified by byte count — 5,388 gzipped → 33,335 bytes, the.md10,551 bytes — rather than assumed from a fetch artifact).So of the eleven types, four are confirmable as supported at service level (ACM, CloudFront, ECS service, ECS task definition — all in the A–I range) and seven are unanswerable from AWS documentation (KMS, Secrets Manager, SNS, Step Functions activity, RDS cluster, RDS subnet group, SSM parameter). Absence past "I" is absence of published data, not a statement of non-support.
The Tag Editor table at
ARG/latest/userguide/supported-resources.htmlis not a substitute: its own column definition scopes it to "the Tag Editor console", explicitly contrasted with the Tagging API, and it marksAWS::ECS::Serviceas No whereWelcome.htmllists ECS as supported.Consequence for this issue: substrate cannot claim to mirror the real API's supported-type set, and #845 settled that substrate does not distinguish "AWS does not support this type" from "AWS supports it and substrate has no arm yet" — both answer
InternalServiceException, which is whatFailureInfopublishes for an unsupported resource type.The arms are not uniform work — verified ARN formats for all eleven
From the Service Authorization Reference's
Resource typestables. (The oldlist_aws<longname>.htmlslugs now 302 to the index; the working slugs key on the IAM service prefix —list_kms,list_stepfunctions,list_ecs,list_rds,list_acm,list_cloudfront,list_ssm.)TrimPrefixarn:${Partition}:kms:${Region}:${Account}:key/${KeyId}arn:${Partition}:secretsmanager:${Region}:${Account}:secret:${SecretId}arn:${Partition}:sns:${Region}:${Account}:${TopicName}arn:${Partition}:states:${Region}:${Account}:activity:${ActivityName}stateMachine:by literal case — capital Marn:${Partition}:rds:${Region}:${Account}:cluster:${DbClusterInstanceName}rdsarm withdb:arn:${Partition}:rds:${Region}:${Account}:subgrp:${SubnetGroupName}subgrp, notsubnet-grouparn:${Partition}:acm:${Region}:${Account}:certificate/${CertificateId}arn:${Partition}:cloudfront::${Account}:distribution/${DistributionId}arn:${Partition}:ssm:${Region}:${Account}:parameter/${ParameterNameWithoutLeadingSlash}${ParameterNameWithoutLeadingSlash}— a hierarchical parameter's leading/is droppedarn:${Partition}:ecs:${Region}:${Account}:service/${ClusterName}/${ServiceName}arn:${Partition}:ecs:${Region}:${Account}:task-definition/${Family}:${Revision}One structural obstacle worth naming for whoever picks this up: Config cannot be added the way the others can. Its tags live in a side-car store — a bare
map[string]stringkeyed by ARN (cfgsvcTagsKey,emulator/configservice_types.go:213-216) — so a Config arm would be the first that does not unmarshal a concrete record, andconfig-rule/{id}ARNs need the index walkcfgsvcResolveTaggable(configservice_tags.go:315-345) performs, whichresolveARNhas no way to do. (See #836 for why the twoTagsstruct fields there are not the answer.)One more gap in the same surface, filed separately
resolveARNhas noelasticloadbalancingarm at all, so the Resource Groups Tagging API reaches no ELB resource today, v2 included — #765's cross-readability rule is already unmet for ELBv2. That one needs the classic/v2 ARN-arity discrimination from #844 first, so it is filed on its own rather than folded in here.Moving to milestone v0.116.0 with the estimate revised upward: eleven resolver arms (three of them not expressible as prefix checks), eleven merge arms (each needing the raw-JSON treatment where its namespace holds more than one shape), and eleven
GetResourcesscanners.fix(tagging): the ARN resolver checks the resource type it strips (#845…
scttfrdmn commentedon Sep 14, 2026
Moved to v0.116.0. v0.115.0 shipped the part that makes this issue safe to leave open rather than the issue itself, and the research changed its shape enough that the estimate here is wrong.
The stated mechanism is wrong for all eleven types
The issue says the eleven fail because
mergeResourceTagshas no arm. None of them reachmergeResourceTags:resolveARNarm at all — KMS, Secrets Manager, SNS, ACM, CloudFront, SSM. They hit the default case and fail at the resolver.ecsarm guardedcluster/), RDS DB cluster and DB subnet group (therdsarm guardsdb:).statesarm. It did reachmergeResourceTags, thestatesNamespacearm exists, andstate.Getfound nothing at a state-machine key built from an activity ARN. If a state machine of the same name existed, it was tagged instead.So each type needs a
resolveARNarm and amergeResourceTagsarm — roughly double the issue's estimate — plus the elevenGetResourcesscanners the third criterion does not cost.What v0.115.0 changed about it
resolveARNarms. Step Functions activity now refuses honestly instead of tagging a same-named state machine, and the code isInternalServiceException/500, which is whatFailureInfopublishes for a resource type the tagging API does not support. Before, those types answered 200 into a phantom key; that is the behaviour this issue would otherwise have had to un-ship.Two facts that should not need re-researching
Only four of the eleven can be confirmed supported by the real tagging API, and that is a limit of AWS's documentation, not of the research.
API_TagResources.htmllinks tosupported-services.html, which does not exist — its.mdrendition returns AWS'spage-not-foundand it is absent from the guide'stoc-contents.json. The real list is onWelcome.htmland is truncated at the source, alphabetically, ending at IAM (verified by byte count, not inferred from a fetch artifact). So ACM, CloudFront, ECS service and ECS task definition are confirmed (all in A–I) and seven are unanswerable: KMS, Secrets Manager, SNS, Step Functions activity, RDS cluster, RDS subnet group, SSM parameter. Absence past "I" is absence of published data, not a statement of non-support.The Tag Editor table at
ARG/latest/userguide/supported-resources.htmlis not a substitute: its own column definition scopes it to "the Tag Editor console", explicitly contrasted with the Tagging API, and it marksAWS::ECS::ServiceNo whereWelcome.htmllists ECS as supported.The arms are not uniform work. From the Service Authorization Reference's
Resource typestables:TrimPrefixkey/${KeyId}secret:${SecretId}arn:${Partition}:sns:${Region}:${Account}:${TopicName}certificate/${CertificateId}distribution/${DistributionId}parameter/${ParameterNameWithoutLeadingSlash}/is droppedactivity:${ActivityName}stateMachine:— capital Mcluster:${DbClusterInstanceName}subgrp:${SubnetGroupName}service/${ClusterName}/${ServiceName}task-definition/${TaskDefinitionFamilyName}:${TaskDefinitionRevisionNumber}Config is worth naming as the hardest one, and it is not on the list of eleven: its tags live in a side-car
map[string]stringkeyed by ARN (cfgsvcTagsKey), so a Config arm would be the first that does not unmarshal a concrete record, and aconfig-rule/{id}ARN needs an index walkresolveARNcannot do. See #836 for why that side-car exists and why it is right.scttfrdmn commentedon Sep 15, 2026
Partial ship, not a plain move. Moving to v0.117.0 and staying open. Verified against the tree at
bd1dca7, and this also corrects the ECS rows of my earlier comment above, whose citations are now stale.What shipped in v0.115.0 — two rows, and only two of their three criteria
AWS::ECS::ServiceandAWS::ECS::TaskDefinitioncan now be tagged through the Resource Groups Tagging API and read back through ECS's own call:ecsTagStateKey(ecs_plugin.go:1221) gained atask-definitionarm, and it is the same function ECS's ownTagResourcekeys through — so the tagging API and the owning service cannot disagree about where one resource's tags live.ecsresolver arm (tagging_plugin.go:997) now callsecsTagStateKeyinstead of building the key by hand, which is what limited it to a cluster. Its comment names this issue as the reason.mergeResourceTags'ecsNamespacearm (tagging_plugin.go:1224) goes throughecsMergeRecordTags(ecs_plugin.go:1106) rather than a concrete type, because that one namespace holds a cluster, a service, a task and a task definition. This is the raw-JSON pattern my earlier comment identified as the answer; it is now in the tree with its own doc comment stating why.applyTagsToResource(ecs_plugin.go:1055) returns an error on every non-write, which settles this issue's own open question — "whetherTagResourcesreports these inFailedResourcesMapor answers 200 having written nothing." For ECS it no longer answers success for a write that did not happen.The third criterion is still unmet for both.
scanAllResources'ecsdescriptor (tagging_plugin.go:250) isp.scanECSClusters, which lists the cluster prefix only (:524). So a tag written to an ECS service or task definition is readable through ECS's own operation and still does not appear in aGetResourceslisting. That half of both rows stays here. My earlier comment said this would remain, and it did.Same shape for two other scanners, worth noting because they bear on the rows below:
scanStepFunctionsStateMachines(:248) covers state machines and not activities, andscanRDSInstances(:253) covers DB instances and not clusters or subnet groups.Also corrected in this cut
docs/services.md:5794-5806still described the behaviour v0.115.0 removed — it claimed all eleven types meant "the Resource Groups Tagging API cannot tag them" and that "aTagResourceon an ECS task definition answers200and writes nothing" — while:7647-7658in the same file enumerated the reachable set correctly. The file contradicted itself about its own subject. Fixed in #867.What remains — nine types plus the two ECS scanners
AWS::KMS::Key,AWS::SecretsManager::Secret,AWS::SNS::Topic,AWS::StepFunctions::Activity,AWS::RDS::DBCluster,AWS::RDS::DBSubnetGroup,AWS::ACM::Certificate,AWS::CloudFront::Distribution,AWS::SSM::Parameter— plusGetResourcescoverage for the two ECS types above.All nine keep tags on the record, with a key derivable from the ARN. No index walk anywhere in this set, so each is a resolver arm plus a merge arm plus a scanner. The verified ARN formats in my earlier comment are unchanged and still apply.
Two structural prerequisites — the reason this is not just nine arms
statesandrdsmerge arms decode unconditionally and would truncate a record.tagging_plugin.go:1206decodesStateMachineStateand:1253decodesRDSDBInstancewhatever the key names. That is exactly the shape theecsNamespacearm was in before v0.115.0, and its replacement's comment says so: "this arm previously decodedECSClusterwhatever the key named — safe only while the resolver could reach nothing but a cluster." Adding a Step Functions activity or an RDS cluster/subnet group to the resolver before converting these two arms toecsMergeRecordTags' raw-JSON pattern would round-trip the record through the wrong struct and silently drop every member that struct does not carry. That is data loss, not a missing feature, so it lands first.rdsResolveARN(rds_plugin.go:1371) hasdbandsnapshotarms only, and the tagging resolver'srdsarm (tagging_plugin.go:1029) handlesdb:alone. So cfn: the aws:cloudformation:* stamp covers EC2 only, so the rest of a stack is unstamped #765's cross-readability criterion cannot be met for a cluster or a subnet group until it gainscluster:andsubgrp:.Two of this issue's table rows are wrong
UntagResourceat all, and worse: anOperation=Untagrequest is misrouted toTagResource, whoseTags>Items>Tagdecode matches nothing in a<TagKeys>body (with the decode error discarded), so the distribution is written back unchanged and the caller receives the tagging success. Filed as CloudFront has no UntagResource, and an untag request is misrouted to TagResource and answers success #883. A round-trip assertion on CloudFront is meaningless until that is closed.Suggested sequencing
Prerequisites first (raw-JSON conversion of the
states/rdsmerge arms;rdsResolveARN's two new arms), then the seven types that already have native tagging, then RDS cluster and subnet group once their native operations exist. #883 gates CloudFront. The two ECSGetResourcesscanners are independent of all of it and are the cheapest thing in the issue.fix(rds): tag a DB cluster and subnet group through the ARN RDS repor…
scttfrdmn commentedon Sep 15, 2026
Two more rows shipped in #908 (RDS DB cluster, RDS DB subnet group). Seven of the original eleven remain, so this stays open.
Where the issue now stands
ecsTagStateKey,tagging_plugin.go'secsarm)What #908 changed that changes the remaining analysis
One structural prerequisite named in this issue's plan is now discharged. The
rdsarm ofmergeResourceTagsdecoded every record into anRDSDBInstanceand stored the result back,whatever the key named — so tagging a cluster silently dropped its
Endpoint,ReaderEndpoint,MasterUsernameandPort. That arm now edits the tags member of the raw JSON through a newshared
mergeRecordStringMapTags(raw, member, addTags, removeKeys), generalized out ofecsMergeRecordTags.The same helper is what the two Step Functions rows need, and it now exists: the
statesNamespacearm (tagging_plugin.go) still decodesStateMachineStateunconditionally andwould truncate an activity the same way. So that half of the prerequisite is no longer new work —
it is one call to an existing helper, with the member name as its parameter (
statesspells itdifferently from RDS's
Tagsand ECS'stags, which is precisely why the name is a parameter andwhy a member differing only in case is refused rather than written alongside).
The other prerequisite for the Step Functions rows is #910, filed while implementing this one.
All three Step Functions tag operations take the account and Region from the calling request
rather than from the ARN, so an ARN naming another account's same-named state machine reaches the
caller's own record —
UntagResourcebeing the damaging direction. That is the same defect #908fixed on the RDS side and the same class #826/#845 closed for SQS, DynamoDB and the tagging
resolver. It has to be closed before a
activity:resolver arm routes through that code, notafter, or the new arm inherits it.
Two of this issue's own table rows were wrong, and #908 confirms the corrections
not.
AddTagsToResource,RemoveTagsFromResourceandListTagsForResourceaccept any RDS ARN;what they lacked was a
cluster:/subgrp:arm inrdsResolveARN, which is a different defect— substrate handed callers an ARN out of
CreateDBClusterthat its own tag operations thenrefused as an unsupported resource type. cfn: the aws:cloudformation:* stamp covers EC2 only, so the rest of a stack is unstamped #765's rule, broken in the plainest way.
UntagResourceat all (filed separately and shipped as fix(cloudfront): add UntagResource, and stop routing an untag to the tag write (#883) #900), so its rowcould not have been satisfied by a resolver arm alone.
Recorded for whoever takes the remaining rows
snapshot:rds:{name}andthe extra segment belongs to the identifier — such a snapshot really is named
rds:mydb-2019-07-22-07-23— so aSplitN(arn, ":", 7)keeps the remainder intact and addressesthe right resource. An earlier reading that called this a mis-parse was wrong; the finding is
recorded in
rds_tags.go' preamble and asserted in both directions.leaving it invisible to a caller discovering resources, so each row needs its
GetResourcesscanner too. fix(rds): tag a DB cluster and subnet group through the ARN RDS reports (#835) #908 added
scanRDSClustersandscanRDSSubnetGroups; the scanner count indocs/services.mdis now eighteen.ecs:taskalso selects task definitions #909), which is whyrds:clusterwould alsoselect a
cluster-pg:orcluster-snapshot:ARN. Unreachable today only becauserdsResolveARNrefuses both segments; it becomes reachable the moment any future row stores one.
fix(stepfunctions): tag the resource the ARN names, in the shape AWS …
5 remaining items
fix(kms): a KeyId resolves from its own ARN, and the tagging API reac…
scttfrdmn commentedon Sep 16, 2026
The KMS row shipped in #924 — three of the eleven remain
AWS::KMS::Keyis now reachable: a resolver arm, a merge arm behind a colon-terminated kind guard, and aGetResourcesscanner. Seventeen wire tests, every tag read back through KMS's ownListResourceTagsper #765 and in the other direction throughGetResources. Merged as 30213dd.It shipped with its owning-service resolution fix, #922, in one commit — not for tidiness.
resolveKeyIDtook the last/-delimited component of aKeyIdand its eighteen callers keyed the load and the store by the caller's own account and Region, so a foreign-account key ARN addressed the caller's own key of that ID. Fixing that is what made the cross-account case reachable: all three KMS tagging operations publish "Cross-account use: No", but while the account came from the request context the prohibition had nothing to refuse, so honouring the ARN without adding the refusal would have turned a wrong-record write into a genuine cross-account write. The same is worth checking before each remaining row — the answer differs per service, and #920 found ACM's ctx-keying was correct.Running tally against the issue's own table:
AWS::ECS::ServiceAWS::ECS::TaskDefinitionAWS::StepFunctions::ActivityAWS::RDS::DBClusterAWS::RDS::DBSubnetGroupAWS::ACM::CertificateAWS::CloudFront::DistributionAWS::KMS::KeyAWS::SNS::TopicAWS::SecretsManager::SecretAWS::SSM::ParameterThe array-shaped prerequisite is discharged
mergeRecordTagListTags(raw, member, keyField, valueField, addTags, removeKeys)now sits besidemergeRecordStringMapTagsinemulator/tagging_plugin.go. It folds the array to a map bykeyField, merges through the samemergeStringMapthe string-map helper uses — so the two cannot diverge on case-collision or removal semantics — and re-emits sorted by key per #862, because a slice built from a Go map range answers differently on each run. An emptied member is emitted as[]rather than dropped or nulled, so the record keeps the shape its Go struct decodes.The field names are parameters because KMS alone spells them
TagKey/TagValue; SNS, Secrets Manager and SSM all useKey/Value, so all three pass those and need no new helper.The colon-terminated guard was needed a third time:
keyis a prefix ofkey_idsandkey_policy, andaliasofalias_names.key_idsis a JSON array of identifier strings, which a bare-prefix test would report taggable and a merge would leave looking like a record.Verified for the three remaining rows, so none needs re-researching
Sourced from the AWS API references and developer guides during #924's work.
SNS topic. ARN
arn:aws:sns:{region}:{account}:{topic-name}— no type keyword and no separator, which makes it the only remaining row where the anchored-segment rule of #910 has nothing to anchor on; the resource portion is the name.ResourceArnmax length 1011. Query/XML protocol.TagisKey/Value(1–128 / 0–256). The docs nameTags.member.N/TagKeys.member.Nbut AWS's own examples wireTags.Tag.1.KeyandTagKeys.TagKey.1— accept both. The response XML emits<Value>before<Key>. No pagination onListTagsForResource. Errors:AuthorizationError403,ConcurrentAccess400,InvalidParameter400,ResourceNotFound404 — the only one of the four remaining services published at 404 —StaleTag400,TagLimitExceeded400,TagPolicy400;ListTagsForResourceomitsStaleTag/TagLimitExceeded. Tagging actions are limited to 10 TPS. A cross-account statement was not found on any of the three pages. In-tree:snsNameFromARN(emulator/sns_plugin.go:1130) is reached by ten operations including all three tag ones and is the #918-class site to fix.Secrets Manager secret. ARN
arn:aws:secretsmanager:{region}:{account}:secret:{Name}-{6 random chars}— colon separator, type keywordsecret. A name may contain/, and may itself end in-xxxxxx, so trimming at the last-is unreliable and AWS calls out the ambiguity.TagisKey/Value, both Required: No.TagResourceappends;UntagResourceis explicitly idempotent. There is noListTagsForResource— the read path isDescribeSecret, and "Secrets Manager only returns fields that have a value in the response", so an untagged secret should omitTagsentirely, which is what #765's read-back has to assert against. Errors:InvalidParameterException400,InvalidRequestException400,ResourceNotFoundException400,InternalServiceError500;DescribeSecretpublishes noInvalidRequestException.SecretIdaccepts a name, a full ARN, or a partial ARN — so, as with KMS's fourKeyIdforms, a non-ARN identifier must not be refused as a malformed ARN. In-tree:resolveSecretID.SSM parameter. The ARN prefix is published verbatim as
arn:aws:ssm:us-east-2:111122223333:parameter/and the parameter name carries its own leading/, which the concatenation absorbs. Names are hierarchical (max depth 15), charactersa-zA-Z0-9_.-plus/, max 1011 for the caller-specified part, and cannot be prefixedawsorssm. Confusable siblings in the same namespace:document/,servicesetting/,opsmetadata/.TagisKey/Value. The request member isTagsbut the response member isTagList.ResourceTypeis a ten-value enum, in order:Document | ManagedInstance | MaintenanceWindow | Parameter | PatchBaseline | OpsItem | OpsMetadata | Automation | Association | CloudConnector. ForParameter,ResourceIdis the parameter NAME, not the ARN — so the tagging API's arm and SSM's own arm take different identifiers and the shared-key-builder criterion has to be met across that gap. Errors:InvalidResourceId400,InvalidResourceType400,TooManyTagsError400,TooManyUpdates400,InternalServerError500; there is no distinct not-found code — a nonexistent parameter isInvalidResourceId/400. The array caps at 1000 items but the resource caps at 50 tags. Whether aParameterResourceIdtolerates a leading/is unverified. In-tree:addTagsToResourceignoresResourceTypealtogether.Cross-service, from the General Reference's tagging quotas: 50 user-created tags per resource, key 1–128, value 0–256, keys cannot begin
aws:.All three build their merged tag slice from a Go map range with no sort, so each row's PR carries a #862 fix for the owning service as well as using the sorted helper.
Filed separately from #924
NotFoundExceptionat HTTP 404 at fifteen pre-existing sites where every tagging page publishes 400, plusInvalidRequest(a code KMS does not publish) at twenty-one sites andDisabledExceptionat 409 rather than 400. The split ACM tagging: ResourceNotFoundException is published at 400, not 404, and InvalidArnException is unmodelled #921 took for ACM: one diff should not carry two compatibility changes. A test pins the current 404 so the follow-up has something to change.Two residues of #924 are recorded there and in
docs/services.mdrather than left silent: the other fifteenKeyIdoperations do not enforce the Region (soDescribeKeyon a foreign-Region key ARN answers with that key rather than a local impostor — strictly better, but real KMS would refuse), andKMSInvalidStateExceptionfor tagging a key pending deletion is unmodelled at either arm.fix(sns): a TopicArn resolves to the topic its own ARN names (#925) (#…
scttfrdmn commentedon Sep 16, 2026
SNS shipped — the fourth row, in #927
fix(sns)(#927,ebea384) delivers the SNS row, alongside its own resolution prerequisite #925. Aswith the previous three, the two halves shipped as one PR because they are one change seen from
two sides: a single context-free key builder that both the tagging API's resolver and SNS's own ten
TopicArn/ResourceArnoperations call, so neither API can address a topic the other would not.Running tally
statesmerge armrdsResolveARNgaining acluster:armrdsResolveARNgaining asubgrp:armFive remaining rows, plus the two ECS scanner halves (rows 1 and 2 are writable and cross-readable
through
ecsTagStateKey, butGetResourcesdoes not enumerate them).What the SNS row needed that the earlier four did not
The anchored-segment rule of #910 has nothing to anchor on. An SNS topic ARN is
arn:aws:sns:{region}:{account}:{topic-name}— no type keyword, no separator before the name, theresource portion is the name. Every earlier row matched a type against a delimited segment
(
certificate/,distribution/,key/,service/). Here the only discriminator the shape offers isthe colon: a subscription ARN appends
:{sub-id}, so a resource portion containing a:is not atopic. That is recorded as substrate's reading, since it follows from the two shapes rather than from
any published sentence.
The colon-terminated taggability guard is now on its fourth namespace.
topicis a prefix oftopic_names, joiningcert/cert_arns,cfdist/cfdist_idsandkey/key_ids. Four out of fivenamespaces so far have needed it; it should be treated as the default for the remaining rows rather
than as a per-service discovery. Secrets Manager (
secret/secret_version) and SSM(
parameter/parameter_paths) both collide, so both will need it.No cross-account prohibition to enforce. KMS needed an explicit
kmsRequireLocalbecause thedeveloper guide publishes "You cannot tag … KMS keys in other AWS accounts." SNS publishes no such
statement on any of its three tagging pages — searched for, not found, and recorded as a negative
finding. So isolation is emergent, as ACM's is: the account- and Region-qualified state key means a
foreign-account ARN builds a key nothing is stored at.
The merge helper needed no new variant.
mergeRecordTagListTags(introduced for KMS) took theKey/Valuefield names as parameters precisely so this would be reuse rather than a fifth helper.KMS's
TagKey/TagValueremains the one exception in the set. Secrets Manager and SSM both spellKey/Value, so the same call shape carries them.Corrections to the record
The KMS-pass comment above claimed the SNS tag list was built from a Go map range with no sort.
That is wrong — it was a slice throughout, so the ordering defect was a missing sort on write, not
nondeterminism. It is corrected in #925's body as well. The remaining rows' map-range claims are
therefore not to be trusted from that comment and are being re-verified per service.
Two things found and filed rather than folded in
Publish,PublishBatchandSubscribenever load the topic, so they succeed againstone that does not exist where AWS answers
NotFound.Subscribeis the one that writes, leavingan orphan subscription record and two index entries. Milestone v0.118.0. A different defect from this
issue's: The Resource Groups Tagging API cannot write tags for eleven types: mergeResourceTags has no arm #835 and fix(sns): a topic ARN resolves to the caller's own account, and a subscription ARN resolves to its own UUID #925 settle which topic an ARN addresses; SNS: Publish, PublishBatch and Subscribe never load the topic, so an absent topic answers 200 #926 is about whether it has to exist.
account. A cross-account subscription is not modeled at all, so moving them would leave
Publishreading an index the subscriptions are not in. Only the topic record is what an ARN addresses, and
it is the record tags live on. Same argument as the ACM pass.
Next
Secrets Manager, then SSM, one PR each, same three-part shape and each carrying its own owning-service
resolution fix —
resolveSecretIDreturns the last:-segment of an ARN and ignores the account andRegion, and
addTagsToResourceignoresResourceTypeentirely. Both are #826-class and both areprerequisites for their row, exactly as #925 was for this one.
This issue stays open.
fix(secretsmanager): a SecretId resolves to the secret its own ARN na…
scttfrdmn commentedon Sep 16, 2026
Secrets Manager shipped — the fifth row, in #931
fix(secretsmanager)(#931,6bcf0ee) delivers the Secrets Manager row alongside its own resolutionprerequisite #928. One PR again, for the reason the previous four established: a single context-free key
builder that both the tagging API's resolver and Secrets Manager's own ten
SecretIdoperations call,so neither API can address a secret the other would not.
Running tally
statesmerge armrdsResolveARNgaining acluster:armrdsResolveARNgaining asubgrp:armFour remaining rows, plus the two ECS scanner halves.
GetResourcesnow scans twenty-fourresource types.
What this row needed that the earlier five did not
The identifier is legitimately either an ARN or a bare name. AWS documents
SecretIdas "The ARNor name of the secret". A name carries no account, so the caller's own account is the correct
source for that one case — which makes "never read the request context" the wrong rule here, and
refusing everything that is not an ARN the easy over-correction.
The separation is structural rather than a convention ten handlers have to remember:
smParseSecretARNtakes no account, Region or
*RequestContextas parameters at all, and only the name path is giventhem. Anything beginning
arn:that does not parse is refused rather than falling back — a caller whowrote an ARN prefix meant an ARN, and the old fall-through turned a typo into a
200against thecaller's own secret.
The tagging arm takes an ARN only. Its parameter is
ResourceARNList, so there is nothing there forthe caller's account to supply, and the name fallback would be a second parser.
Unlike SNS, this shape has a keyword to anchor on.
secretis the fifth colon-delimited segment, so#910's anchored-segment rule applies directly — matched as a whole segment, which is what refuses
secretpolicyand any keyword AWS adds later. The name is the whole remainder after it, so ahierarchical
prod/db/passwordsurvives the round trip; taking the ARN's last component would truncateit to
password.The colon-terminated guard is on its fifth namespace, and this one is the strongest case for it
anywhere in the set.
secretis a prefix of bothsecret_namesandsecret_version. Four of fivenamespaces have now collided, so it is the default for the remaining rows. What makes this one different
is the consequence: the version key's value is a caller's secret payload, and not JSON at all, so a
merge there would corrupt the secret rather than merely write where nothing reads. It is also why the
scanner reports nothing for it — emitting an ARN for the one key in the tree whose value is a caller's
secret would be worse than reporting no secret.
#765's cross-readability criterion is met through
DescribeSecret. Secrets Manager publishes noListTagsForResource— verified against its 23-operation list. Substrate implements one anyway, whichis a separate defect (#929) and was filed rather than removed in this PR, so a removal is not mixed into
a resolution fix.
DescribeSecretalso had to stop emitting"Tags": nullon an untagged secret, sincethat is the member this row is asserted through.
The map-range ordering claim held here. Secrets Manager's own
TagResourcegenuinely builds itsmerged list by ranging a Go map, unlike SNS. It was re-verified per this issue's own comment rather than
inherited from the KMS-pass note.
CreateSecretwas sorted too, so a secret tagged at creation and onetagged afterwards report their tags in the same order.
No cross-account prohibition to enforce, as with SNS and unlike KMS: none appears on Secrets
Manager's tagging pages. Isolation is emergent from the account- and Region-qualified state key.
One thing deliberately not done, because the row depends on it
Substrate mints a secret ARN with no random suffix, where AWS appends
-plus six characters. AWS'sown warning — "Do not end your secret name with a hyphen followed by six characters" — is the reason
that matters: a name may itself end that way, so trimming the suffix back off cannot be done in general.
Substrate minting none is precisely what makes this row's ARN-to-name derivation exact. Adding one would
make the resolver ambiguous by construction and would change a value CloudFormation records as a
physical ID. Recorded on #928 and in
docs/services.md; it is an #826-class decision of its own.Two things found and filed rather than folded in
ListTagsForResource, an operation the Secrets Manager API does notpublish. An emulator answering an operation AWS refuses is as wrong as one refusing an operation AWS
answers, and the second is at least visible in a test.
ResourceNotFoundExceptionis answered at 404 where AWS publishes 400, at all tenoperations through one helper, plus
DescribeSecret's other unconditionally-emitted members. Sameclass as ACM tagging: ResourceNotFoundException is published at 400, not 404, and InvalidArnException is unmodelled #921 (ACM) and fix(kms): NotFoundException is HTTP 400, and InvalidRequest is not a KMS code #923 (KMS), filed on the same reasoning: correcting which resource an
identifier names is a different change from correcting what status a refusal carries.
Next
SSM parameters, same three-part shape and carrying its own owning-service resolution fix —
addTagsToResourceignoresResourceTypeentirely, so aParameterResourceIdcan address aDocumentor anOpsItem. Two facts already verified for it: the guard collision isparameter/parameter_paths, and forResourceType: ParametertheResourceIdis the parametername, not the ARN — which makes it the first row where the owning service's own tag operations do
not take an ARN at all. The map-range claim will be re-verified for it rather than assumed.
This issue stays open.
fix(ssm): a tag call resolves to the resource type it names (#932) (#934
scttfrdmn commentedon Sep 16, 2026
Systems Manager shipped — the sixth row, in #934
fix(ssm)(#934) delivers the SSM parameter row alongside its own resolution prerequisite #932. One PRagain, for the reason the previous five established: a single context-free key builder that both the
tagging API's resolver and Systems Manager's own tag operations reach, so neither API can address a
parameter the other would not.
Running tally
statesmerge armrdsResolveARNgaining acluster:armrdsResolveARNgaining asubgrp:armThree remaining rows, plus the two ECS scanner halves.
GetResourcesnow scans twenty-fiveresource types.
What this row needed that the earlier six did not
It is a resource-type confusion, not an account confusion — the first in this series. Every
earlier row asked whose resource an identifier names. This one asks what kind. AWS publishes
ResourceTypeasRequired: Yesover a ten-value enum, and all three of SSM's tag operations decodedthe member and never read it, so
{"ResourceType": "Document", "ResourceId": "MyRunbook"}tagged theparameter named
/MyRunbook— andListTagsForResourcewith the same pair read the tag back,confirming that the wrong resource had been tagged. A value outside the enum was accepted too, which
made
InvalidResourceTypeunreachable.#826's own rule is inapplicable to half of this row, and that is what makes it novel. AWS is
explicit — "For the
DocumentandParametervalues, use the name of the resource" — so an SSMResourceIdcarries neither account nor Region, and the caller's own are the only possible source forthem. There is nothing for "the account comes from the ARN" to guard on that side. The tagging API's
side does take an ARN, and
ssmParseParameterARNaccordingly takes no account, Region or*RequestContextat all, so the rule is structural where it applies. Both arms meet at one state-keybuilder.
Two refusals, kept distinct because they tell a caller two different things. Outside the enum is
InvalidResourceType, whose own AWS description — "The resource type isn't valid" — is the truestatement about it, with the ten valid values named in the message. Inside the enum but modelling no
taggable resource is
InvalidResourceId: the type is real, and it is the identifier that names nothing,which is #827's honest-empty behaviour. Answering one code for both would tell a caller who mistyped
Parameterthat their parameter is missing.The ARN has no separator before the name, because the name carries its own —
parameter/db/passwordis the whole resource portion. #910's anchored-segment rule therefore applies to the first
/-delimited segment rather than to a colon-delimited one, and the name is the whole remainder with the/restored. Taking the last component would truncate/db/passwordtopassword, which a testasserts against a decoy parameter planted at that name. The state key consequently carries a doubled
separator (
parameter:{account}/{region}//db/password); that is the shape already on disk and is leftalone, since changing it would orphan every stored parameter.
The colon-terminated guard is on its sixth namespace.
parameteris a prefix ofparameter_paths,whose value is a JSON array of names. Five of six namespaces have now collided, so it is no longer a
per-service discovery in any sense — it is the default for the three remaining rows.
The map-range ordering claim held here, and was re-verified per this issue's own comment rather than
inherited.
AddTagsToResourcegenuinely built its merged list by ranging a Go map.PutParameterhadthe same problem from the other side, storing the caller's order, so a parameter tagged at creation and
one tagged afterwards reported their tags differently; both are sorted now, per #862.
#765's cross-readability criterion is met through
ListTagsForResource— an operation SystemsManager genuinely publishes, unlike the one Secrets Manager's row had to work around (#929). It also had
to stop rendering an untagged parameter's
TagListasnullrather than as the empty array AWSpublishes, since that is the member this row is asserted through.
No cross-account prohibition to enforce, as with SNS, Secrets Manager and ACM and unlike KMS.
Isolation is emergent from the account- and Region-qualified state key.
One thing recorded as substrate's reading rather than as AWS's
The leading-slash tolerance. AWS documents it explicitly only for
OpsMetadata, whoseResourceIDmay be given as either
aws/ssm/MyGroup/appmanageror/aws/ssm/MyGroup/appmanager— for aParameterthe reference says nothing. It is kept anyway, because it is required by substrate's ownbehaviour:
PutParameternormalizesNameto a leading/, so a caller who createdMyParamwouldotherwise be unable to tag it. Asserted from both directions and recorded in
docs/services.md.Similarly, an absent
ResourceTypeanswersValidationExceptionas substrate's reading — AWS's ownserver-side code for it cannot be verified, since the member is required and every SDK refuses the call
before it reaches the service.
Filed rather than folded in
InvalidResourceIdis answered at 404 where AWS publishes 400, at all three tagoperations. Same class as ACM tagging: ResourceNotFoundException is published at 400, not 404, and InvalidArnException is unmodelled #921 (ACM), fix(kms): NotFoundException is HTTP 400, and InvalidRequest is not a KMS code #923 (KMS) and fix(secretsmanager): ResourceNotFoundException is 400, not 404, and DescribeSecret emits members AWS omits #930 (Secrets Manager), filed on the same
reasoning. All three operations now route through one helper, so the fix is a single line.
Two smaller findings recorded without an issue, since neither is a wrong answer: substrate models no
tag-count cap for SSM (AWS caps most resources at 50, arrays at 1000, Automations at 5), and
LabelParameterVersionis a stub that always reportsParameterVersion: 1.Next
Step Functions activity, then the two RDS rows — and all three are now blocked on structural
prerequisites rather than on a resolver arm, which is why they were deferred ahead of SSM:
statesarm ofmergeResourceTagsdecodesStateMachineStateunconditionally and wouldtruncate an activity's record, so it needs converting to the raw-JSON merge pattern the six shipped
rows use;
rdsResolveARNhasdbandsnapshotarms only, so cfn: the aws:cloudformation:* stamp covers EC2 only, so the rest of a stack is unstamped #765's cross-readability criterion cannot be metfor a cluster or a subnet group until it gains
cluster:andsubgrp:— and this issue's own tableis wrong for both of those rows, which have no service-native tagging to be readable through.
The two ECS scanner halves remain independent of all three.
This issue stays open.
scttfrdmn commentedon Sep 16, 2026
Correction to the tally in the comment above
The table in my previous comment lists rows 9–11 — a Step Functions activity, an RDS DB cluster and an
RDS DB subnet group — as remaining, and each as blocked on a structural prerequisite. All three
already shipped, ahead of the six rows the running tally was counting:
448c348448c3488c25b83Both prerequisites the v0.116.0 planning named are therefore also already discharged, and I should have
checked the tree rather than the plan:
mergeResourceTags'statesarm goes throughmergeRecordStringMapTagsbehindsfnKeyIsTaggable(tagging_plugin.go:1629), itsrdsarm throughthe same helper behind
rdsKeyIsTaggable(:1684), andrdsResolveARN(rds_tags.go:61) carriescluster:andsubgrp:arms. All three rows have their scanner and their assertions too —scanStepFunctionsActivities,scanRDSClustersandscanRDSSubnetGroupsare registered descriptors,and
TestSFNTags_GetResourcesReportsBothStepFunctionsTypesandTestRDSTagging_GetResourcesReportsEveryRDSTypeassert theGetResourceshalf.The running tally has been undercounting since #920, which numbered ACM and CloudFront "two of the
eleven rows; nine remain" — arithmetic on eleven that overlooked the five rows already delivered (ECS's
two in v0.115.0, RDS's two in #908, Step Functions' one in #911). Each subsequent entry carried the
error forward. The unreleased
CHANGELOG.mdentries and thedocs/services.mdtally will be correctedin the next PR, since none of them has been released.
The true state
So every one of the eleven types has its
mergeResourceTagsarm and its resolver arm — criterion 1and criterion 2 are met for all eleven. What remains is criterion 3 for two of them:
GetResourcesreports an ECS cluster and nothing else in the namespace, because
scanECSClustersis the only ECSdescriptor. A tag written to a service or a task definition through
TagResourcesis readable throughECS's own
ListTagsForResourceand invisible to a caller discovering resources — the same asymmetryeach of the other nine rows closed with its scanner.
That is the last piece of this issue, and it is one PR rather than nine: a scanner per ECS type over
the keys
ecsServiceKey,ecsTaskKeyandecsTaskDefKeyalready produce. A task is in scope withthem —
ecsTagStateKeyreaches one and RGTA's own resource-type list carries it — so the pass coversthree descriptors, not two.
Filed as its own issue and this one stays open until it lands.
test(tagging): assert the filter rule per reachable type, and #909's …
docs(tagging): list the ECS shapes that carry no tag, with the reason
feat(tagging): GetResources reports an ECS service, task and task def…
scttfrdmn commentedon Sep 16, 2026
Closed by #940, which delivers the last piece: the ECS namespace's scanner half.
scanECSClusterswas the namespace's only descriptor, soGetResourcesreported a cluster andnothing else. #940 adds
scanECSServices,scanECSTasksandscanECSTaskDefinitions, bringing thescanned set to twenty-eight resource types. A task shipped with the two rows this issue's table
names, because
ecsTagStateKeyalready resolved a task ARN — so a tag could be written to one and readback nowhere — and AWS lists tasks first among the taggable ECS resources.
Acceptance criteria
mergeResourceTagsarm per type, keyed on its namespace, unmarshalling the concrete record.All eleven. Each row also keys through the one state-key builder the owning service's own tag
operation uses, which was not in the original criteria and turned out to be the thing that made
the arm correct rather than merely present.
TagResourcesand reading back through that service's own tag-readingoperation, per cfn: the aws:cloudformation:* stamp covers EC2 only, so the rest of a stack is unstamped #765. All eleven, in both directions where the service has both.
GetResourcesreports the tag for each. The last two were ECS's, in feat(tagging): GetResources reports an ECS service, task and task definition (#935), and a ResourceTypeFilters type is the ARN's own segment (#936) #940.docs/services.mdwith thereason. This was the last one outstanding, and feat(tagging): GetResources reports an ECS service, task and task definition (#935), and a ResourceTypeFilters type is the ARN's own segment (#936) #940 finished it. A KMS alias and a CloudFront
origin access identity and invalidation were already there; ECS's three refused shapes were
not — they existed only as
whystrings intagging_arn_guards_test.go, which is not where aconsumer looks. They are now a table in the tagging section: a capacity provider (AWS lists it
among the taggable ECS resources, substrate stores no such record, so there is nothing to read a
tag back from), AWS's documented short service ARN (it names no cluster, so it identifies no
record), and a task-definition ARN whose revision is not an integer. A container instance takes
the capacity provider's reason, and absence —
ResourceNotFoundException— is distinguished fromshape.
docs/services.mdrecords which types the tagging API can write to — and, separately, whichit can scan, since feat(tagging): GetResources reports an ECS service, task and task definition (#935), and a ResourceTypeFilters type is the ARN's own segment (#936) #940 is the release where those two sets stopped being the same question.
The remaining difference is now four types: an EFS access point and Glue's job, crawler and
connection.
What the issue asked to check, answered
It answered 200 having written nothing, which was the more serious half, and it was fixed early
rather than at the end:
applyTagsToResourcenow returns an error on every non-write, so a requestsubstrate cannot satisfy reports a
FailedResourcesMapentry instead of a success. Two relatedfindings came out of the same audit and are recorded on their own issues rather than here — that a
resolvable ARN naming a nonexistent resource also answers
InternalServiceException/500, whichconflates "unsupported type" with "no such resource" (#939), and that
GetResourcesreports untaggedresources, which AWS omits (#938).
Three corrections this issue accumulated, all now on the record
arithmetic on eleven that overlooked five rows already delivered. The five unreleased
CHANGELOG.mdentries and the
docs/services.mdtally carrying that error are corrected in feat(tagging): GetResources reports an ECS service, task and task definition (#935), and a ResourceTypeFilters type is the ARN's own segment (#936) #940.as having service-native tagging, and CloudFront was listed with an
UntagResourceit did not haveuntil fix(cloudfront): add UntagResource, and stop routing an untag to the tag write (#883) #900.
written — the
statesandrdsmerge arms had been converted, andrdsResolveARNalready carriedcluster:andsubgrp:. I should have checked the tree rather than the plan; that is what thecorrection comment above records.
The CloudFormation stamp for these eleven types is not part of this issue and stays open as #819:
none of them has an entry in the deployer's own type table, which is why
docs/services.mdstill listsall eleven as unstamped.
feat(cfn): stamp the twelve resource types #835 unblocked (#819) (#1040)