seqeralabs / terraform-seqera-aws

Apache License 2.0
5 stars 3 forks source link

Warning: Argument is deprecated #12

Closed pditommaso closed 10 months ago

pditommaso commented 10 months ago

The following warning is reported while running terraform plan:

╷
│ Warning: Argument is deprecated
│ 
│   with module.terraform-seqera-module.module.eks.aws_eks_addon.this["vpc-cni"],
│   on .terraform/modules/terraform-seqera-module.eks/main.tf line 392, in resource "aws_eks_addon" "this":
│  392:   resolve_conflicts        = try(each.value.resolve_conflicts, "OVERWRITE")
│ 
│ The "resolve_conflicts" attribute can't be set to "PRESERVE" on initial resource creation. Use
│ "resolve_conflicts_on_create" and/or "resolve_conflicts_on_update" instead
│ 
│ (and 2 more similar warnings elsewhere)
╵
enekui commented 10 months ago

Yes, I am aware of this warning message. Unfortunately, this is something that is in the AWS EKS module. So, there is nothing we can do at this time to fix this. It entirely depends on them to modify this and avoid the error message. In fact, we are running the latest version of their module but the warning message persists.