Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
package-authoring
pulumi-ai
pulumi-cdk
pulumi-cloud
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by
Title
f
full-artist-27215
06/21/2021, 4:38 PM
Is there a way to access the URL of a given Pulumi run (e.g., on
app.pulumi.com
) from the Automation API?
l
lemon-agent-27707
06/21/2021, 5:09 PM
You can get the permalink from an update result:
https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/auto#UpResult.GetPermalink
f
full-artist-27215
06/21/2021, 5:25 PM
🤔 Is that available from Python? I'm not immediately seeing an analog there.
r
red-match-15116
06/21/2021, 5:27 PM
Yeah, this is only in the Go SDK at the moment. Feel free to open an issue to implement this for python.
It will be included in
UpResult.stdout
though, so you can regex for it as needed.
f
full-artist-27215
06/21/2021, 5:37 PM
Cool, thanks for the pointers; I'll try and file an issue later today.
Turns out there was already an issue for this, which I've now commented in support of:
https://github.com/pulumi/pulumi/issues/5533
#automation-api
Join Slack