cool-egg-852
10/11/2019, 7:53 PMResourceRequirements
has the type as pulumi.Input<object>
instead of having a named object with cpu
and memory
?adamant-dress-73325
10/11/2019, 9:30 PMearly-intern-90238
10/11/2019, 11:17 PMbored-furniture-11856
10/12/2019, 6:17 AMearly-intern-90238
10/12/2019, 3:53 PMflaky-continent-74538
10/14/2019, 3:36 AMincalculable-diamond-5088
10/14/2019, 3:29 PMTypeError: Class extends value undefined is not a constructor or null
at Object.<anonymous> (/Users/igor/work/some-project/infra/pulumi/node_modules/@pulumi/cloudwatch/eventRuleMixins.ts:70:56)
at Module._compile (internal/modules/cjs/loader.js:868:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:879:10)
at Module.load (internal/modules/cjs/loader.js:731:32)
at Function.Module._load (internal/modules/cjs/loader.js:644:12)
at Module.require (internal/modules/cjs/loader.js:771:19)
at require (internal/modules/cjs/helpers.js:68:18)
at Object.<anonymous> (/Users/igor/work/some-project/infra/pulumi/node_modules/@pulumi/cloudwatch/cloudwatchMixins.ts:16:1)
at Module._compile (internal/modules/cjs/loader.js:868:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:879:10)
acceptable-army-69872
10/14/2019, 4:05 PMpulumi up
which tells me it's going to update like 500 resources (obviously source has drifted), and create my resource. Which is almost good enough to do a PR, but like, it'd be cool if I can -target
a resource that doesn't exist yet and try to create it. Can I do that? If so, how do I predict a URN.loud-computer-30956
10/14/2019, 4:12 PMcalm-greece-42329
10/14/2019, 4:31 PMmicroscopic-article-39213
10/14/2019, 5:06 PMincalculable-engineer-92975
10/14/2019, 5:54 PMincalculable-engineer-92975
10/14/2019, 5:54 PMincalculable-engineer-92975
10/14/2019, 5:54 PMreturn null;
then a pulumi preview
completes. If I leave it in, then a pulumi preview
hangs.busy-umbrella-36067
10/14/2019, 7:14 PMacceptable-army-69872
10/14/2019, 7:52 PM~ [0]: {
~ name : "LoadBalancerType" => "VPCId"
~ namespace: "aws:elasticbeanstalk:environment" => "aws:ec2:vpc"
- resource : ""
~ value : "network" => "vpc-VPCID"
}
~ [1]: {
~ name : "Availability Zones" => "InstanceType"
~ namespace: "aws:autoscaling:asg" => "aws:autoscaling:launchconfiguration"
- resource : ""
~ value : "Any" => "m5.large"
}
~ [2]: {
~ name : "environment" => "Availability Zones"
~ namespace: "aws:elasticbeanstalk:application:environment" => "aws:autoscaling:asg"
- resource : ""
~ value : "dev" => "Any"
}
~ [3]: {
~ name : "Subnets" => "MinSize"
~ namespace: "aws:ec2:vpc" => "aws:autoscaling:asg"
- resource : ""
~ value : "subnet-XXX,subnet-YYY" => "1"
}
~ [4]: {
~ name : "Notification Endpoint" => "MaxSize"
~ namespace: "aws:elasticbeanstalk:sns:topics" => "aws:autoscaling:asg"
- resource : ""
~ value : "<mailto:developers@blahblahblah.com|developers@blahblahblah.com>" => "4"
}
~ [5]: {
~ name : "VPCId" => "environment"
~ namespace: "aws:ec2:vpc" => "aws:elasticbeanstalk:application:environment"
- resource : ""
~ value : "vpc-VPCID" => "dev"
}
acceptable-army-69872
10/14/2019, 8:12 PMbrave-angle-33257
10/14/2019, 8:31 PMbland-eye-59969
10/14/2019, 8:31 PMcloudformation_stack_result = aws.cloudformation.get_stack(name = 'stack-name')
, it gives me error: invoking aws:cloudformation/getStack:getStack: template body contains an invalid JSON or YAML: invalid character 'L' after array element
bland-eye-59969
10/14/2019, 8:31 PMbland-eye-59969
10/14/2019, 8:32 PMbrave-angle-33257
10/15/2019, 1:05 AMimport * as k8s from "@pulumi/kubernetes";
import * as pulumi from "@pulumi/pulumi";
const env = pulumi.getStack();
const infra = new pulumi.StackReference(`acmecorp/infra/${env}`);
const provider = new k8s.Provider("k8s", { kubeconfig: infra.getOutput("kubeConfig") });
const service = new k8s.core.v1.Service(..., { provider: provider });
billions-lock-80282
10/15/2019, 11:19 AMincalculable-portugal-13011
10/15/2019, 4:13 PMconst containerRepository = new awsx.ecr.Repository("selenium/hub", {});
const dockerHubSeleniumHubImage = new docker.RemoteImage("selenium/hub", {
name: "selenium/hub",
keepLocally: true
});
containerRepository.buildAndPushImage(dockerHubSeleniumHubImage.name);
I’m getting an error back along the lines of path "selenium/hub not found
. clearly missing a step here, just not sure what it isbland-eye-59969
10/15/2019, 6:20 PMpulumi login
with s3? Need some help.incalculable-portugal-13011
10/15/2019, 7:27 PMincalculable-portugal-13011
10/15/2019, 7:27 PMtall-rose-87315
10/16/2019, 4:43 AMsome-king-80791
10/16/2019, 6:09 AMnumerous-iron-8383
10/16/2019, 9:15 AMpulumi up
crashes...
It creates all resources it should, then hangs and after few minutes I get JavaScript heap out of memory
error.
I tested it with Node.js 10/12 and with Pulumi 1.1.0 / 1.3.1 and latest HEAD - every time the same problem.
I saw someone had similar issue https://github.com/pulumi/pulumi/issues/3279 but with StackReference which I don't use at all.
I believe my stack is not anything special, it's standard AWS stack I guess.
Has anyone had similar problems with Pulumi?
Are you stacks working as expected (in production?) - if yes can anyone share which pulumi / node version you are using for stack provisioning?
Thanksnumerous-iron-8383
10/16/2019, 9:15 AMpulumi up
crashes...
It creates all resources it should, then hangs and after few minutes I get JavaScript heap out of memory
error.
I tested it with Node.js 10/12 and with Pulumi 1.1.0 / 1.3.1 and latest HEAD - every time the same problem.
I saw someone had similar issue https://github.com/pulumi/pulumi/issues/3279 but with StackReference which I don't use at all.
I believe my stack is not anything special, it's standard AWS stack I guess.
Has anyone had similar problems with Pulumi?
Are you stacks working as expected (in production?) - if yes can anyone share which pulumi / node version you are using for stack provisioning?
Thanksbest-xylophone-83824
10/16/2019, 9:20 AMnumerous-iron-8383
10/16/2019, 12:40 PM