bored-river-53178
07/17/2019, 8:24 AMglamorous-waitress-51149
07/17/2019, 1:26 PMrapid-eye-32575
07/17/2019, 1:28 PMpulumi up
in a typescript project utilizing @pulumi/pulumi-kubernetes
, the preview shows that all Kubernetes resources would be replaced, since the <http://app.kubernetes.io/managed-by|app.kubernetes.io/managed-by>: pulumi
label ought to be removed. The details show changes along the line of:
[provider: urn:pulumi:dev::project::eks:index:Cluster$pulumi:providers:kubernetes::project-dev-provider::617c0adc-0f4b-47cc-8e2a-319f67902782 => urn:pulumi:dev::project::eks:index:Cluster$pulumi:providers:kubernetes::project-dev-provider::output<string>]
~ metadata : {
- labels : {
- <http://app.kubernetes.io/managed-by|app.kubernetes.io/managed-by>: "pulumi"
}
}
In another project with the same package versions (0.25.2
) this doesn't happen, however. Has anyone seen a similar behaviour or has an idea what might be causing this?salmon-beard-79336
07/17/2019, 2:02 PMincalculable-angle-91273
07/17/2019, 5:37 PM@pulumi/kubernetes
version 0.25.2 I’m seeing this error:
warning: resource plugin kubernetes is expected to have version >=0.25.2, but has 0.25.1-dev.1561392430+g1853784.dirty; the wrong version may be on your path, or this may be a bug in the plugin
I tried removing all plugins with pulumi plugin rm --all
and then reinstalling with npm i
to refresh it but I still get the warning. Is the package set up to install the correct plugin?cuddly-barista-79466
07/17/2019, 7:50 PMlemon-greece-30910
07/17/2019, 8:10 PM<http://example.com|example.com>
) to a service (like the example on: `https://www.pulumi.com/docs/reference/tutorials/aws/tutorial-service`)?cool-egg-852
07/17/2019, 8:12 PMCannot read property name of undefined
with envFrom: configMaps.map(function(configMap) {
return {
configMapRef: {
name: configMap.metadata.name
}
};
}),
where configMaps
is an array of resources.cool-egg-852
07/17/2019, 8:12 PMcool-egg-852
07/17/2019, 8:17 PMcool-egg-852
07/17/2019, 8:17 PMglamorous-printer-66548
07/17/2019, 10:56 PM+-gcp:compute/instance:Instance: (replace)
[id=vpn-00a]
[urn=urn:pulumi:gcp-project-solvvy-prod::gcp-project-solvvy-prod::gcp:compute/instance:Instance::instance]
~ networkInterfaces: [
~ [0]: {
+ __defaults : []
~ accessConfigs: [
~ [0]: {
+ __defaults: []
natIp : "32.247.25.46"
}
]
networkIp : "10.0.16.10"
subnetwork : "us-west1/vpn-subnetwork"
}
]
there's absolutely 0 change on that resource except that i upgraded the pulumi gcp version
do you have a quick idea how to resolve this? I'm fine editing the state if that helps, but I need to know what the state should look like for pulumi to not trigger a replace.glamorous-printer-66548
07/17/2019, 10:58 PMconst vpnInstance = new gcp.compute.Instance(
'instance',
{
name: 'vpn-00a',
zone: 'us-west2-b',
machineType: 'n1-standard-1',
canIpForward: true,
deletionProtection: true,
metadata: {
'startup-script-url': startupScriptURL
},
scheduling: {
automaticRestart: true
},
bootDisk: {
initializeParams: {
image: 'ubuntu-os-cloud/ubuntu-minimal-1804-lts',
},
},
networkInterfaces: [{
subnetwork: vpnSubNetwork.id,
networkIp: vpnInternalStaticIP,
accessConfigs: [{
natIp: vpnExternalIP.address
}]
}],
serviceAccount: {
scopes: ['<https://www.googleapis.com/auth/cloud-platform>'],
},
},
{ dependsOn: [vpnFirewall] });
cool-egg-852
07/18/2019, 1:32 AMcolossal-beach-47527
07/18/2019, 4:15 AMfast-motherboard-21624
07/18/2019, 4:36 AMglobal.d.ts
declaration file. TSC in vscode understands the declartion is there but pulumi
doesn't seem tofast-motherboard-21624
07/18/2019, 4:36 AMfast-motherboard-21624
07/18/2019, 4:36 AMrapid-eye-32575
07/18/2019, 7:48 AMnew eks.Cluster(stackName, {
instanceType: "t2.medium",
desiredCapacity: 2,
minSize: 2,
maxSize: 4,
nodeRootVolumeSize: 60
});
and that code hasn't changed in months. Does anybody have an idea what might be going on and how to fix this? The preview just states that the provider will be replaced but no diff is provided.colossal-yacht-76770
07/18/2019, 12:11 PMcool-egg-852
07/18/2019, 3:42 PMroles/errorreporting.viewer
? Does this have to be done as a project iammember policy?clever-nest-47198
07/18/2019, 5:32 PMelb = elb.LoadBalancer(resource_name=elb_name, opts=resource_opts, internal=scheme, name=elb_name, listeners=listeners, tags=tags)The ELB I have configured in AWS explicitly has configuration I have not set here ^ however, Pulumi preview/up think that my state defined in Python 100% matches the state from AWS. I'm missing ELBHealthchecks, security groups, AZ's, and a bunch of other options. I'm surprised Pulumi didn't yell at me that I was missing these settings?
clever-nest-47198
07/18/2019, 5:33 PMclever-nest-47198
07/18/2019, 5:35 PMmicroscopic-florist-22719
microscopic-florist-22719
clever-nest-47198
07/18/2019, 8:08 PMlimited-rainbow-51650
07/18/2019, 8:31 PMpulumi-awsx
and pulumi-eks
to see what could be reused for my own pulumi modules/packages. I found out the build setup is based on Makefiles. With Bazel Build (https://bazel.build/) these days, it’s fairly easy to create re-usable build rules which means that replicating a build setup shouldn’t have Makefiles duplicated. Any specific reason for this old-fashioned (😄) build tooling?future-traffic-93788
07/18/2019, 8:58 PMcool-egg-852
07/18/2019, 9:06 PM