https://pulumi.com logo
#aws
Title
# aws
r

refined-bear-62276

12/01/2020, 11:14 PM
hello friends, I'm curious about SpotInstances. When I run
pulumi up
and an instance is replaced, the old SpotInstance is not terminated, just kind of hangs around, is that the expected behavior?
p

purple-arm-63328

12/16/2020, 6:14 PM
I suppose you mean the Spot EC2 Instance, right? If that's the case, try setting
terminate_instances_with_expiration=True
on the Spot Fleet Request (if you are using that).