Switch to non-abandoned kubectl provider #5
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes error message "the server could not find the requested resource" on EKS/Kubernetes 1.27 for kubectl_manifest resources
Both resources "kubectl_manifest.karpenter_default_ec2_node_class" and "kubectl_manifest.karpenter_default_node_pool" can not created properly by terraform. This leads to an unfinished state while using this blueprints.
Used EKS version: 1.27
Regardless of whether the k8s resources already exist or not, this error occurs, see here:
The used provider of user gavinbunny seems abandoned, see here:
gavinbunney/terraform-provider-kubectl#270
Therefore I would propose to switch to alekc/kubectl which also fixes the mentioned bug while using kubectl_manifest resource creation.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.