This message was deleted.
# getting-started
s
This message was deleted.
b
Where's the rest of your code? You're creating your security group in a different vpc
b
Right. It is really an AWS error. Security groups belong to particular VPCs. If you want to attach a SG to an EKS cluster, they must both be in the same VPC.
j
Yeah, @mammoth-electrician-64525 has answered this question, but it turned out to be in incorrect attribute ref of VPC, should be
vpc.vpc_id