cloudposse / cloudposse/terraform-aws-eks-node-group
The parameter nodeRepairConfig is not supported in region cn-north-1
- Dominant language
- HCL
- Stars
- 99
- Forks
- 134
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the Bug
**Bug Report:** InvalidParameterException in EKS Node Group Creation
**Description:** When creating an EKS Node Group, the following error occurs:
`Error: creating EKS Node Group (cluster:cluster-addons-workers-kiwi): operation error EKS: CreateNodegroup, https response error StatusCode: 400, RequestID: 3a49adc8-fa22-485c-bdb6-4d3f1d4e23e4, InvalidParameterException: The parameter nodeRepairConfig is not supported in region cn-north-1`
**References:**
[L253](https://github.com/cloudposse/terraform-aws-eks-node-group/blob/main/main.tf#L253)
[L342](https://github.com/cloudposse/terraform-aws-eks-node-group/blob/main/main.tf#L342)
Thank you.
### Expected Behavior
The EKS Node Group should be created without issues, as nodeRepairConfig should either be supported in all regions or be excluded for unsupported regions.
### Steps to Reproduce
Either remove or conditionally exclude the nodeRepairConfig parameter for unsupported regions like cn-north-1 in the module code.
### Screenshots
_No response_
### Environment
cn-north-1
### Additional Context
_No response_
Contributor guide
Research direction
Start in main.tf at lines 253 and 342, where nodeRepairConfig is referenced for EKS node group creation. Check how the module handles AWS regions and verify the behavior for cn-north-1. Done means the node group can be created in cn-north-1 without sending the unsupported parameter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, kubernetes, terraform
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100