enough-ability-20396
11/12/2019, 5:02 AMpulum preview
or pulumi up
commands, I see the following error log. Any ideas on what might be going on?
$ pulumi preview
Previewing update (solvvy/<redacted>):
Type Name Plan Info
pulumi:pulumi:Stack <redacted> 1 error
Diagnostics:
pulumi:pulumi:Stack (solvvy-ml-main):
error: Running program '/Users/amey/work/code/infrastructure-live/gcp-projects/<redacted>/project' failed with an unhandled exception:
Error: invocation of gcp:organizations/getActiveFolder:getActiveFolder returned an error: invoking gcp:organizations/getActiveFolder:getActiveFolder: Folder not found
at monitor.invoke (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/@pulumi/pulumi/runtime/invoke.js:74:33)
at Object.onReceiveStatus (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/grpc/src/client_interceptors.js:1205:9)
at InterceptingListener._callNext (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/grpc/src/client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/grpc/src/client_interceptors.js:618:8)
at callback (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/grpc/src/client_interceptors.js:845:24)
at Function.module.exports.loopWhile (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/deasync/index.js:71:23)
at promiseResult (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/@pulumi/pulumi/utils.js:70:13)
at Object.liftProperties (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/@pulumi/pulumi/utils.js:102:19)
at Object.getActiveFolder (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/node_modules/@pulumi/organizations/getActiveFolder.ts:37:25)
at Object.<anonymous> (/Users/amey/work/code/infrastructure-live/gcp-projects/solvvy-ml/project/core-project.ts:9:21)
Permalink: <https://app.pulumi.com/solvvy/><redacted>/<redacted>/previews/a98b9966-82b6-4be3-9cf3-4d1b3d3b937c
FWIW I have owner
access to the underlying GCP project and I am able to run pulumi
commands on other stacks in the same project.glamorous-printer-66548
11/12/2019, 5:27 AMenough-ability-20396
11/12/2019, 5:53 PMglamorous-printer-66548
11/12/2019, 6:22 PMenough-ability-20396
11/13/2019, 7:50 PM