AWS Lambda · Arazzo Workflow
AWS Lambda Tag a Function for Cost Allocation
Version 1.0.0
Resolve a function name to its ARN, apply cost-allocation and ownership tags, and read the tags back to confirm the merge.
Provider
Workflows
tag-function
Resolve a function's ARN, apply tags to it, and verify the resulting tag set.
Looks up the function to obtain the ARN the tagging endpoints require, applies a set of key-value tags, and lists the tags afterwards to confirm the merged result.
1
resolveFunctionArn
getFunction
Look up the function to obtain its full ARN. The tag endpoints are keyed by ARN, not by function name, so this lookup is a hard requirement rather than a convenience. The response also carries the tags already on the function.
2
applyTags
tagResource
Apply the tags to the resolved ARN. The call merges: keys present are set or overwritten, and keys absent from this payload are left alone. It returns 204 with no body, which is why the tag set has to be read back to be observed.
3
verifyTags
listTags
List the tags on the function to confirm the merged result, showing both the newly applied keys and any pre-existing keys that survived.