worried-city-86458
09/10/2019, 8:45 PMeks.Cluster
also passes through keyName
to NodeGroupOptions
. (Currently it only passes nodePublicKey
.)
... would probably be called nodeKeyName
for consistency, and should be mutually exclusive with nodePublicKey
.crooked-jelly-50877
09/11/2019, 8:42 PMexport const nginxControllerChart = new ingressController.NginxIngressController( nginxValues );
crooked-jelly-50877
09/11/2019, 8:43 PMexport
in a conditional (not legal typescript)crooked-jelly-50877
09/11/2019, 8:46 PMcrooked-jelly-50877
09/11/2019, 8:46 PMworried-city-86458
09/11/2019, 11:13 PMworried-city-86458
09/11/2019, 11:13 PMServiceRole
is not exported?worried-city-86458
09/11/2019, 11:42 PMiam.ts
helper, e.g. https://github.com/pulumi/pulumi-eks/blob/master/nodejs/eks/examples/nodegroup/iam.tsworried-city-86458
09/11/2019, 11:44 PMServiceRole
ctor?
https://github.com/pulumi/pulumi-eks/blob/master/nodejs/eks/servicerole.ts#L60worried-city-86458
09/11/2019, 11:45 PMworried-city-86458
09/11/2019, 11:45 PMwhite-balloon-205
09/12/2019, 9:13 AMbig-nail-28315
09/16/2019, 2:37 PMcool-kite-89497
09/17/2019, 5:57 PMlaunch.json
that can be used to set up breakpoints in VS Code on Pulumi programs?cool-kite-89497
09/17/2019, 6:00 PMworried-city-86458
09/17/2019, 6:40 PMconst callerIdentity = aws.getCallerIdentity();
const accountId = callerIdentity.accountId;
Just came across this funk after wondering how to await a promise in index.ts
.
Looking through the source it looks like Pulumi handles this using a deasync library followed by "lifting" the promised object behind the scenes.
Even the JS/TS devs here hadn't heard of deasync. Cool stuff!worried-city-86458
09/18/2019, 9:20 PMindex.ts
worried-city-86458
09/18/2019, 9:22 PMrhythmic-finland-36256
09/30/2019, 3:34 PMnoImplicitAny
?) I’m using some third-party javascript library which doesn’t provide good type definitions and as I’m only using two methods, I went with a custom thelib.d.ts
file containing declare module 'thelib';
This works with noImplicitAny
in my IDE and on the command line but fails when it is handed over to the pulumi runtime. Not sure if this a Pulumi issue as I would somehow also expect it to fail locally. (i added my d.ts file to the files array and the typeRoots in tsconfig)acceptable-army-69872
10/01/2019, 4:43 PMObject is possibly 'undefined'.
. I get it, it's possible for a route table not to be associated, we're type safe, cool. I tried a few things like let x: string | undefined
but didn't get very far. what the google foo i need to figure this kind of thing out const allSubnets = vpc.privateSubnets.concat(vpc.publicSubnets)
for (var sn of allSubnets) {
var rtid = sn.routeTableAssociation.routeTableId;
}
acceptable-army-69872
10/02/2019, 2:45 PMindex.ts(39,35): error TS2345: Argument of type '{ peerVpcId: string; filters: ({ name: string; values: string[]; } | { name: string; values: Output<string>[]; })[]; }' is not assignable to parameter of type 'GetVpcPeeringConnectionArgs'.
const peerId = remoteState.getOutput("peerId"); // export const peerId = VpcPeeringConnection.id
let doVpcPeeringRoutes = true
try {
aws.ec2.getVpcPeeringConnection({
peerVpcId: "vpc-XYZ",
filters: [
{
name: "status-code",
values: ["active"],
},
{
name: "vpc-peering-connection-id",
values: [ peerId.apply(x => `${x}`) ]
}
],
})
}
catch(x) {
doVpcPeeringRoutes = false
}
acceptable-army-69872
10/02/2019, 2:47 PMambitious-helmet-24352
10/02/2019, 3:08 PMmasterIpv4CidrBlock?:`
? any suggestionsgreat-london-15787
10/03/2019, 2:07 PMacoustic-noon-6208
10/06/2019, 12:05 PMawsx.ecs.Image
) to be used with k8s deployments, however I narrow down issues to this:
// generate and push ECR image
const image = awsx.ecr.buildAndPushImage(apiRepoName, config.dockerContextPath, ...);
How can I use that image
in the k8s.apps.v1.Deployment container spec? It expects string value of path to the image published in some registry and all samples I can found in Pulumi just use some 'nginx' image, not custom build image like above with buildAndPushImage
method, which returns awsx.ecs.Image
type object. It's also very confusing how to get any information from image
object above, e.g. say registry path or even how to "await" such image to be built... (assuming I somehow can interpolate path to use it later).
Totally stuck, please HELP 🙂
(more details in https://pulumi-community.slack.com/archives/C84L4E3N1/p1569874384140300)acoustic-noon-6208
10/06/2019, 12:08 PMimage
easy with ECS Fargate, only got issues to use it with k8s 😞
P.P.S if in short, summary of question above: "how to get Input<string>
from awsx.ecs.Image
object to be used in the k8s deployments"alert-france-93241
10/08/2019, 7:02 AMalert-france-93241
10/08/2019, 7:03 AMstocky-spoon-28903
10/08/2019, 8:08 AMalert-france-93241
10/08/2019, 8:15 AMalert-france-93241
10/08/2019, 8:15 AM