flat-mechanic-75334
05/06/2020, 7:54 AMmyContainer.containerLogs.apply(logs => console.log("container logs:", logs));
big-potato-91793
05/06/2020, 1:21 PM@pulumi/kubernetesx
will be upgrading to the last pulumi version? Still depending on pulumi 1.12rhythmic-lawyer-36985
05/06/2020, 2:58 PM./pkg/cmd/pulumi/up.go
but I can't seem to find an example of not using the CLI tool to update/preview -- I was hoping to do it through a non-interactive service.flat-mechanic-75334
05/06/2020, 4:19 PMpulumi destroy
didn’t only delete the service account in question, but also blew away the role assignments from ALL service accounts that had identical role. Am I doing this wrong? Seems quite risky. Here’s the code I used to create the service account and assign the role:
const serviceAccount = new gcp.serviceAccount.Account("myServiceAccount",
{
accountId: SID,
displayName: SNAME,
description: "Service account Created by Pulumi"
}
);
const iam = new gcp.projects.IAMBinding("myBinding",
{
members: [pulumi.interpolate `serviceAccount:${serviceAccount.email}`],
role: "roles/storage.objectViewer",
}
);
adamant-motorcycle-76548
05/06/2020, 5:09 PMBuilding wheels for collected packages: pulumi-aws, grpcio
Running setup.py bdist_wheel for pulumi-aws ... error
Complete output from command /home/ayeste/Documentos/Pulumi/aws-python/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-zkdm1y8t/pulumi-aws/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpqfs9agflpip-wheel- --python-tag cp36:
/usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for pulumi-aws
Running setup.py clean for pulumi-aws
Running setup.py bdist_wheel for grpcio ... error
Complete output from command /home/ayeste/Documentos/Pulumi/aws-python/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-zkdm1y8t/grpcio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpgydsg87cpip-wheel- --python-tag cp36:
Found cython-generated files...
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for grpcio
Running setup.py clean for grpcio
Failed to build pulumi-aws grpcio
Installing collected packages: protobuf, grpcio, pulumi, arpeggio, attrs, parver, semver, pulumi-aws
Running setup.py install for grpcio ... \
done
Running setup.py install for pulumi-aws ... done
Successfully installed arpeggio-1.9.2 attrs-19.3.0 grpcio-1.28.1 parver-0.3.0 protobuf-3.11.3 pulumi-2.1.0 pulumi-aws-2.2.0 semver-2.9.1
mammoth-caravan-51104
05/06/2020, 5:35 PMvictorious-helmet-11068
05/06/2020, 5:40 PMgifted-restaurant-30072
05/06/2020, 6:53 PMpulumi.Context.ReadResource
but this requires my component resource to embed CustomResourceState
instead of ResourceState
and when calling ReadResource
it produces an error stating there isn't a plugin for the namespace I'm using for my component resource. So, finally, to my question, is there a way to read the outputs of a component resource inside a pulumi program without just parsing the state file directly?gorgeous-engine-88104
05/06/2020, 7:49 PM-v=9
swift-lunch-74411
05/06/2020, 10:04 PMwonderful-dog-9045
05/07/2020, 12:19 PMalert-pencil-7400
05/07/2020, 12:36 PMpackage-385ac3
I could have package-385ac3.zip
(in case with GCP BucketObject
resource)jolly-bear-34819
05/07/2020, 12:39 PMwonderful-dog-9045
05/07/2020, 12:53 PMpulumi up
freezes everytime.
Can someone familiar with go tell me what GetRequiredPlugins
is doing? It seem to be the function that is stuck.
$ pulumi up --logtostderr -v=9
I0507 13:47:42.755386 28275 backend.go:410] found username for access token
I0507 13:47:43.697486 28275 backend.go:410] found username for access token
Previewing update (dev):
I0507 13:47:44.093878 28275 backend.go:410] found username for access token
I0507 13:47:44.093702 28275 backend.go:887] Stack dev being updated to version 1
I0507 13:47:44.476166 28275 plugins.go:76] gatherPluginsFromProgram(): gathering plugins from language host
I0507 13:47:44.476447 28275 plugins.go:426] GetPluginPath(language, nodejs, <nil>): found on $PATH /home/gsuess/.pulumi/bin/pulumi-language-nodejs
I0507 13:47:44.476491 28275 plugin.go:83] Launching plugin 'nodejs' from '/home/gsuess/.pulumi/bin/pulumi-language-nodejs' with args: 127.0.0.1:39367
I0507 13:47:44.553950 28275 langruntime_plugin.go:170] langhost[nodejs].GetPluginInfo() executing
I0507 13:47:44.554275 28275 langruntime_plugin.go:83] langhost[nodejs].GetRequiredPlugins(proj=leaderboard,pwd=/home/gsuess/meteor-leaderboard,program=.) executing
Type Name Plan
pulumi:pulumi:Stack leaderboard-dev
System Messages
^C received; cancelling. If you would like to terminate immediately, press ^C again.
^C received; terminating
I've tried to isolate the problem, but could not bisect it (seems to be very prone to some cache somewhere).
Related thread about past attempts to get this problem isolated here: https://pulumi-community.slack.com/archives/C84L4E3N1/p1588696231371300
Any help would be really appreciated. Can't figure this one out so far.ancient-megabyte-79588
05/07/2020, 2:41 PMbig-potato-91793
05/07/2020, 2:44 PMancient-megabyte-79588
05/07/2020, 2:48 PMbland-lamp-16797
05/07/2020, 3:37 PMStackReference
by <organization>/<project>/<stack>
If I use Self-managed backend (gs) , what is my organization?tall-vegetable-11816
05/07/2020, 8:37 PMtall-vegetable-11816
05/07/2020, 8:38 PMbillowy-army-68599
05/07/2020, 8:38 PMtall-vegetable-11816
05/07/2020, 8:38 PMtall-vegetable-11816
05/07/2020, 8:40 PMbillowy-army-68599
05/07/2020, 8:56 PMtall-vegetable-11816
05/07/2020, 9:02 PMtall-vegetable-11816
05/07/2020, 9:03 PMbillowy-army-68599
05/07/2020, 9:03 PMtall-vegetable-11816
05/07/2020, 9:04 PMlemon-egg-20955
05/07/2020, 10:40 PMhigh-postman-55219
05/07/2020, 10:44 PMpulumi up
the cert is replaced, I am very frustrated with this behaviorhigh-postman-55219
05/07/2020, 10:44 PMpulumi up
the cert is replaced, I am very frustrated with this behavior