triggers: Trigger provider does not show up in construct tree #29657
Labels
@aws-cdk/triggers
Related to the triggers package
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p3
Describe the bug
The Trigger provider construct and its children don't seem to be showing up in the Construct tree. This means that it can't be used with Aspects to apply tags or execute any kind of overrides.
Expected Behavior
Current Behavior
tryFindChild
returns undefinedconsole.log(stack.node.findAll().map((n) => n.node.path));
does not show the Trigger provider constructsReproduction Steps
This was tested in two places: Fine-grained assertion tests and Python code using the published code from a custom CDK library.
Possible Solution
Convert this to a class property to be accessible by end users.
Possibly the use of a.
in the construct ID is causing this? Could it be as simple as maybe removing that or switching to a-
?`Disregard previous hypothesis. I was able to add a construct with a
.
and it was listed infindAll()
.Additional Information/Context
No response
CDK CLI Version
2.131.0
Framework Version
No response
Node.js Version
20
OS
macOS Sonoma
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: