This message was deleted.
# automation-api
s
This message was deleted.
b
I think you would just compartmentalize this kinda like this: 1. Deploy transient pre-production stack (maybe generate a stack name with the build id or something) 2. Run e2e tests 3. Destroy pre-production stack 4. Deploy production stack
I think if you are uploading your build artifacts with Pulumi than you might want to pull that portion out into a separate Pulumi project so that it can deployed independently of production/pre-production.
So that tearing down pre-production doesn't mean tearing down those artifacts.
s
Sound legit 🙂 I'm not sure we want to dispose the pre-production environment every time
b
Gotcha, so yea whatever works for you guys obviously but something like that is how I would do it
l
I think that sounds like a reasonable approach, and possible to implement a multi-stage workflow like this with automation api.
Do you have any specific questions that I can help with?