early-musician-41645
10/26/2018, 5:27 PM@pulumi/aws/eks
. I can't figure out what the vpcConfig
should look like and keep getting this erorr:
let cluster = new aws.eks.Cluster(environment+"-eks-cluster", {
roleArn : clusterRole.arn,
vpcConfig : {
vpcId : config.require("vpc-id"),
subnetIds : vpcSubnetIds,
securityGroupIds : [clusterSecurityGroup.id],
},
});
aws:eks:Cluster (online-sandbox-pulumi-poc-eks-cluster):
error: aws:eks/cluster:Cluster resource 'online-sandbox-pulumi-poc-eks-cluster' has a problem: "vpc_config.0.vpc_id": this field cannot be set
What am I doing wrong?