bland-pharmacist-96854
02/08/2023, 3:11 PMbillowy-spoon-90104
02/08/2023, 4:24 PMbrash-gigabyte-81569
02/08/2023, 7:02 PMquick-airport-30353
02/08/2023, 7:11 PMhappy-book-69556
02/08/2023, 8:33 PMlively-controller-39972
02/08/2023, 10:30 PMacoustic-tiger-77630
02/09/2023, 3:57 PMabundant-dawn-11116
02/09/2023, 4:29 PMforbiddenAccountIds
work any differently?delightful-monkey-90700
02/09/2023, 6:51 PMPULUMI_API='-' PULUMI_CONSOLE_DOMAIN='-' pulumi whoami -v
hangs for ~15s using local state, on a host not connected to the Internet, backtrace in replynice-hairdresser-58013
02/09/2023, 8:09 PMNearline
and enabled data object protection with this config as shown in the images.
How can I implement that?
My code:
import * as gcp from "@pulumi/gcp";
// Create a GCP resource (Storage Bucket)
const bucket = new gcp.storage.Bucket("name", {
location: "US",
name: "name",
storageClass: "NEARLINE",
uniformBucketLevelAccess: true,
});
// Export the DNS name of the bucket
export const bucketName = bucket.url;
wet-sunset-4939
02/10/2023, 3:29 AMthankful-stone-34269
02/10/2023, 3:40 AMpulumi stack rename
seems kinda busted for me for a stack in an organization. First, there's a simple bug in the error message if I put the wrong organization name in the new-stack-name - it reverses the "new stack owner" and "existing owner" fields. But if include the correct owner in the new name, it tells me I don't have permission [403], which is bizarre considering the web shows me as the "Stack Creator" with "Stack admin access".gentle-parrot-38349
02/10/2023, 8:29 AMpulumi destroy
takes its time and eventually returns Retrieving Application with object ID "...": Application was not found
.
pulumi stack rm ...
returns error: '...' still has resources; removal rejected. Possible actions: ...
Overriding with --force works just fine to get this stack out of my records... But as I understand it the resources themselves will linger on and incur costs? What other way could I go about deleting these stacks and associated resources completely? Thanks!bland-pharmacist-96854
02/10/2023, 10:33 AMpulumi.runtime.registerStackTransformation((args) => {
return {
args: {tags: }
}
});
bland-pharmacist-96854
02/10/2023, 10:38 AMadamant-father-26302
02/10/2023, 11:31 AMpulumi about
i get the following error: warning: Failed to get information about the Pulumi program's dependencies: failed to get modules: exit status 1
with -v=7 i can see i get:
I0210 11:56:35.288506 1326938 langruntime_plugin.go:348] langhost[go].GetProgramDependencies(proj=aws-cluster-0-stage,pwd=/home/hans/work/fiveteninfra/provider/aws/live/stage/aws-cluster-0-stage,program=.,transitiveDependencies=false) failed: err=failed to get modules: exit status 1
I think its this call that fails: c.cc.Invoke(ctx, "/pulumirpc.LanguageRuntime/GetProgramDependencies", in, out, opts...)
which uses RPC I think, am I lacking some requirements ?salmon-match-99387
02/10/2023, 1:24 PMpulumi version --non-interactive
by hand works just fine.
I got python based examples work, so it seems that the issue is somehow related to nodejs. Running macos.
./node_modules/ts-node/dist/bin.js index.ts
❯ ./node_modules/ts-node/dist/bin.js index.ts
CommandError: code: -2
stdout:
stderr: Command failed with ENOENT: pulumi version --non-interactive
spawn /bin/sh ENOENT
err?: Error: Command failed with ENOENT: pulumi version --non-interactive
spawn /bin/sh ENOENT
at Object.createCommandError (/Users/massive/code/provisioner/provisioner/node_modules/@pulumi/automation/errors.ts:75:27)
at Object.<anonymous> (/Users/massive/code/provisioner/provisioner/node_modules/@pulumi/automation/cmd.ts:79:15)
at Generator.throw (<anonymous>)
at rejected (/Users/massive/code/provisioner/provisioner/node_modules/@pulumi/pulumi/automation/cmd.js:19:65)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
commandResult: CommandResult {
stdout: '',
stderr: 'Command failed with ENOENT: pulumi version --non-interactive\n' +
'spawn /bin/sh ENOENT',
code: -2,
err: Error: Command failed with ENOENT: pulumi version --non-interactive
spawn /bin/sh ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /bin/sh',
path: '/bin/sh',
spawnargs: [Array],
originalMessage: 'spawn /bin/sh ENOENT',
shortMessage: 'Command failed with ENOENT: pulumi version --non-interactive\n' +
'spawn /bin/sh ENOENT',
command: 'pulumi version --non-interactive',
escapedCommand: 'pulumi version --non-interactive',
exitCode: undefined,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: '',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
}
}
famous-answer-15051
02/10/2023, 1:43 PMmodern-petabyte-38275
02/10/2023, 3:43 PMpulumi local.Command
specifically so it doesnt show in the pulumi logsgray-school-37527
02/10/2023, 4:09 PMgray-school-37527
02/10/2023, 4:13 PMgray-school-37527
02/10/2023, 4:14 PMnice-rain-32013
02/10/2023, 4:43 PMgorgeous-midnight-53406
02/10/2023, 5:32 PMstraight-arm-50771
02/10/2023, 7:18 PMthankful-stone-34269
02/10/2023, 8:05 PMpulumi up
or pulumi down
commands running in the same directory if they're on different stacks? I thought/hoped so, but then I think I saw it get confused once.acoustic-truck-53557
02/10/2023, 9:44 PMgit show 0551a51
to see information about commit ``0551a51` , or git log
to see the list of commits. Is there something similar for Pulumi CLI?gorgeous-minister-41131
02/10/2023, 10:20 PM[secret]
hiding technique on an Output that is marked as a secret, temporarily, while running a preview/update with a diff?cuddly-monkey-5560
02/11/2023, 12:27 AMawait LocalWorkspace.createOrSelectStack
is called, I'm having the same error as this one from earlier, however I'm using InlineProgramArgs. Any advice is appreciated!lively-controller-39972
02/12/2023, 8:30 AMimport * as aws from "@pulumi/aws";
const cachingOptimizedPolicy = aws.cloudfront.getCachePolicyOutput({
name: "Managed-CachingOptimized",
});
const distribution = new aws.cloudfront.Distribution("distribution", {
orderedCacheBehaviors: [
{
cachePolicyId: cachingOptimizedPolicy.id,
...
}
],
...
});
This code has a type error. cachingOptimizedPolicy.id
is of type Output<string | undefined>
but cachePolicyId
expects something of type string
. I had a similar code with Terraform but didn't have any issue.