better-rainbow-14549
08/09/2019, 1:19 PMbetter-rainbow-14549
08/09/2019, 1:20 PMbest-xylophone-83824
08/09/2019, 1:47 PMpulumi.Output<>
and it is the only passed to this.registerOutputs()
, why is that?best-xylophone-83824
08/09/2019, 1:57 PMbest-xylophone-83824
08/09/2019, 2:00 PMbest-xylophone-83824
08/09/2019, 2:03 PMbroad-dog-22463
08/09/2019, 2:04 PMlittle-energy-64187
08/09/2019, 2:53 PMCannot determine region: set in this resource, or set provider-level 'region' or 'zone'
cool-egg-852
08/09/2019, 3:13 PMcool-egg-852
08/09/2019, 3:13 PMinfrastructure
cool-egg-852
08/09/2019, 3:15 PMbetter-rainbow-14549
08/09/2019, 3:17 PMbillowy-laptop-45963
08/09/2019, 8:56 PMconst cert = new aws.acm.Certificate("cert", {
domainName : opts.domainName,
subjectAlternativeNames: opts.sans,
validationMethod : "DNS",
});
const certValidations = cert.domainValidationOptions.apply((validationOptions) => {
return validationOptions.map((validationOption, i) => {
const resourceName = `cert_validation${i}`;
return new aws.route53.Record(resourceName, {
records: [validationOption.resourceRecordValue],
ttl: 60,
type: validationOption.resourceRecordType,
zoneId: zone.id,
})
});
});
const certValidation = new aws.acm.CertificateValidation("cert", {
certificateArn: cert.arn,
validationRecordFqdns: certValidations.apply((validations) => {
return validations.map(validation => validation.fqdn);
})
})
cool-hair-35481
08/09/2019, 10:56 PMlimited-rainbow-51650
08/10/2019, 12:51 PMawsx.ec2.Vpc
component resource. The outer box is the awsx.ec2.Vpc
, the nested boxes are (left-to-right) an awsx.ec2.NatGateway
and 2 awsx.ec2.Subnet
components. But the arrows show the dependency over all the individual resources.incalculable-diamond-5088
08/11/2019, 2:00 PMpulumi up
crashes with Error: spawnSync /bin/sh ENOBUFS
when provisioning a big chart (prometheus-operator). Is it a known issue?billowy-television-23506
08/11/2019, 9:20 PMerror: update failed
azuread:index:Application (aks):
error: Plan apply failed: graphrbac.ApplicationsClient#Create: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="Unknown" Message="Unknown service error" Details=[{"odata.error":{"code":"Authorization_RequestDenied","date":"2019-08-11T21:19:24","message":{"lang":"en","value":"Insufficient privileges to complete the operation."},"requestId":"4d94460c-0c44-42bc-bb90-aa64422d33fa"}}]
limited-rainbow-51650
08/12/2019, 7:50 AMbest-xylophone-83824
08/12/2019, 9:27 AM.getOutput("...") as pulumi.Output<InterfaceIExpect>
which is probably not very change safe. I am not sure it is possible, I am not fluent with TypeScript, but it would be really nice if Pulumi exported type definitions too and did require
them inside getOutput
, this way result would by typed and any breaking changes in shape of exported object would be caught at plan stagebest-xylophone-83824
08/12/2019, 1:14 PM*Args
argument some fields of which are mandatory and it just happens so that you want to some mandatory fields come from default set and some to be specified in each row of your "table". There is a Partial<T>
type in Typescript, but it doesn't allow you to assemble 2 partials back into T
, because it can't verify at compile time that all required fields are going to be there. Here is how I solved it with PartialExcept<T,E>
, where it makes T's fields all partial, except for those listed in `E`:
type PartialExcept<T,E extends keyof T> = Partial<T> & Pick<T,E>;
bland-camera-22041
08/12/2019, 1:33 PMtry{
NatGw = aws.ec2.getNatGateway({
tags: {
Name: "RCS-CDR"
}
});
} catch(err){
// Craete a New NAT GW here ...
}
The error is not caught but it's thrown in my terminal after pulumi up. I'd like to catch the error and create a new resource if the gatway with the name RCS-CDR
does not existbest-xylophone-83824
08/12/2019, 3:03 PMX-Pulumi-RequestId: 7fe7fe79-c8ae-4467-8cad-e52b111e09f3
better-rainbow-14549
08/12/2019, 3:39 PMbest-xylophone-83824
08/12/2019, 4:14 PMpulumi plugins install
call home? we have CI with no internet access it takes 2.5 minutes, while actual file fetch takes <1 second:
+ date
+ pulumi plugin install resource gcp v0.18.15 --server <http://local-proxy.corp:8000/api.pulumi.com/releases/plugins> --verbose --logtostderr
Mon Aug 12 16:09:38 UTC 2019
[resource plugin gcp-0.18.15] installing
[resource plugin gcp-0.18.15] downloading from <http://local-proxy.corp:8000/api.pulumi.com/releases/plugins>
Downloading plugin: 0 B / 27.96 MiB 0.00%[resource plugin gcp-0.18.15] installing tarball ...
Downloading plugin: 6.12 MiB / 27.96 MiB 21.89%
Downloading plugin: 12.03 MiB / 27.96 MiB 43.03%
Downloading plugin: 21.53 MiB / 27.96 MiB 77.01%
Downloading plugin: 27.96 MiB / 27.96 MiB 100.00% 0s
Moving plugin... done.
+ date
Mon Aug 12 16:12:10 UTC 2019
best-xylophone-83824
08/12/2019, 5:33 PMconst vpc = new gcp.compute.Network("main", {
autoCreateSubnetworks: false
});
+ gcp:compute:Network main creating
+ gcp:compute:Network main creating error: Plan apply failed: project: required field is not set
+ gcp:compute:Network main **creating failed** error: Plan apply failed: project: required field is not set
bitter-dentist-28132
08/12/2019, 7:35 PMOutput<string>
is not an Input<string>
error.thankful-optician-22583
08/12/2019, 9:00 PMCannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
bitter-dentist-28132
08/12/2019, 10:35 PMpulumi destroy
, and now i can't bring it up any more, i just get
Error: Unexpected struct type.
any idea what the problem might be? diagnostic messages are unhelpful, it only shows points in pulumi libraries.bitter-dentist-28132
08/12/2019, 10:35 PMbest-xylophone-83824
08/13/2019, 10:00 AM@pulumi-gitlab
and then package to be @pulumi-gitlab/kubernetes
? Downside is that @pulumi
is in the name, which makes it looks somewhat official, on the other hand it have to be there to indicate that it is a package for pulumi as a product 🙂 Any thoughts?best-xylophone-83824
08/13/2019, 10:00 AM@pulumi-gitlab
and then package to be @pulumi-gitlab/kubernetes
? Downside is that @pulumi
is in the name, which makes it looks somewhat official, on the other hand it have to be there to indicate that it is a package for pulumi as a product 🙂 Any thoughts?rhythmic-finland-36256
08/13/2019, 12:32 PMpulumi-incubator
as kubernetes does it? Still, this doesn’t solve the trademark issues but could be a host for other projects in that space (incubating in the community, possibly becoming an official project later).best-xylophone-83824
08/13/2019, 12:40 PM