sparse-intern-71089
03/03/2020, 5:20 PMcrooked-knife-92853
03/03/2020, 6:01 PM@pulumi/eks
instead of the @pulumi/aws
module.
const existingEksCluster = aws.eks.getCluster({ name: clusterName });
new aws.eks.Cluster(
clusterName,
{
roleArn: existingEksCluster.roleArn,
enabledClusterLogTypes: existingEksCluster.enabledClusterLogTypes,
vpcConfig: {
subnetIds: existingEksCluster.vpcConfig.subnetIds,
securityGroupIds: existingEksCluster.vpcConfig.securityGroupIds,
endpointPrivateAccess: existingEksCluster.vpcConfig.endpointPrivateAccess,
endpointPublicAccess: existingEksCluster.vpcConfig.endpointPublicAccess,
},
},
{ import: existingEksCluster.id },
);
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by