From e06a2cb3ccc9d5832f8bb2fd8310f5755e1e6107 Mon Sep 17 00:00:00 2001 From: Pahud Hsieh Date: Wed, 17 Jul 2024 18:00:52 -0400 Subject: [PATCH] chore(doc): Update INTEGRATION_TESTS.md callout the env.account should not be defined --- INTEGRATION_TESTS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/INTEGRATION_TESTS.md b/INTEGRATION_TESTS.md index 2073ec66a9a9e..ab196943c76db 100644 --- a/INTEGRATION_TESTS.md +++ b/INTEGRATION_TESTS.md @@ -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 +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