You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[aws_ami.eks_worker](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami)| data source |
@@ -221,6 +219,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
221
219
|[aws_iam_policy_document.workers_assume_role_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
222
220
|[aws_iam_role.custom_cluster_iam_role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_role)| data source |
223
221
|[aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition)| data source |
222
+
|[http_http.wait_for_cluster](https://registry.terraform.io/providers/hashicorp/http/latest/docs/data-sources/http)| data source |
224
223
|[template_file.launch_template_userdata](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file)| data source |
225
224
|[template_file.userdata](https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file)| data source |
226
225
@@ -273,8 +272,6 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
273
272
| <aname="input_subnets"></a> [subnets](#input\_subnets)| A list of subnets to place the EKS cluster and workers within. |`list(string)`| n/a | yes |
274
273
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources. Tags added to launch configuration or templates override these values for ASG Tags only. |`map(string)`|`{}`| no |
275
274
| <aname="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id)| VPC where the cluster and workers will be deployed. |`string`| n/a | yes |
276
-
| <aname="input_wait_for_cluster_cmd"></a> [wait\_for\_cluster\_cmd](#input\_wait\_for\_cluster\_cmd)| Custom local-exec command to execute for determining if the eks cluster is healthy. Cluster endpoint will be available as an environment variable called ENDPOINT |`string`|`"for i in `seq 1 60`; do if `command -v wget > /dev/null`; then wget --no-check-certificate -O - -q $ENDPOINT/healthz >/dev/null && exit 0 || true; else curl -k -s $ENDPOINT/healthz >/dev/null && exit 0 || true;fi; sleep 5; done; echo TIMEOUT && exit 1"` | no |
277
-
| <aname="input_wait_for_cluster_interpreter"></a> [wait\_for\_cluster\_interpreter](#input\_wait\_for\_cluster\_interpreter)| Custom local-exec command line interpreter for the command to determining if the eks cluster is healthy. |`list(string)`| <pre>[<br> "/bin/sh",<br> "-c"<br>]</pre> | no |
278
275
| <aname="input_worker_additional_security_group_ids"></a> [worker\_additional\_security\_group\_ids](#input\_worker\_additional\_security\_group\_ids)| A list of additional security group ids to attach to worker instances |`list(string)`|`[]`| no |
279
276
| <aname="input_worker_ami_name_filter"></a> [worker\_ami\_name\_filter](#input\_worker\_ami\_name\_filter)| Name filter for AWS EKS worker AMI. If not provided, the latest official AMI for the specified 'cluster\_version' is used. |`string`|`""`| no |
280
277
| <aname="input_worker_ami_name_filter_windows"></a> [worker\_ami\_name\_filter\_windows](#input\_worker\_ami\_name\_filter\_windows)| Name filter for AWS EKS Windows worker AMI. If not provided, the latest official AMI for the specified 'cluster\_version' is used. |`string`|`""`| no |
description="Custom local-exec command to execute for determining if the eks cluster is healthy. Cluster endpoint will be available as an environment variable called ENDPOINT"
210
-
type=string
211
-
default="for i in `seq 1 60`; do if `command -v wget > /dev/null`; then wget --no-check-certificate -O - -q $ENDPOINT/healthz >/dev/null && exit 0 || true; else curl -k -s $ENDPOINT/healthz >/dev/null && exit 0 || true;fi; sleep 5; done; echo TIMEOUT && exit 1"
212
-
}
213
-
214
-
variable"wait_for_cluster_interpreter" {
215
-
description="Custom local-exec command line interpreter for the command to determining if the eks cluster is healthy."
216
-
type=list(string)
217
-
default=["/bin/sh", "-c"]
218
-
}
219
-
220
208
variable"cluster_create_security_group" {
221
209
description="Whether to create a security group for the cluster or attach the cluster to `cluster_security_group_id`."
0 commit comments