When using the automation API with “remote deploym...
# automation-api
g
When using the automation API with “remote deployments”, Pulumi Deployments doesn’t seem to be picking up the credentials for the git repo from the GitHub App integration. Do the credentials have to be managed manually in that case?
r
How are you defining the deployment? You might need to set the deployment settings on the stack, and then just initiate the deployment using
inheritSettings
. We're also working on some improvements in this area.
g
I’m setting up a
LocalWorkspace
and then calling
auto.UpsertRemoteStackGitSource
and passing my Git repo information. I’m not passing credentials as part of that, but I kind of just assumed the GitHub App would be used since it is already authorized. Will give it a try with
inheritSettings
.
Yep, that worked great. Had missed that. Thanks!