I have a stack that has a bunch of AWS resources, ...
# general
f
I have a stack that has a bunch of AWS resources, including a Fargate task. Sometimes I want to update parts of the stack but I don't want to build the image and deploy a new Fargate task. Is there a way to skip a particular resource without deleting it?
l
In most cases, the answer is: you want different projects.
That said, if the constituents of the image haven't changed, the build shouldn't change so the task shouldn't get deployed. If the constituents haven't changed but you're still seeing unnecessary task deployments, you should review that part of the process.
f
yea different projects is where my mind was headed but I was hoping there would be a way to avoid that
l
No, and I think that's intentional. If two chunks of IaS can be deployed separately, then two projects is the intended way to represent that.
It's why StackReferences exist, really.