https://pulumi.com logo
#automation-api
Title
# automation-api
l

limited-rainbow-51650

01/24/2021, 11:55 AM
If I have the following input arguments: • organization name • project name • stack name • access token for the managed platform but I don’t have the actual stack sources around, can I use the Automation API to follow up on the latest activity? (new deploys as well as success/failure)
b

brave-planet-10645

01/25/2021, 9:47 AM
Hi Ringo, when you say "actual stack sources" do you mean the Pulumi program that created the stack and the resources?
l

limited-rainbow-51650

01/25/2021, 10:11 AM
Yes.
b

brave-planet-10645

01/25/2021, 10:16 AM
Just checking what you want to do.. you want to view the latest activity, but not access the resources in the stack?
Because you can definitely so the latter, where you can access resources and outputs from the stack without having the code that it was deployed with (demo here). If you're looking to basically view what you can see in the console you wouldn't use automation api for that
l

limited-rainbow-51650

01/25/2021, 1:48 PM
Yes, I would like to know about the updates as you can see on the platform console (app.pulumi.com)
b

brave-planet-10645

01/25/2021, 1:58 PM
That's not what automation api is then. Automation api is for interacting with the stack and deploying resources like a "normal" pulumi program Thanks for the confirmation Evan
👍🏼 1
l

lemon-agent-27707

01/25/2021, 9:06 PM
If there's more information you'd like to see exposed, it would be worth opening an issue to track.
l

limited-rainbow-51650

01/26/2021, 1:21 PM
@lemon-agent-27707 context is this: I’m building an integration of Pulumi for Concourse CI, called a resource type. An implementation of a resource type needs 3 binaries (info: https://concourse-ci.org/implementing-resource-types.html). Here is how I’m implementing part by scraping
<http://api.pulumi.com|api.pulumi.com>
REST api. https://github.com/ringods/pulumi-resource/blob/main/DEVELOPMENT.md#check Longing for either an official published REST API or support for this from a Go library, which doesn’t necessarily need to be the Automation API.