billowy-laptop-45963
12/13/2019, 4:58 PMgithub_repository_webhook
?rhythmic-hair-33677
12/13/2019, 6:28 PMbroad-boots-45639
12/13/2019, 6:52 PMpanic: fatal: An assertion has failed: Kubernetes GVK is: "urn:pulumi:nyc1-stage::kubernetes::digitalocean:index/kubernetesNodePool:KubernetesNodePool::kubernetes-secondary"
broad-boots-45639
12/13/2019, 6:53 PMconst cluster = new digitalocean.KubernetesCluster(project_name, {
region: digitalocean.Regions.NYC1,
version: "1.15.5-do.2",
nodePool: {
name: `pulumi-${env}-default-nodepool`,
size: "c-4",
autoScale: true,
minNodes: 2,
maxNodes: 6
}
});
export const kubeconfig = cluster.kubeConfigs[0].rawConfig;
export const clusterName = digitalocean.KubernetesCluster.name;
export const clusterID = cluster.id;
const provider = new kubernetes.Provider("do-k8s", { kubeconfig })
const nodepool_name = `${project_name}-secondary`;
const node_pool = new digitalocean.KubernetesNodePool(nodepool_name, {
name: nodepool_name,
clusterId: cluster.id,
size: "c-32",
autoScale: true,
minNodes: 1,
maxNodes: 3
}, { provider, dependsOn: cluster } );
broad-boots-45639
12/13/2019, 6:53 PMbreezy-agency-15661
12/13/2019, 7:06 PMlet secret = await aws.ssm.getParameter({
name: "passwordParameter"
});
console.log(secret.value);
rhythmic-hair-33677
12/13/2019, 8:01 PMbreezy-agency-15661
12/13/2019, 8:14 PMaws.cloudwatch.onSchedule("test", "rate(1 minute)", async (event) => {
try {
let secret = await MYSSM.getValue("mySecret");
console.log(secret);
console.log(`current time: ${Date.now()}`);
} catch (e) {
console.log(e);
}
});
breezy-agency-15661
12/13/2019, 8:16 PMnice-airport-15607
12/13/2019, 11:06 PMerror: aws:lambda/function:Function resource 'someLambda' has a problem: expected runtime to be one of [dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 go1.x java8 nodejs4.3 nodejs4.3-edge nodejs6.10 nodejs8.10 nodejs10.x provided python2.7 python3.6 python3.7 ruby2.5], got nodejs12.x
nice-airport-15607
12/13/2019, 11:17 PMred-garage-90347
12/15/2019, 3:56 AMvictorious-xylophone-55816
12/15/2019, 4:08 AMambitious-ram-5811
12/15/2019, 4:11 AMambitious-ram-5811
12/15/2019, 4:11 AMambitious-ram-5811
12/15/2019, 4:12 AMvictorious-xylophone-55816
12/15/2019, 4:13 AMpulumi up
once in the beginning to get your stack up on your cloud provider?victorious-xylophone-55816
12/15/2019, 4:13 AMvictorious-xylophone-55816
12/15/2019, 4:15 AMdocker-compose
to set up the services, and then only build + push/deploy the app code Docker container to k8s, while other do Kubernetes-native development by live-sync`ing their local files to a k8s service)victorious-xylophone-55816
12/15/2019, 4:16 AMambitious-ram-5811
12/15/2019, 4:18 AMpulumi up
, write a 2nd line, pulumi up
and see if it did what you want, etc etcambitious-ram-5811
12/15/2019, 4:18 AMambitious-ram-5811
12/15/2019, 4:18 AMvictorious-xylophone-55816
12/15/2019, 4:19 AMambitious-ram-5811
12/15/2019, 4:19 AMambitious-ram-5811
12/15/2019, 4:20 AMvictorious-xylophone-55816
12/15/2019, 4:22 AMvictorious-xylophone-55816
12/15/2019, 4:23 AMvictorious-xylophone-55816
12/15/2019, 4:23 AMambitious-ram-5811
12/15/2019, 4:26 AM