This message was deleted.
# automation-api
s
This message was deleted.
l
@tall-librarian-49374 built something similar using https://temporal.io/ which may be another option
i
nice; will definitely have to take a closer look at this! I currently have a stack for dev vms and redeploy the stack whenever we want to add/delete one (though dev can hibernate one anytime) .. nice thing is the code documents the machines, but this would be good for more ad-hoc environments
c
WOW.. Thanks @lemon-agent-27707 Appreciate it! Lemme check the script out.
t
c
@lemon-agent-27707 Thanks for the code. It gave me the power which pulumi has on automation, especially with the auto api. But I've to keep the state as it is.. means I've to commit that in to the version control. I've to keep the stack file, as
Pulumi.dev.yaml
for keeping the infra state. In your code, stack is something very disposible. But may I know is it possible, to 1. If I'm creating vms(5 vm) in the loop, and has seperate expiry times. 2. Is it possible to delete specific one ( expired one ) in the loop ?