full-dress-10026
09/21/2018, 10:26 PMpulumi update
result in a stacktrace-esuqe output.full-dress-10026
09/21/2018, 10:32 PMerror: TypeError: Cannot read property 'environment' of undefined
at pulumi.all.apply (/home/kenny/compute_software/demo-applications/basic-web-container/node_modules/@pulumi/service.ts:421:59)
at Output.<anonymous> (/home/kenny/compute_software/demo-applications/basic-web-container/node_modules/@pulumi/pulumi/resource.js:236:43)
at next (native)
at fulfilled (/home/kenny/compute_software/demo-applications/basic-web-container/node_modules/@pulumi/pulumi/resource.js:17:58)
full-dress-10026
09/21/2018, 10:35 PMproud-tiger-5743
09/21/2018, 10:40 PMserverless
and cloud
abstractions don't expose the types of interfaces I need.
If anyone has something basic I can experiment with - it would be much appreciated!!!proud-tiger-5743
09/21/2018, 10:41 PMfull-dress-10026
09/21/2018, 10:45 PMlet service = new cloud.Service("basic-web", {
containers: {
nginx: {
build: "./app",
memory: 256,
ports: [{port: 8080}]
}
},
replicas: 2
});
And then forgot I changed nginx
to basic_web
causing that exception. How am I supposed to rename my containers?full-dress-10026
09/21/2018, 10:46 PMcontainers
to {}
but that results in an error saying that containers
cannot be empty.full-dress-10026
09/21/2018, 10:58 PMcloud.Service
to forward port 80 to 8080 in the service?full-dress-10026
09/21/2018, 10:59 PM{port: 80, targetPort: 8080, external: true}
?full-dress-10026
09/21/2018, 11:01 PMpulumi update
with that set as my ports
and received:
error: TypeError: Cannot read property 'environment' of undefined
at pulumi.all.apply (/home/kenny/compute_software/demo-applications/basic-web-container/node_modules/@pulumi/service.ts:421:59)
at Output.<anonymous> (/home/kenny/compute_software/demo-applications/basic-web-container/node_modules/@pulumi/pulumi/resource.js:236:43)
at next (native)
at fulfilled (/home/kenny/compute_software/demo-applications/basic-web-container/node_modules/@pulumi/pulumi/resource.js:17:58)
white-balloon-205
glamorous-printer-66548
09/21/2018, 11:38 PMnamespace
on a chart via pulumi it seems this only populates the Release.Namespace
template variable, whereas when running helm install --namespace <namespace>
tiller seems to actively add an metadata.namespace
entry before applying the templates to the cluster. Many charts unfortunately don’t have the Release.Namespace
variable but instead rely on the aforementioned tiller override. Would it be possible to add a similar behaviour to the pulumi helm integration? I think that would greatly decrease confusion for users. I can probably for now manually apply the desired namespace by using transformations
but I think it would be better UX if pulumi helm behaves a little more like helm install
instead of helm template
. Related github issue https://github.com/pulumi/pulumi-kubernetes/issues/200billowy-army-68599
global: global
error: Short version cannot contain PreRelease/Build meta data
full-dress-10026
09/22/2018, 1:00 AMcloud.Service
ctor?billowy-army-68599
billowy-army-68599
Please choose a stack, or create a new one: digitalocean-dev
Previewing update of stack 'digitalocean-dev'
Previewing changes:
Type Name Plan Info
+ pulumi:pulumi:Stack digitalocean-test-digitalocean-dev create
+ └─ do:core:Droplet test create
info: 2 changes previewed:
+ 2 resources to create
big-piano-35669
@pulumi/...
package. We've done this with OpenStack and VMWare, both of which were community contributions also 🙂wooden-toddler-96888
09/22/2018, 4:42 AMglamorous-printer-66548
09/22/2018, 6:42 AMglamorous-printer-66548
09/22/2018, 7:08 AMcreamy-potato-29402
09/22/2018, 7:10 AMcreamy-potato-29402
09/22/2018, 7:11 AMmicroscopic-florist-85263
09/23/2018, 4:35 AMfull-dress-10026
09/23/2018, 8:37 PMtall-librarian-49374
09/24/2018, 2:23 PMCustomResource
and it complains about what I pass to super
call...
E.g. class MyFunctionApp extends pulumi.CustomResource {
constructor(name: string, options: MyAppServiceOptions) {
super("azure:mikhail:MyFunctionApp", name);
gets unrecognized resource type (Check): azure:mikhail:MyFunctionApp
full-dress-10026
09/24/2018, 4:48 PMComputeSoftware/infra
and it failed with this error:
Diagnostics:
global: global
info: error: It looks like the Pulumi SDK has not been installed. Have you run npm install or yarn install?
error: failed to load language plugin nodejs: could not read plugin [/home/kenny/.pulumi/bin/pulumi-language-nodejs] stdout: EOF
full-dress-10026
09/24/2018, 4:50 PM<org>/<project>
?full-dress-10026
09/24/2018, 4:54 PMpulumi destroy ComputeSoftware/infra-dev
. That command fails with the message error: unknown command "ComputeSoftware/infra-dev" for "pulumi destroy"
.creamy-potato-29402
09/24/2018, 4:54 PMpulumi destroy
, right?creamy-potato-29402
09/24/2018, 4:54 PM