Skip to content

Commit

Permalink
Merge pull request #16552 from hashicorp/f-eks-node-group-capacity-ty…
Browse files Browse the repository at this point in the history
…pe-no-drift

r/eks_node_group: remove drift detection from capacity_type argument
  • Loading branch information
anGie44 authored Dec 2, 2020
2 parents d7fb1a4 + 4546abf commit 53d8277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aws/resource_aws_eks_node_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ func resourceAwsEksNodeGroup() *schema.Resource {
"capacity_type": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ForceNew: true,
Default: eks.CapacityTypesOnDemand,
ValidateFunc: validation.StringInSlice(eks.CapacityTypes_Values(), false),
},
"cluster_name": {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/eks_node_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ The following arguments are required:
The following arguments are optional:

* `ami_type` - (Optional) Type of Amazon Machine Image (AMI) associated with the EKS Node Group. Defaults to `AL2_x86_64`. Valid values: `AL2_x86_64`, `AL2_x86_64_GPU`, `AL2_ARM_64`. Terraform will only perform drift detection if a configuration value is provided.
* `capacity_type` - (Optional) Type of capacity associated with the EKS Node Group. Defaults to `ON_DEMAND`. Valid values: `ON_DEMAND`, `SPOT`.
* `capacity_type` - (Optional) Type of capacity associated with the EKS Node Group. Valid values: `ON_DEMAND`, `SPOT`. Terraform will only perform drift detection if a configuration value is provided.
* `disk_size` - (Optional) Disk size in GiB for worker nodes. Defaults to `20`. Terraform will only perform drift detection if a configuration value is provided.
* `force_update_version` - (Optional) Force version update if existing pods are unable to be drained due to a pod disruption budget issue.
* `instance_types` - (Optional) List of instance types associated with the EKS Node Group. Defaults to `["t3.medium"]`. Terraform will only perform drift detection if a configuration value is provided.
Expand Down

0 comments on commit 53d8277

Please sign in to comment.