You only need a security group ID to do that, so export the ID from one project and import to the other as a StackReference.
little-cartoon-10569
01/17/2024, 8:33 PM
It's not bad practice per se, but I'd strongly recommend adding a comment to the code that creates the group, listing all the projects that use that ID. If the group needs to be recreated (e.g. a name change), you'll need to remove all the rules in all the other projects first, to allow that to happen. Very awkward.