-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: aws_eks_addon fails creation with resolve_conflicts = "PRESERVE"
#27481
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
resolve_conflicts = "PRESERVE"
on creationresolve_conflicts = "PRESERVE"
@z0rc - as your links to the documentation point out, the AWS EKS |
@mattburgess my use case is to have terraform code that can be applied always. I need The way I see this situation can solved is by extending resolve_conflicts {
on_create = "OVERWRITE"
on_update = "PRESERVE"
} |
@z0rc it's taken a while but I might be able to pick this up. I like your proposal, except that changing |
This functionality has been released in v5.0.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Core Version
1.3.2
AWS Provider Version
4.36.1
Affected Resource(s)
Expected Behavior
Setting
resolve_conflicts = "PRESERVE"
should be supported in all cases.Actual Behavior
Addon creation fails when applying this resource to new empty EKS cluster.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Create EKS cluster using
aws_eks_cluster
and addaws_eks_addon
to it.Debug Output
No response
Panic Output
No response
Important Factoids
According to AWS EKS API, both CreateAddon and UpdateAddon consider
OVERWRITE | NONE | PRESERVE
as valid string forresolveConflicts
. But CreateAddon doesn't actually allow it.References
https://docs.aws.amazon.com/eks/latest/APIReference/API_CreateAddon.html#API_CreateAddon_RequestBody
https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html#API_UpdateAddon_RequestBody
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: