https://pulumi.com logo
#general
Title
# general
l

late-printer-99022

01/13/2020, 11:31 AM
Copy code
const vpc = new awsx.ec2.Vpc(clusterName, {
  subnets: [
    {
      type: 'public',
      tags: {
        '<http://kubernetes.io/role/elb|kubernetes.io/role/elb>': '',
        '<http://kubernetes.io/cluster/syngenta-platform-eksCluster-128eacd|kubernetes.io/cluster/syngenta-platform-eksCluster-128eacd>': 'shared' // ?? Cannot get cluster name at the time of vpc creation.
      }
    }
  ]
});
e

elegant-dress-88912

01/14/2020, 10:03 AM
@late-printer-99022 tags are added automatically later when you create https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/eks/#Cluster
l

late-printer-99022

01/14/2020, 12:27 PM
No, in my case elb etc tags not created automatically
c

calm-parrot-72437

04/02/2020, 1:30 AM
you figure this out @late-printer-99022? Need to do the same thing for the exact same reason...