fresh-xylophone-16772
01/23/2024, 12:11 PMsalmon-account-74572
01/23/2024, 5:08 PMpulumi destroy
on the old stack once all the traffic is moved over.
I hope this helps! Please continue to ask questions, and we'll do our best to help.fresh-xylophone-16772
01/23/2024, 5:59 PMblue
, green
, and backbone
. blue
has v1 in it, with load balancers, app servers, CNAME updated in route53 from backbone
, etc. all setup and deployed. When green
runs pulumi up
, it adds v2, route53, etc. Now…the doubt…sorry for being new and asking this ahead of time, if green
runs pulumi down
, does it properly remove solely the CNAME entires that it made and not try to tear down the whole route53 instance?salmon-account-74572
01/23/2024, 6:04 PMbackbone
manage the hosted zone, but the zone entries themselves could be created by blue
or green
(and therefore could also be destroyed by blue
or green
)
2. If you follow the approach in step 1, then yes, you should be good to go.
Obviously, you'll want to test all this to be sure it behaves as you expect (and as you want).little-cartoon-10569
01/23/2024, 7:06 PMbackbone
stack should not be a stack in the same project. Since it has completely different resources than blue
and green
, the correct solution here is to use two projects: one for the backbone stuff, and one for your deployable instance (`blue`/`green`).salmon-account-74572
01/23/2024, 7:07 PMbackbone
as a project, so Paul's comments are absolutely spot on.