-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(doc): update INTEGRATION_TESTS.md #30880
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -119,6 +119,9 @@ This will: | |
Now when you run `npm test` it will synth the integ app and compare the result with the snapshot. | ||
If the snapshot has changed the same process must be followed to update the snapshot. | ||
|
||
*Note - When running integration tests, refrain from defining the `env.account` property for stacks. This ensures that the synthesized | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this is the answer to this issue. I don't think account numbers are inherently considered sensitive information, but even if we decide to them as such, we should write a linter rule that explicitly prevents users from including them in snapshots. This might not apply to all tests, some of them need real account numbers (like cross account tests) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @comcalvi Agree. I have rephrased it this way Note - When running integration tests, Feel free to suggest changes. I think we still have to remind users that |
||
CloudFormation template from the snapshots does not contain your current AWS account information, promoting better security and portability. | ||
|
||
### New L2 Constructs | ||
|
||
When creating a new L2 construct (or new construct library) it is important to ensure you have a good | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note
should be bold 😊