am creating eks using terraform and terragrunt. while updating the scaling config desired node count from 1 to 2, getting the error like updating EKS Node Group (oe-dev-eks:oe-dev-eks-local-swarm-node-group) config: ResourceInUseException: Nodegroup cannot be updated as it is currently not in Active State.
terragrunt command updating the scaling config at aws console. but exited with error like Nodegroup cannot be updated as it is currently not in Active State.
how to resolve this error so that my terragrunt run-all apply command excuted without any error.
Error: error updating EKS Node Group (oe-dev-eks:oe-dev-eks-local-swarm-node-group) config: ResourceInUseException: Nodegroup cannot be updated as it is currently not in Active State
│ {
│ RespMetadata: {
│ StatusCode: 409,
│ RequestID: “6faeb9e9-f3cf-4ba4-817b-d55453706e54”
│ },
│ ClusterName: “oe-dev-eks”,
│ Message_: “Nodegroup cannot be updated as it is currently not in Active State”,
│ NodegroupName: “oe-dev-eks-local-swarm-node-group”
│ }
│
│ with aws_eks_node_group.node_group1[“general”],
│ on node.tf line 1, in resource “aws_eks_node_group” “node_group1”:
│ 1: resource “aws_eks_node_group” “node_group1” {
│
╵
╷
│ Error: error updating EKS Node Group (oe-dev-eks:oe-dev-eks-adminapp-node-group1) config: ResourceInUseException: Nodegroup cannot be updated as it is currently not in Active State
│ {
│ RespMetadata: {
│ StatusCode: 409,
│ RequestID: “2c601dbd-7317-475f-9b3f-2f201b24344f”
│ },
│ ClusterName: “oe-dev-eks”,
│ Message_: “Nodegroup cannot be updated as it is currently not in Active State”,
│ NodegroupName: “oe-dev-eks-adminapp-node-group1”
│ }
│
│ with aws_eks_node_group.node_group2[“adminapp”],
│ on node.tf line 51, in resource “aws_eks_node_group” “node_group2”:
│ 51: resource “aws_eks_node_group” “node_group2” {
│