Hello Team,
We have a use case where the GuardDuty Agent EKS Add-on is deployed and centrally managed with auto-provisioning from the master account to all member accounts.
We want to apply different custom configurations for the EKS add-on on different EKS clusters. This is possible using the AWS Console or the API call update-addon
. However, since the add-on is not explicitly created using the AWS resource aws_eks_addon
, it is not possible to update only the configuration . Attempting to do so results in the following error, which is understandable:
ResourceInUseException: Addon already exists.
As a workaround, we can create a null_resource in Terraform that calls the specific API, but it would be helpful if native support existed to update the add-on configuration without requiring such workarounds.
If I am missing something, every information is valuable.
Thank you,
Ana