Hello, This is from the scheduled deployment outp...
# general
b
Hello, This is from the scheduled deployment output. If I run the deployment manually, it works properly. Ideas?
Copy code
$ /pulumi-deploy-executor pulumi detect-drift --stackIdentity="dev" --workDir="/deployment/projects/azure" 
2
 Error: Drift detection failed: error: getting stack configuration: opening environment: [0]  
3
 Diags: You do not have permission to perform this operation.
e
I believe this is due to the difference in permissions you have as a user and the default "stack" token that scheduled deployments use. Checkout https://www.pulumi.com/docs/pulumi-cloud/deployments/reference/#deployment-permissions on how you can set up a different token with more permissions.