https://pulumi.com logo
#general
Title
# general
f

flat-appointment-12338

10/20/2021, 7:36 PM
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

little-cartoon-10569

10/20/2021, 7:38 PM
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

flat-appointment-12338

10/20/2021, 7:44 PM
yea different projects is where my mind was headed but I was hoping there would be a way to avoid that
l

little-cartoon-10569

10/20/2021, 7:47 PM
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.