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_cloudwatch_log_group.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/cloudwatch_log_group)| data source |
@@ -77,6 +79,7 @@ This module creates following resources.
77
79
| <aname="input_module_tags_enabled"></a> [module\_tags\_enabled](#input\_module\_tags\_enabled)| (Optional) Whether to create AWS Resource Tags for the module informations. |`bool`|`true`| no |
78
80
| <a name="input_oidc_identity_providers"></a> [oidc\_identity\_providers](#input\_oidc\_identity\_providers) | (Optional) A list of OIDC Identity Providers to associate as an additional method for user authentication to your Kubernetes cluster. Each item of `oidc_identity_providers` block as defined below.<br/> (Required) `name` - A unique name for the Identity Provider Configuration.<br/> (Required) `issuer_url` - The OIDC Identity Provider issuer URL.<br/> (Required) `client_id` - The OIDC Identity Provider client ID.<br/> (Optional) `required_claims` - The key value pairs that describe required claims in the identity token.<br/> (Optional) `username_claim` - The JWT claim that the provider will use as the username.<br/> (Optional) `username_prefix` - A prefix that is prepended to username claims.<br/> (Optional) `groups_claim` - The JWT claim that the provider will use to return groups.<br/> (Optional) `groups_prefix` - A prefix that is prepended to group claims e.g., `oidc:`. | <pre>list(object({<br/> name = string<br/> issuer_url = string<br/> client_id = string<br/><br/> required_claims = optional(map(string), {})<br/> username_claim = optional(string)<br/> username_prefix = optional(string)<br/> groups_claim = optional(string)<br/> groups_prefix = optional(string)<br/> }))</pre> | `[]` | no |
79
81
| <a name="input_outpost_config"></a> [outpost\_config](#input\_outpost\_config) | (Optional) A configuration of the outpost for the EKS cluster. `outpost_config` as defined below.<br/> (Required) `outposts` - A set of the Outpost ARNs that you want to use for your local Amazon EKS cluster on Outposts.<br/> (Required) `control_plane` - A configuration of the local EKS control plane node on Outposts. `control_plane` as defined below.<br/> (Required) `instance_type` - The Amazon EC2 instance type that you want to use for your local Amazon EKS cluster on Outposts. The instance type that you specify is used for all Kubernetes control plane instances. The instance type can't be changed after cluster creation. Choose an instance type based on the number of nodes that your cluster will have.<br/> - 1–20 nodes, then we recommend specifying a large instance type.<br/> - 21–100 nodes, then we recommend specifying an xlarge instance type.<br/> - 101–250 nodes, then we recommend specifying a 2xlarge instance type.<br/> (Optional) `placement_group` - The name of the placement group for the Kubernetes control plane instances. This setting can't be changed after cluster creation. | <pre>object({<br/> outposts = set(string)<br/> control_plane = object({<br/> instance_type = string<br/> placement_group = optional(string)<br/> })<br/> })</pre> | `null` | no |
82
+
| <a name="input_pod_identity_associations"></a> [pod\_identity\_associations](#input\_pod\_identity\_associations) | (Optional) A list of Pod Identity Associations to create for the EKS cluster. Each item of `pod_identity_associations` block as defined below.<br/> (Required) `namespace` - The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.<br/> (Required) `service_account` - The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.<br/> (Required) `role` - The ARN (Amazon Resource Name) of the IAM Role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.<br/> (Optional) `target_role` - The ARN (Amazon Resource Name) of the IAM Role to be chained to the the IAM role specified as `role`.<br/> (Optional) `session_tagging_enabled` - Whether to enable the automatic sessions tags that are appended by EKS Pod Identity. EKS Pod Identity adds a pre-defined set of session tags when it assumes the role. You can use these tags to author a single role that can work across resources by allowing access to AWS resources based on matching tags. By default, EKS Pod Identity attaches six tags, including tags for cluster name, namespace, and service account name. Defaults to `true`.<br/> (Optional) `tags` - A map of tags to add to the Pod Identity Association. | <pre>list(object({<br/> namespace = string<br/> service_account = string<br/> role = string<br/> target_role = optional(string)<br/> session_tagging_enabled = optional(bool, true)<br/> tags = optional(map(string), {})<br/> }))</pre> | `[]` | no |
80
83
| <aname="input_region"></a> [region](#input\_region)| (Optional) The region in which to create the module resources. If not provided, the module resources will be created in the provider's configured region. |`string`|`null`| no |
81
84
| <aname="input_remote_network_config"></a> [remote\_network\_config](#input\_remote\_network\_config)| (Optional) A configuration of remote network for the EKS Hybrid nodes. `remote_network_config` as defined below.<br/> (Optional) `node_ipv4_cidrs` - A set of IPv4 CIDR blocks for the EKS Hybrid nodes.<br/> (Optional) `pod_ipv4_cidrs` - A set of IPv4 CIDR blocks for the pods running on the EKS Hybrid nodes. | <pre>object({<br/> node_ipv4_cidrs = optional(set(string), [])<br/> pod_ipv4_cidrs = optional(set(string), [])<br/> })</pre> |`{}`| no |
82
85
| <aname="input_resource_group"></a> [resource\_group](#input\_resource\_group)| (Optional) A configurations of Resource Group for this module. `resource_group` as defined below.<br/> (Optional) `enabled` - Whether to create Resource Group to find and group AWS resources which are created by this module. Defaults to `true`.<br/> (Optional) `name` - The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with `AWS` or `aws`. If not provided, a name will be generated using the module name and instance name.<br/> (Optional) `description` - The description of Resource Group. Defaults to `Managed by Terraform.`. | <pre>object({<br/> enabled = optional(bool, true)<br/> name = optional(string, "")<br/> description = optional(string, "Managed by Terraform.")<br/> })</pre> |`{}`| no |
@@ -110,6 +113,7 @@ This module creates following resources.
110
113
| <aname="output_oidc_identity_providers"></a> [oidc\_identity\_providers](#output\_oidc\_identity\_providers)| A map of all associated OIDC Identity Providers to the cluster. |
111
114
| <aname="output_outpost_config"></a> [outpost\_config](#output\_outpost\_config)| The configurations of the outpost for the EKS cluster.<br/> `outposts` - The list of the Outposts ARNs.<br/> `control_plane` - The configurations of the local EKS control plane node on Outposts.<br/> `instance_type` - The EC2 instance type of the local EKS control plane node on Outposts.<br/> `placement_group` - The name of the placement group for the EKS control plane node on Outposts. |
112
115
| <aname="output_platform_version"></a> [platform\_version](#output\_platform\_version)| The platform version for the cluster. |
116
+
| <aname="output_pod_identity_associations"></a> [pod\_identity\_associations](#output\_pod\_identity\_associations)| A map of all created Pod Identity Associations. |
113
117
| <aname="output_region"></a> [region](#output\_region)| The AWS region this module resources resides in. |
114
118
| <aname="output_remote_network_config"></a> [remote\_network\_config](#output\_remote\_network\_config)| The configurations of remote network for the EKS Hybrid nodes.<br/> `node_ipv4_cidrs` - A set of IPv4 CIDR blocks for remote nodes.<br/> `pod_ipv4_cidrs` - A set of IPv4 CIDR blocks for remote pods. |
115
119
| <aname="output_resource_group"></a> [resource\_group](#output\_resource\_group)| The resource group created to manage resources in this module. |
(Optional) A list of Pod Identity Associations to create for the EKS cluster. Each item of `pod_identity_associations` block as defined below.
341
+
(Required) `namespace` - The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
342
+
(Required) `service_account` - The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
343
+
(Required) `role` - The ARN (Amazon Resource Name) of the IAM Role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
344
+
(Optional) `target_role` - The ARN (Amazon Resource Name) of the IAM Role to be chained to the the IAM role specified as `role`.
345
+
(Optional) `session_tagging_enabled` - Whether to enable the automatic sessions tags that are appended by EKS Pod Identity. EKS Pod Identity adds a pre-defined set of session tags when it assumes the role. You can use these tags to author a single role that can work across resources by allowing access to AWS resources based on matching tags. By default, EKS Pod Identity attaches six tags, including tags for cluster name, namespace, and service account name. Defaults to `true`.
346
+
(Optional) `tags` - A map of tags to add to the Pod Identity Association.
347
+
EOF
348
+
type=list(object({
349
+
namespace =string
350
+
service_account =string
351
+
role =string
352
+
target_role =optional(string)
353
+
session_tagging_enabled =optional(bool, true)
354
+
tags =optional(map(string), {})
355
+
}))
356
+
default=[]
357
+
nullable=false
358
+
}
359
+
338
360
variable"oidc_identity_providers" {
339
361
description=<<EOF
340
362
(Optional) A list of OIDC Identity Providers to associate as an additional method for user authentication to your Kubernetes cluster. Each item of `oidc_identity_providers` block as defined below.
0 commit comments