Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Delivery is at-least-once, so handlers must be idempotent. Functions that report

The target function is resolved from the linked scope using the Lambda scope's naming convention. If that convention ever changes, the trigger fails with "function not found" rather than wiring something wrong.

Because the function name is derived from the scope, the link is only meaningful when bound to one: attached to the application, the context arrives without `tags.scope_id` and there is nothing to wire. The spec declares `assignable_to: scope` so the platform does not offer it at application level. Note that this only takes effect once the registering module forwards the field — `service_definition` currently does not.

## Local testing

Set `aws_profile` in `values.yaml`, run `aws sso login --profile <name>`, and start the agent locally. The service falls back to those credentials when no IAM provider is configured.
2 changes: 1 addition & 1 deletion dynamodb/specs/links/trigger.json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Trigger",
"slug": "trigger",
"unique": false,
"assignable_to": "any",
"assignable_to": "scope",
"use_default_actions": true,
"selectors": {
"category": "Database",
Expand Down