Just looking for some clarification if possible..
If we look at the below cluster.yaml
for eksctl;
metadata:
name: blah
region: blah
version: blah
managedNodeGroups:
- name: blah
instance_type: blah
blah
blah
blah
iam:
withAddonPolicies:
appMesh: true
xray: true
I'm not using this to build the cluster, it's being built using Terraform.. but I'm looking for clarification as to how to apply the addon policies using TF? Is it simply using the aws_eks_addon
resource?
So would it simply look like:
resource "aws_eks_addon" "xray" {
cluster_name = aws_eks_cluster.example.name
addon_name = "xray"
}
Am I barking up the right tree?
TIA