Hey there! :slightly_smiling_face: I have a pulumi...
# automation-api
l
Hey there! 🙂 I have a pulumi program that saves it's state to an S3 bucket. Everytime I run pulumi destroy, I get the message about needing to remove the configuration files. Via the cli, I know how to do this. Is there a way to force that to happen with the automation API? I know I can just go delete the files / folder from S3, but I want to confirm there isn't an easier way first. Thanks!
l
there is a
remove_stack
api that is equivalent to`
pulumi stack rm
This unit test has an example: https://github.com/pulumi/pulumi/blob/d6b776210233f318075339eb7e40db7b60ec9113/sdk/python/lib/test/automation/test_local_workspace.py#L224
🙏 1