Ashishkumar Pandey
10/14/2021, 11:00 AMSimon Reilly
10/14/2021, 11:46 AMAshishkumar Pandey
10/14/2021, 11:48 AMSimon Reilly
10/14/2021, 11:51 AMOmi Chowdhury
10/14/2021, 11:52 AMAshishkumar Pandey
10/14/2021, 11:53 AMSimon Reilly
10/14/2021, 11:53 AMChad (cysense)
10/14/2021, 1:54 PMOmi Chowdhury
10/14/2021, 2:29 PMPatrick Young
10/14/2021, 4:20 PMSimon Reilly
10/14/2021, 4:24 PMSimon Reilly
10/14/2021, 4:24 PMPatrick Young
10/14/2021, 4:32 PMPatrick Young
10/14/2021, 4:34 PM"deps:watch": "rush build:watch --to-except @insert-this-package-name",
Insert with whatever you called that package 🙂Patrick Young
10/14/2021, 4:35 PMPatrick Young
10/14/2021, 4:36 PMSimon Reilly
10/14/2021, 4:38 PMChad (cysense)
10/15/2021, 2:57 AMI guess we don't want to couple things. E.g. micro service team makes no fronted changes, so don't want to wait ten minutes for a cloudfront invalidation.On this point, this is probably our biggest issue at the moment. I believe there are CDK specific ways to optimise for this. Specifically what we do is: 1. Don't use nested stacks so developers can deploy only the stacks they are working on.
cdk deploy frontendstack/*
2. Use the hotswappable feature so if there is just a change to microservice code thats all that is pushed (this has gotten our deploy times down to less than a minute).
3. Adding checks to ensure that only the right stacks are synthed (https://github.com/aws/aws-cdk/issues/11625#issuecomment-940887429)
4. Used cached assets (still trying to figure this out)
Microservices teams should not be able to break the vpc by accident, and bring everything down.Yeah great point. This is not something we have faced/considered yet but I think our workflow should prevent this. We have developers developing in there own AWS accounts, we have a sandbox account that developers can collaborate in and access console, and then we have a develop and prod account which will only be updated via CI/CD. Hopefully if a developer breaks a VPC it should be caught in sandbox or develop.
Simon Reilly
10/15/2021, 12:06 PM