mirror of
https://github.com/terraform-aws-modules/terraform-aws-eks.git
synced 2025-09-09 19:32:58 +08:00
Update flag name in readme
This commit is contained in:
@@ -46,14 +46,14 @@ module "my-cluster" {
|
||||
```
|
||||
## Conditional creation
|
||||
|
||||
Sometimes you need to have a way to create EKS resources conditionally but Terraform does not allow to use `count` inside `module` block, so the solution is to specify argument `create_cluster`.
|
||||
Sometimes you need to have a way to create EKS resources conditionally but Terraform does not allow to use `count` inside `module` block, so the solution is to specify argument `create_eks`.
|
||||
|
||||
```hcl
|
||||
# This cluster will not be created
|
||||
module "eks" {
|
||||
source = "terraform-aws-modules/eks/aws"
|
||||
|
||||
create_cluster = false
|
||||
create_eks = false
|
||||
# ... omitted
|
||||
}
|
||||
```
|
||||
@@ -136,7 +136,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
|
||||
| cluster\_security\_group\_id | If provided, the EKS cluster will be attached to this security group. If not given, a security group will be created with necessary ingres/egress to work with the workers | string | `""` | no |
|
||||
| cluster\_version | Kubernetes version to use for the EKS cluster. | string | `"1.14"` | no |
|
||||
| config\_output\_path | Where to save the Kubectl config file (if `write_kubeconfig = true`). Assumed to be a directory if the value ends with a forward slash `/`. | string | `"./"` | no |
|
||||
| create\_cluster | Controls if EKS resources should be created (it affects almost all resources) | bool | `"true"` | no |
|
||||
| create\_eks | Controls if EKS resources should be created (it affects almost all resources) | bool | `"true"` | no |
|
||||
| iam\_path | If provided, all IAM roles will be created on this path. | string | `"/"` | no |
|
||||
| kubeconfig\_aws\_authenticator\_additional\_args | Any additional arguments to pass to the authenticator such as the role to assume. e.g. ["-r", "MyEksRole"]. | list(string) | `[]` | no |
|
||||
| kubeconfig\_aws\_authenticator\_command | Command to use to fetch AWS EKS credentials. | string | `"aws-iam-authenticator"` | no |
|
||||
|
||||
Reference in New Issue
Block a user