Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform CLI and Terraform AWS Provider
Terraform 0.12.x
AWS provider v3.19.0
Affected Resource(s)
Terraform Configuration Files
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/modules/node_groups/node_groups.tf#L1
Plan Output
# module.eks.module.node_groups.aws_eks_node_group.workers["node-group-3"] must be replaced
+/- resource "aws_eks_node_group" "workers" {
~ ami_type = "AL2_x86_64" -> (known after apply)
~ arn = "<REDACTED>" -> (known after apply)
+ capacity_type = "ON_DEMAND" # forces replacement
cluster_name = "<REDACTED>"
disk_size = 120
<SNIP>
}
Expected Behavior
Upgrading to terraform-provider-aws v3.19.0, which is a minor semver change, should not cause existing aws_eks_node_group should not cause existing resources to be replaced.
Actual Behavior
Existing node groups are being forced to recreate.
Steps to Reproduce
- Deploy an
aws_eks_node_group with terraform-provider-aws v3.18.0
- Update terraform-provider-aws to v3.19.0
terraform plan
References
v3.18.0...v3.19.0#diff-fbadf1462da63413e1e824058fc520a1711c7a8c0ec3a27266fc51adb96e94c4R50
Community Note
Terraform CLI and Terraform AWS Provider
Terraform 0.12.x
AWS provider v3.19.0
Affected Resource(s)
Terraform Configuration Files
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/modules/node_groups/node_groups.tf#L1
Plan Output
Expected Behavior
Upgrading to terraform-provider-aws v3.19.0, which is a minor semver change, should not cause existing
aws_eks_node_groupshould not cause existing resources to be replaced.Actual Behavior
Existing node groups are being forced to recreate.
Steps to Reproduce
aws_eks_node_groupwith terraform-provider-aws v3.18.0terraform planReferences
v3.18.0...v3.19.0#diff-fbadf1462da63413e1e824058fc520a1711c7a8c0ec3a27266fc51adb96e94c4R50