busy-umbrella-36067
10/02/2019, 4:37 PMpulumirpc.ResourceMonitor/RegisterResource
takes up 85% of the preview timecool-egg-852
10/02/2019, 4:39 PM<http://pulumi.com/timeoutSeconds|pulumi.com/timeoutSeconds>
is an annotation instead of an option to the pulumi resource? Seems weird to be modifying the resource in order to change the behavior of pulumi. Same goes for skipAwait
.cool-egg-852
10/02/2019, 5:02 PMacceptable-army-69872
10/02/2019, 5:48 PMaws:s3:Bucket (bucketName):
warning: inputs to import do not match the existing resource; importing this resource will fail
This is the change:
~ bucket: "bucketName" => "bucketName-8c54a03"
code const config = new pulumi.Config();
const sb: string = config.require("sourceBucket")
const sourceBucket = new aws.s3.Bucket(sb,
{},
{ import: sb });
incalculable-engineer-92975
10/02/2019, 6:32 PMcool-egg-852
10/02/2019, 7:57 PMadamant-dress-73325
10/02/2019, 9:06 PMconst vpcPrivateSubnetIds = (stackRef.requireOutputSync("vpcPrivateSubnetIds") as unknown) as Array<
pulumi.Output<string>
>;
miniature-chef-87843
10/03/2019, 1:33 AMrequire
the output in a CallbackFunction
?prehistoric-analyst-52684
10/03/2019, 11:07 AMaliases
argument of each existing resource. When I pulumi up
, all resources are to be recreated. I am pretty sure the urn is correct, as I am taking it from the exported stack file. Here is an example resource:
const logGroup = new aws.cloudwatch.LogGroup(`${name}_cloudwatchLogGroup`, {}, { provider, parent: this, aliases: ["urn:pulumi:edith-lookup-feat::edith::aws:cloudwatch/logGroup:LogGroup::cloudwatchLogGroup_edith-lookup-service"] });
What am I doing wrong?cool-egg-852
10/03/2019, 12:27 PMPreviewing update (LinioIT/support):
[resource plugin aws-1.2.1] installing
Downloading plugin: 60.87 MiB / 60.87 MiB 100.00% 4sm1s
Moving plugin... done.
pulumi:pulumi:Stack rsin-provider-support running
pulumi:providers:aws default_1_4_0 error: no resource plugin 'aws-v1.4.0' found in the workspace or on your $PATH, install th
e plugin using `pulumi plugin install resource aws v1.4.0`
pulumi:pulumi:Stack rsin-provider-support
pulumi:providers:aws default_1_4_0 1 error
Diagnostics:
pulumi:providers:aws (default_1_4_0):
error: no resource plugin 'aws-v1.4.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin instal
l resource aws v1.4.0`
Any idea? It seems like pulumi is installing the wrong version, but it is detecting it needs to install the plugin at minimum.incalculable-engineer-92975
10/03/2019, 4:11 PMpulumi destroy
. I've done dependencies, I've tried delays, nothing works. So I'm looking at this as my last resort.nice-airport-15607
10/03/2019, 5:16 PMpulumi stack...
commands.busy-umbrella-36067
10/03/2019, 6:07 PMpulumi up
with this error:
Assertion failed: (handle->type == UV_TCP || handle->type == UV_TTY || handle->type == UV_NAMED_PIPE), function uv___stream_fd, file ../deps/uv/src/unix/stream.c, line 1640.
tall-terabyte-42834
10/03/2019, 8:48 PMpulumi preview
before making changes. But even before any refactoring, it's already showing that a bunch of stuff will change. Like it would blow away and recreate stuff (which would be bad). What could cause this and how to work past it?stale-autumn-24797
10/03/2019, 9:07 PMbillowy-laptop-45963
10/03/2019, 9:47 PMearly-musician-41645
10/03/2019, 10:04 PMconst zone = aws.route53.Zone.get("external-dns", ingress.externalDnsHostedZoneId);
let domain: string = zone.name.apply(z => z.replace(/\.$/, ''));
let zoneId: string = zone.zoneId.apply(z => z);
leads to:
error TS2322: Type 'Output<string>' is not assignable to type 'string'.
Any tips? How do I cast Output<string>
to string
?cool-egg-852
10/03/2019, 10:09 PMcool-egg-852
10/03/2019, 10:10 PMbillowy-laptop-45963
10/03/2019, 10:56 PMearly-intern-90238
10/03/2019, 11:08 PMbig-nail-28315
10/04/2019, 2:02 PMnew VPCLink()
? I was thinking that I could import the Beanstalk NLB's, but it doesn't look like the import syntax works on those.cool-egg-852
10/04/2019, 9:14 PMDiagnostics:
pulumi:pulumi:Stack (cert-manager-development):
error: Error: Command failed: helm fetch jetstack/cert-manager --untar --version v0.10.1 --destination /var/folders/dn/t652qw8j7g5378d66qqng_dh0000gn/T/tmp-10896ZtroXrGxEMe2 --repo https\://charts.jetstack.io
Error: chart "jetstack/cert-manager" version "v0.10.1" not found in <https://charts.jetstack.io> repository
Error: chart "jetstack/cert-manager" version "v0.10.1" not found in <https://charts.jetstack.io> repository
Error: Error: Command failed: helm fetch jetstack/cert-manager --untar --version v0.10.1 --destination /var/folders/dn/t652qw8j7g5378d66qqng_dh0000gn/T/tmp-10896ZtroXrGxEMe2 --repo https\://charts.jetstack.io
Error: chart "jetstack/cert-manager" version "v0.10.1" not found in <https://charts.jetstack.io> repository
at /Users/harrison/code/linio/infrastructure/node_modules/@pulumi/kubernetes/helm/v2/helm.js:112:23
at OutputImpl.<anonymous> (/Users/harrison/code/linio/infrastructure/node_modules/@pulumi/pulumi/output.js:110:47)
at Generator.next (<anonymous>)
at fulfilled (/Users/harrison/code/linio/infrastructure/node_modules/@pulumi/pulumi/output.js:18:58)
cool-egg-852
10/04/2019, 9:23 PMmillions-judge-24978
10/05/2019, 5:39 PMkubernetes:autoscaling/v2beta2:HorizontalPodAutoscaler
being created, it’s getting the following aliases that seem to be coming from a different resource altogether:
"aliases": [
"urn:pulumi:mirror::mirror::kubernetes:apps/v1:Deployment::traffic-mirror",
"urn:pulumi:mirror::mirror::kubernetes:apps/v1beta1:Deployment::traffic-mirror",
"urn:pulumi:mirror::mirror::kubernetes:apps/v1beta2:Deployment::traffic-mirror",
"urn:pulumi:mirror::mirror::kubernetes:extensions/v1beta1:Deployment::traffic-mirror"
]
resulting in an error like this:
panic: fatal: An assertion has failed: Two resources ('urn:pulumi:mirror::mirror::kubernetes:apps/v1:Deployment::traffic-mirror' and 'urn:pulumi:mirror::mirror::kubernetes:autoscaling/v2beta2:HorizontalPodAutoscaler::traffic-mirror') aliased to the same: 'urn:pulumi:mirror::mirror::kubernetes:apps/v1:Deployment::traffic-mirror'
curved-doctor-83600
10/05/2019, 6:10 PMcolossal-room-15708
10/05/2019, 10:39 PMerror: creating tree module: Error parsing <http://03-main.tf|03-main.tf>: At 7:21: Unknown token: 7:21 IDENT var.ARM_SUBSCRIPTION_ID
damp-room-71337
10/07/2019, 11:07 AMgetResourceProperty
method on Helm charts? I seem to be running into this, although it’s closed as fixed: https://github.com/pulumi/pulumi-kubernetes/issues/419damp-room-71337
10/07/2019, 11:09 AMgetResourceProperty
doesn’t like namespace values that are passed as Pulumi a `Output`:
const k8sProvider = new k8s.Provider("k8s-provider", {
suppressDeprecationWarnings: true,
namespace: "dev"
});
const port = mysql.getResourceProperty(
"v1/Service",
k8sProvider.namespace,
name,
"spec"
).ports[0].port;
that raises a Cannot read property 'spec' of undefined
error, unless I change k8sProvider.namespace
in getResourceProperty
to a string literal - `pulumi.interpolate`/`apply()` doesn’t have an effect eitherincalculable-engineer-92975
10/07/2019, 1:15 PMpulumi destroy
blows up when resources aren't present to delete. Is there/could there be, a --force
flag that will ignore resources that aren't present?incalculable-engineer-92975
10/07/2019, 1:15 PMpulumi destroy
blows up when resources aren't present to delete. Is there/could there be, a --force
flag that will ignore resources that aren't present?tall-librarian-49374
10/07/2019, 1:22 PMpulumi refresh
before destroy
?incalculable-engineer-92975
10/07/2019, 1:31 PMpulumi destroy
, it shouldn't fail on missing resources, I want them gone, so if they're gone already, bonus.colossal-beach-47527
10/07/2019, 3:32 PMpulumi destroy
case.
Though ideally a pulumi refresh
followed by pulumi destroy
should “just work”. So if you could elaborate on “it fails all over the place”, that would be good too. Since if there are problems with that approach we definitely should look into it and fix them as possible.white-balloon-205
10/07/2019, 6:25 PMrefresh
then destroy
(though in general, I can definitely imagine this not working fully if there are fundamental things broken in your stack due to interference outside of Pulumi).