worried-engineer-33884
08/05/2019, 4:08 PMbest-xylophone-83824
08/05/2019, 5:10 PMPULUMI_ACCESS_TOKEN=.... pulumi new gcp-typescript --force --name gcp-bootstrap --stack prod
fails 😞worried-engineer-33884
08/05/2019, 5:39 PM.appy
in a lambda.CallbackFactory
?worried-engineer-33884
08/05/2019, 6:09 PMbitter-island-28909
08/05/2019, 8:06 PMsalmon-morning-96600
08/05/2019, 8:09 PMcool-egg-852
08/05/2019, 8:41 PMrich-easter-89163
08/06/2019, 12:34 AMfull-dress-10026
08/06/2019, 12:57 AMcreateNodeGroup
on a eks.Cluster
takes an instanceType
parameter which must be a aws.ec2.InstanceType
. I'd like to pass in a string from a config file. How can I do this without Typescript complaining?stale-autumn-24797
08/06/2019, 1:19 AM2019-08-05T19:10:09.1841769Z ##[section]Starting: Run pulumi
2019-08-05T19:10:09.1845138Z ==============================================================================
2019-08-05T19:10:09.1845233Z Task : Pulumi Azure Pipelines Task
2019-08-05T19:10:09.1845346Z Description : Azure Pipelines task extension for running Pulumi apps.
2019-08-05T19:10:09.1845410Z Version : 0.1.19
2019-08-05T19:10:09.1845509Z Author : Pulumi
2019-08-05T19:10:09.1845565Z Help : Join us on Slack at <https://slack.pulumi.io>.
2019-08-05T19:10:09.1845633Z ==============================================================================
2019-08-05T19:10:09.3946841Z Downloading: <https://get.pulumi.com/releases/sdk/pulumi-v0.17.27-linux-x64.tar.gz>
2019-08-05T19:10:09.7313899Z Extracting archive
2019-08-05T19:10:09.7348031Z [command]/bin/tar xzC /home/vsts/work/_temp/1ad4480f-4b59-4fed-9e58-4f008e359445 -f /home/vsts/work/_temp/5888e3ed-db52-4523-9c13-87a924a0050d
2019-08-05T19:10:10.8380108Z Prepending PATH environment variable with directory: /home/vsts/work/_temp/1ad4480f-4b59-4fed-9e58-4f008e359445/pulumi
2019-08-05T19:10:10.8388818Z [command]/home/vsts/work/_temp/1ad4480f-4b59-4fed-9e58-4f008e359445/pulumi/pulumi version
2019-08-05T19:10:10.9270755Z v0.17.27
2019-08-05T19:10:10.9325912Z [command]/home/vsts/work/_temp/1ad4480f-4b59-4fed-9e58-4f008e359445/pulumi/pulumi login
2019-08-05T19:10:11.4999524Z Logged into <http://pulumi.com|pulumi.com> as mike (<https://app.pulumi.com/mike>)
2019-08-05T19:10:11.5044407Z [command]/home/vsts/work/_temp/1ad4480f-4b59-4fed-9e58-4f008e359445/pulumi/pulumi stack select mike/microservice-aks-deploy/mapper
2019-08-05T19:10:12.3840915Z [command]/home/vsts/work/_temp/1ad4480f-4b59-4fed-9e58-4f008e359445/pulumi/pulumi up --yes
2019-08-05T19:10:13.3621045Z Previewing update (mapper):
2019-08-05T19:10:14.2525744Z error: could not load plugin for kubernetes provider 'urn:pulumi:mapper::microservice-aks-deploy::pulumi:providers:kubernetes::inflation_provider': no resource plugin 'kubernetes' found in the workspace or on your $PATH
2019-08-05T19:10:14.2611968Z ##[error]Pulumi command exited with code '255' while trying to run 'up --yes'.
2019-08-05T19:10:14.2686239Z ##[section]Finishing: Run pulumi
Any ideas on how to fix this?astonishing-finland-20071
08/06/2019, 6:30 AMglamorous-waitress-51149
08/06/2019, 9:47 AMAWS_PROFILE=lykke ./build-local.sh && cd ./artifacts/infra && pulumi up --yes
fails with an error about aws access key yet if i run each command separately it works finejolly-egg-4894
08/06/2019, 10:58 AM#!/bin/sh
echo "_$BOB"
And run ./test.sh && BOB="a" ./test.sh && ./test.sh
The output is:
_
_a
_
jolly-egg-4894
08/06/2019, 11:01 AMexport
AWS_PROFILE
so it’s available to all the subsequent commands you can do this instead:
AWS_PROFILE=lykke sh -c './build-local.sh && cd ./artifacts/infra && pulumi up --yes'
billions-lock-80282
08/06/2019, 11:46 AMworried-engineer-33884
08/06/2019, 2:49 PMlambda.CallbackFunction
in test mode? still digging, but it looks like adding that resource is increasing our test run time by 7xbest-xylophone-83824
08/06/2019, 2:56 PMbest-xylophone-83824
08/06/2019, 2:57 PMcool-egg-852
08/06/2019, 2:57 PMcool-egg-852
08/06/2019, 2:58 PMcool-egg-852
08/06/2019, 2:58 PMbest-xylophone-83824
08/06/2019, 2:59 PM@pulumi/gcp
is in node_modules.best-xylophone-83824
08/06/2019, 3:06 PMbitter-island-28909
08/06/2019, 5:10 PMmyProperty
in the outs
key of the return value of the provider’s create
method, but calling resource.myProperty
returns undefined. Inspecting the resource object itself, I don’t see any values pertaining to myProperty.
best-xylophone-83824
08/06/2019, 6:12 PMhigh-translator-22614
08/06/2019, 6:13 PMjolly-lifeguard-22556
08/06/2019, 6:16 PMpulumi up
is convinced it needs to finish deleting resources from a previous update on 4 AWS ACM SSL certs. I don't want these resources to be deleted and I can't find any way to tell Pulumi to abort the previous delete attemptjolly-lifeguard-22556
08/06/2019, 6:17 PMcompleting deletion from previous update
but I'm not seeing any way to modify this using stack export
best-xylophone-83824
08/06/2019, 6:54 PM2: For previews and updates where we also plan to run user code, we as the language host if it knows of any plugins that may be needed. Only NodeJS >implements this today, and does so by walking all the package.json's and looking for pulumi specific metadata.
For (2), we now support the language host to communicate an optional server.how can I change, if possible, package.json so that
pulumi plugin install
pulls plugins from a custom --server?handsome-actor-1155
08/06/2019, 8:27 PMhandsome-actor-1155
08/06/2019, 8:27 PMhigh-translator-22614
08/06/2019, 8:39 PMbitter-island-28909
08/06/2019, 8:44 PMpulumi up
.high-translator-22614
08/06/2019, 8:45 PMbitter-island-28909
08/06/2019, 8:47 PMhigh-translator-22614
08/06/2019, 8:50 PMbitter-island-28909
08/06/2019, 8:55 PMhigh-translator-22614
08/06/2019, 8:57 PMbitter-island-28909
08/06/2019, 8:58 PMcool-egg-852
08/06/2019, 9:31 PMlinio:appRevision
. So the tool (in our case Jenkins) clones our infrastructure repository, makes the appropriate change, commits and pushes it up. This triggers another build, this time in the infrastructure repository that actually handles the deployment.
If you follow this, you can have pulumi running on a separate server than the one doing your CI for testing and such.high-translator-22614
08/06/2019, 9:45 PMcool-egg-852
08/06/2019, 9:46 PMhigh-translator-22614
08/06/2019, 9:47 PMhandsome-actor-1155
08/06/2019, 10:41 PMcool-egg-852
08/06/2019, 10:58 PMhandsome-actor-1155
08/06/2019, 11:14 PMcool-egg-852
08/07/2019, 1:04 PMhigh-translator-22614
08/07/2019, 1:59 PM