<p>I need a help with EKS managed node group.
I've created a cluster with one additional sg. Inside of this cluster I've created managed node group. All code is stocked in terraform. Once managed node group creates new instance, only one security group is attached (SG created by AWS). Is it somehow a way to attach also additional security group to instances?</p>
<p>Thanks in advance for help!</p>

<p>You can create a custom launch template to define your own security group for the node group. You can then reference the launch template in your terraform <code>aws_eks_node_group</code> resource.</p>
<pre class="lang-bash prettyprint-override"><code> launch_template {
   name = aws_launch_template.your_eks_launch_template.name
   version = aws_launch_template.your_eks_launch_template.latest_version
  }
</code></pre>
