Open douglasnaphas opened 3 years ago
FeatureBranchATraitorStack
co-exist in my dev account with FeatureBranchBTraitorStack
.scripts
to package.json
for dev inter-commit CDK diffing and deployment.I was just thinking today how its very frustrating that local and prod are so different. I need to go over the details, but I love the idea.
I want to try out developing with no local dev at all.
This is crazy, but I think it will be better.
A local dev env threatens to be a massive time suck. It requires:
The payoff for all of this is:
I think the delay in seeing your changes is worth it. Especially since you don't have to commit to see changes--you can get your changes live by pushing to your development S3 bucket (for the frontend) or running
cdk deploy
from your local CLI (for everything else) between commits to a feature branch. Andcdk deploy
may often finish quickly, because CloudFormation will not deploy the entire stack with each deploy, but rather will only deploy the resources within the stack that have changed.This Issue includes setting up a GitHub Actions build or builds so that you can