You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some AWS EKS AddOns require tags to be applied to them to be supported. AWS GuardDuty Agent comes to mind, and the IAM service role permissions look for a GuardDutyManaged tag being used. The current format of the addons variable and functionality do not allow for the application of this tag. The only option is to apply that tag to this EKS module itself as a whole, resulting in the tag being applied to every resource created by the module. If the cluster is already deployed and adding this, it presents a considerable change set, with some resources requiring complete replacement.
Expected Behavior
The addons variable is already a list of objects so it should be relatively easy to add a tags to the list and then add the tags parameter to the aws_eks_addon resource in main.tf to apply if non-null.
Use Case
The AWS GuardDutyAgent runtime EKS addon requires the tag GuardDutyManaged be added to the add-on deployed for GuardDuty to service role permissions to allow it to function correctly.
Describe Ideal Solution
As stated in the problem the aws-guardduty-agent EKS add-on requires the GuardDutyManaged tag to be set so rather than have:
Describe the Feature
Some AWS EKS AddOns require tags to be applied to them to be supported. AWS GuardDuty Agent comes to mind, and the IAM service role permissions look for a
GuardDutyManaged
tag being used. The current format of theaddons
variable and functionality do not allow for the application of this tag. The only option is to apply that tag to this EKS module itself as a whole, resulting in the tag being applied to every resource created by the module. If the cluster is already deployed and adding this, it presents a considerable change set, with some resources requiring complete replacement.Expected Behavior
The
addons
variable is already a list of objects so it should be relatively easy to add atags
to the list and then add thetags
parameter to theaws_eks_addon
resource in main.tf to apply if non-null.Use Case
The AWS GuardDutyAgent runtime EKS addon requires the tag
GuardDutyManaged
be added to the add-on deployed for GuardDuty to service role permissions to allow it to function correctly.Describe Ideal Solution
As stated in the problem the
aws-guardduty-agent
EKS add-on requires theGuardDutyManaged
tag to be set so rather than have:added to the
addons
variable passed to the module you would have something along the lines of:Alternatives Considered
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: