diff --git a/aks/terraform/modules/broker-node-pool/README.md b/aks/terraform/modules/broker-node-pool/README.md index f28854d..de7ba68 100644 --- a/aks/terraform/modules/broker-node-pool/README.md +++ b/aks/terraform/modules/broker-node-pool/README.md @@ -26,7 +26,7 @@ No modules. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| -| [availability\_zones](#input\_availability\_zones) | The availability zones for the node pools - one pool is created in each zone. | `list(string)` |
[| no | +| [availability\_zones](#input\_availability\_zones) | The availability zones for the node pools - one pool is created in each zone. | `list(string)` |
"1",
"2",
"3"
]
[| no | | [cluster\_id](#input\_cluster\_id) | The ID of the cluster. | `string` | n/a | yes | | [common\_tags](#input\_common\_tags) | Tags that are added to all resources created by this module. | `map(string)` | `{}` | no | | [kubernetes\_version](#input\_kubernetes\_version) | The Kubernetes version for the node pools. | `string` | n/a | yes | diff --git a/aks/terraform/modules/cluster/README.md b/aks/terraform/modules/cluster/README.md index 8de7756..950369c 100644 --- a/aks/terraform/modules/cluster/README.md +++ b/aks/terraform/modules/cluster/README.md @@ -35,7 +35,7 @@ No modules. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| -| [availability\_zones](#input\_availability\_zones) | The availability zones for the default (system) node pool. | `list(string)` |
"1",
"2",
"3"
]
[| no | +| [availability\_zones](#input\_availability\_zones) | The availability zones for the default (system) node pool. | `list(string)` |
"1",
"2",
"3"
]
[| no | | [cluster\_name](#input\_cluster\_name) | The name of the cluster and name (or name prefix) for all other infrastructure. | `string` | n/a | yes | | [common\_tags](#input\_common\_tags) | Tags that are added to all resources created by this module. | `map(string)` | `{}` | no | | [kubernetes\_api\_authorized\_networks](#input\_kubernetes\_api\_authorized\_networks) | A list of CIDRs that can access the Kubernetes API, in addition to the VPC's CIDR (which is added by default). | `list(string)` | `[]` | no | diff --git a/eks/terraform/modules/cluster-addons/README.md b/eks/terraform/modules/cluster-addons/README.md index 444a5bb..5f01112 100644 --- a/eks/terraform/modules/cluster-addons/README.md +++ b/eks/terraform/modules/cluster-addons/README.md @@ -17,10 +17,10 @@ | Name | Source | Version | |------|--------|---------| -| [aws\_ebs\_csi\_pod\_identity](#module\_aws\_ebs\_csi\_pod\_identity) | terraform-aws-modules/eks-pod-identity/aws | 1.7.0 | -| [aws\_lb\_controller\_pod\_identity](#module\_aws\_lb\_controller\_pod\_identity) | terraform-aws-modules/eks-pod-identity/aws | 1.7.0 | -| [aws\_vpc\_cni\_pod\_identity](#module\_aws\_vpc\_cni\_pod\_identity) | terraform-aws-modules/eks-pod-identity/aws | 1.7.0 | -| [cluster\_autoscaler\_pod\_identity](#module\_cluster\_autoscaler\_pod\_identity) | terraform-aws-modules/eks-pod-identity/aws | 1.7.0 | +| [aws\_ebs\_csi\_pod\_identity](#module\_aws\_ebs\_csi\_pod\_identity) | terraform-aws-modules/eks-pod-identity/aws | 1.10.0 | +| [aws\_lb\_controller\_pod\_identity](#module\_aws\_lb\_controller\_pod\_identity) | terraform-aws-modules/eks-pod-identity/aws | 1.10.0 | +| [aws\_vpc\_cni\_pod\_identity](#module\_aws\_vpc\_cni\_pod\_identity) | terraform-aws-modules/eks-pod-identity/aws | 1.10.0 | +| [cluster\_autoscaler\_pod\_identity](#module\_cluster\_autoscaler\_pod\_identity) | terraform-aws-modules/eks-pod-identity/aws | 1.10.0 | ## Resources diff --git a/gke/terraform/modules/cluster/README.md b/gke/terraform/modules/cluster/README.md index b75b4ae..1a56c6d 100644 --- a/gke/terraform/modules/cluster/README.md +++ b/gke/terraform/modules/cluster/README.md @@ -21,6 +21,7 @@ No modules. | Name | Type | |------|------| | [google_container_cluster.cluster](https://registry.terraform.io/providers/hashicorp/google/6.10.0/docs/resources/container_cluster) | resource | +| [google_project_iam_member.default_worker_node](https://registry.terraform.io/providers/hashicorp/google/6.10.0/docs/resources/project_iam_member) | resource | | [google_service_account.cluster](https://registry.terraform.io/providers/hashicorp/google/6.10.0/docs/resources/service_account) | resource | | [google_container_engine_versions.this](https://registry.terraform.io/providers/hashicorp/google/6.10.0/docs/data-sources/container_engine_versions) | data source | diff --git a/gke/terraform/modules/cluster/main.tf b/gke/terraform/modules/cluster/main.tf index d133378..5439744 100644 --- a/gke/terraform/modules/cluster/main.tf +++ b/gke/terraform/modules/cluster/main.tf @@ -3,6 +3,12 @@ resource "google_service_account" "cluster" { display_name = "Service account for ${var.cluster_name} worker nodes" } +resource "google_project_iam_member" "default_worker_node" { + project = google_service_account.cluster.project + role = "roles/container.defaultNodeServiceAccount" + member = google_service_account.cluster.member +} + ################################################################################ # Cluster ################################################################################
"1",
"2",
"3"
]