This message was deleted.
# general
s
This message was deleted.
c
Can you see the error if you do this:
pulumi up -y logtostderr -v9 --debug
Can you share your code and the values set via pulumi config?
m
Copy code
"use strict";
const pulumi = require("@pulumi/pulumi");
const aws = require("@pulumi/aws");
const awsx = require("@pulumi/awsx");
const eks = require("@pulumi/eks");
const kubernetes = require("@pulumi/kubernetes");

const name = "eks-matan";

// Create an EKS cluster with non-default configuration
const vpc = new awsx.ec2.Vpc("vpc-eks-matan",
    { subnets: [{ type: "public" },{ type: "private"}],
        cidrBlock: "10.20.0.0/16",
        tags: [{ test: "matan" }]});

const cluster = new eks.Cluster(name, {
    vpcId: vpc.id,
    subnetIds: vpc.privateSubnetIds,
    storageClasses: "gp2",
    nodeAssociatePublicIpAddress: false,
    skipDefaultNodeGroup: true,
});

const fixedNodeGroup = cluster.createNodeGroup("eks-matan-ng1", {
    instanceType: "t2.medium",
    desiredCapacity: 1,
    minSize: 1,
    maxSize: 2,
    labels: {"ondemand": "true"},
    instanceProfile: cluster.instanceRoles
});

const spotNodeGroup = new eks.NodeGroup("eks-matan-ng2", {
    cluster: cluster,
    instanceType: "t2.medium",
    desiredCapacity: 1,
    spotPrice: "1",
    minSize: 1,
    maxSize: 2,
    labels: {"preemptible": "true"},
    instanceProfile: cluster.instanceRoles,
    taints: {
        "special": {
            value: "true",
            effect: "NoSchedule",
        },
    },
}, {
    providers: { kubernetes: cluster.provider},
});

exports.kubeconfig = cluster.kubeconfig;
exports.fixedNodeGroup = fixedNodeGroup;
exports.spotNodeGroup = spotNodeGroup;
exports.vpc = vpc;
Copy code
config:
  aws:region: us-west-2
  pulumi:template: aws-javascript
I can see the error. But it does not provide any data.