I’m writing a rollback script for some AWS service...
# getting-started
g
I’m writing a rollback script for some AWS services provisioned in Pulumi. Right now I have a (fragile) bash script that parses
pulumi stack output
for various resource identifiers. I’d prefer to write the script in Python where I can actually import the relevant values, but I’m not sure if there’s a way to do this. Any guidance here? Thanks!
w
I think the automation API sdk is your friend here. See: https://www.pulumi.com/docs/guides/automation-api/
g
I’ll look into that, thanks for pointing me in the right direction!