sparse-intern-71089
06/06/2019, 7:28 PMcreamy-potato-29402
06/06/2019, 7:32 PMfull-dress-10026
06/06/2019, 7:32 PMfull-dress-10026
06/06/2019, 7:33 PMcreamy-potato-29402
06/06/2019, 7:33 PMget
anywhere in your code?full-dress-10026
06/06/2019, 7:34 PMcreamy-potato-29402
06/06/2019, 7:35 PMfull-dress-10026
06/06/2019, 7:35 PMaws.cloudformation.Stack.get
and aws.acm.getCertificate
creamy-potato-29402
06/06/2019, 7:36 PMfull-dress-10026
06/06/2019, 7:36 PMcreamy-potato-29402
06/06/2019, 7:36 PMfull-dress-10026
06/06/2019, 7:37 PMfull-dress-10026
06/06/2019, 7:41 PMpulumi.ComponentResource
that calls awsx.ec2.Vpc.fromExistingIds
in the constructor. Perhaps this is getting called during the preview? Would that be a problem?full-dress-10026
06/06/2019, 7:45 PM+ pulumi:pulumi:Stack vm-scaler-prod create 1 error; 2 messages
+ │ ├─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRoleBinding|rbac.authorization.k8s.io:ClusterRoleBinding> dd-agent-kube-state-metrics create
+ │ ├─ kubernetes:extensions:Deployment dd-agent-kube-state-metrics create
+ │ ├─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRole|rbac.authorization.k8s.io:ClusterRole> dd-agent-datadog create
+ │ ├─ kubernetes:<http://rbac.authorization.k8s.io:ClusterRole|rbac.authorization.k8s.io:ClusterRole> dd-agent-kube-state-metrics create
+ │ └─ kubernetes:extensions:DaemonSet dd-agent-datadog create
creamy-potato-29402
06/06/2019, 7:46 PMlemon-spoon-91807
06/06/2019, 7:46 PMfull-dress-10026
06/06/2019, 7:48 PMlemon-spoon-91807
06/06/2019, 7:48 PMlemon-spoon-91807
06/06/2019, 7:48 PMfull-dress-10026
06/06/2019, 7:49 PMgetSubnet
in my code.full-dress-10026
06/06/2019, 7:51 PMeksCluster.createNodeGroup(`k8s-${env}-ng`, {
instanceType: "c5.2xlarge",
desiredCapacity: k8sNodeCount || 3,
minSize: 1,
maxSize: k8sNodeCount || 3,
instanceProfile: eksInstanceProfile,
// autoScalingGroupTags: envTags,
// cloudFormationTags: envTags
});
Commenting out that block removes the error.lemon-spoon-91807
06/06/2019, 7:53 PMlemon-spoon-91807
06/06/2019, 7:53 PMfull-dress-10026
06/06/2019, 7:53 PMeksCluster = new eks.Cluster(`k8s-cluster-${env}`, {
vpcId: vpc.id,
subnetIds: vpc.publicSubnetIds,
deployDashboard: false,
skipDefaultNodeGroup: true,
instanceRoles: [eksRole1],
tags: envTags
});
vpc
is an `awsx.ec2.Vpc`that is outputted from a pulumi.ComponentResource
.lemon-spoon-91807
06/06/2019, 7:53 PMlemon-spoon-91807
06/06/2019, 7:54 PMfull-dress-10026
06/06/2019, 7:54 PMfull-dress-10026
06/06/2019, 7:55 PMconst vpcId = storageStack.outputs.apply(o => o["VpcId"]);
const subnetIds = [
storageStack.outputs.apply(o => o["Subnet0"]),
storageStack.outputs.apply(o => o["Subnet1"]),
storageStack.outputs.apply(o => o["Subnet2"])
];
this.vpc = awsx.ec2.Vpc.fromExistingIds(`${name}-vpc`, {
vpcId: vpcId,
publicSubnetIds: subnetIds,
}, {parent: this});
full-dress-10026
06/06/2019, 7:55 PMComponentResource
ctor ^lemon-spoon-91807
06/06/2019, 7:55 PMfull-dress-10026
06/06/2019, 7:55 PMlemon-spoon-91807
06/06/2019, 7:55 PMlemon-spoon-91807
06/06/2019, 7:56 PMstorageStack.outputs.VpcId
lemon-spoon-91807
06/06/2019, 7:56 PMfull-dress-10026
06/06/2019, 7:57 PMlemon-spoon-91807
06/06/2019, 7:57 PMfull-dress-10026
06/06/2019, 7:57 PMlemon-spoon-91807
06/06/2019, 7:58 PMlemon-spoon-91807
06/06/2019, 7:58 PMlemon-spoon-91807
06/06/2019, 7:59 PMfull-dress-10026
06/06/2019, 7:59 PMVpc
though.full-dress-10026
06/06/2019, 7:59 PMlemon-spoon-91807
06/06/2019, 7:59 PMlemon-spoon-91807
06/06/2019, 7:59 PMlemon-spoon-91807
06/06/2019, 8:00 PMlemon-spoon-91807
06/06/2019, 8:00 PMlemon-spoon-91807
06/06/2019, 8:00 PMlemon-spoon-91807
06/06/2019, 8:00 PMlemon-spoon-91807
06/06/2019, 8:01 PMfull-dress-10026
06/06/2019, 8:01 PMlemon-spoon-91807
06/06/2019, 8:01 PMlemon-spoon-91807
06/06/2019, 8:01 PMlemon-spoon-91807
06/06/2019, 8:06 PMlemon-spoon-91807
06/06/2019, 8:10 PMlemon-spoon-91807
06/06/2019, 8:10 PMlemon-spoon-91807
06/06/2019, 8:10 PMfull-dress-10026
06/06/2019, 8:10 PMlemon-spoon-91807
06/06/2019, 8:16 PMlemon-spoon-91807
06/06/2019, 8:17 PM