aws-cdk-lib/assertions: Cannot run testing against ProductStack objects #24989
thebillest
started this conversation in
General
Replies: 1 comment
-
Unfortunately we can't help you debug this with the given code. I am moving this to discussion for general guidance. We probably need more details before we can address this issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
When trying to perform testing with cdk-nag, according to the methodology listed on this AWS blog, it fails if the stack passed into
Annotations.fromStack()
is aProductStack
.Expected Behavior
The expectation would be that the test would pass/fail based on the CDK-Nag output/findings.
Current Behavior
The mentioned code will fail with an error similar to:
Unable to find artifact with id "TestStackTestProductStack
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.69.0
Framework Version
No response
Node.js Version
19.8.1
OS
macOS Ventura 13.2.1
Language
Typescript
Language Version
No response
Other information
No response
Beta Was this translation helpful? Give feedback.
All reactions