rich-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 PMorange-tailor-85423
08/07/2019, 12:35 AMorange-tailor-85423
08/07/2019, 12:35 AMerror deleting Autoscaling Launch Configuration (monitoring-nodeLaunchConfiguration-1dc3c51): ResourceInUse: Cannot delete launch configuration monitoring-nodeLaunchConfiguration-1dc3c51 because it is attached to AutoScalingGroup monitoring-475ed714-NodeGroup-JKFQB8KKR78N
orange-tailor-85423
08/07/2019, 12:36 AMglamorous-waitress-51149
08/07/2019, 9:20 AMdamp-room-71337
08/07/2019, 10:40 AMterraform.state.RemoteStateReference
? I’m just trying it out for the first time, but get a version mismatch:
terraform:state:RemoteStateReference (synchronicity):
error: Preview failed: error refreshing Terraform state: state snapshot was created by Terraform v0.12.6, which is newer than current v0.12.0; upgrade to Terraform v0.12.6 or greater to work with this state
My installed version of terraform is 0.12.6, so I assume Pulumi is bundling 0.12.0?stocky-nail-30268
08/07/2019, 10:49 AMpolicy
on the RestApi
object when using the awsx/apigateway.API
approach? I can't see a way of configuring the details beyond what is available on the API object, am I gonna have to use the aws/apigateway
bits to build this up manually?salmon-morning-96600
08/07/2019, 11:46 AMexport const clusterStackName = config.require("clusterStackName");
const clusterStack = new pulumi.StackReference(clusterStackName);
The stack name uses <organisation>/<project>/<stack> so: ianbarry/infrastructure/ci as an example.
I reference this stack like follows in both service and deployment CustomResourceOptions object:
provider : new k8s.Provider(clusterStackName,{
kubeconfig: clusterStack.getOutput("kubeconfig")
})