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_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
93
96
|[aws_ec2_instance_type.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ec2_instance_type)| data source |
94
97
|[aws_iam_policy_document.assume_role_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
95
98
|[aws_iam_policy_document.role](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
96
99
|[aws_partition.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/partition)| data source |
97
100
|[aws_ssm_parameter.ami](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ssm_parameter)| data source |
101
+
|[aws_subnet.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/subnet)| data source |
| <aname="input_create_iam_role_policy"></a> [create\_iam\_role\_policy](#input\_create\_iam\_role\_policy)| Determines whether an IAM role policy is created or not |`bool`|`true`| no |
123
127
| <aname="input_create_launch_template"></a> [create\_launch\_template](#input\_create\_launch\_template)| Determines whether to create a launch template or not. If set to `false`, EKS will use its own default launch template |`bool`|`true`| no |
124
128
| <aname="input_create_placement_group"></a> [create\_placement\_group](#input\_create\_placement\_group)| Determines whether a placement group is created & used by the node group |`bool`|`false`| no |
129
+
| <aname="input_create_security_group"></a> [create\_security\_group](#input\_create\_security\_group)| Determines if a security group is created |`bool`|`true`| no |
125
130
| <aname="input_credit_specification"></a> [credit\_specification](#input\_credit\_specification)| Customize the credit specification of the instance | <pre>object({<br/> cpu_credits = optional(string)<br/> })</pre> |`null`| no |
126
131
| <aname="input_desired_size"></a> [desired\_size](#input\_desired\_size)| Desired number of instances/nodes |`number`|`1`| no |
127
132
| <aname="input_disable_api_termination"></a> [disable\_api\_termination](#input\_disable\_api\_termination)| If true, enables EC2 instance termination protection |`bool`|`null`| no |
| <aname="input_private_dns_name_options"></a> [private\_dns\_name\_options](#input\_private\_dns\_name\_options)| The options for the instance hostname. The default values are inherited from the subnet | <pre>object({<br/> enable_resource_name_dns_aaaa_record = optional(bool)<br/> enable_resource_name_dns_a_record = optional(bool)<br/> hostname_type = optional(string)<br/> })</pre> |`null`| no |
173
178
| <aname="input_ram_disk_id"></a> [ram\_disk\_id](#input\_ram\_disk\_id)| The ID of the ram disk |`string`|`null`| no |
174
179
| <aname="input_remote_access"></a> [remote\_access](#input\_remote\_access)| Configuration block with remote access settings. Only valid when `use_custom_launch_template` = `false`| <pre>object({<br/> ec2_ssh_key = optional(string)<br/> source_security_group_ids = optional(list(string))<br/> })</pre> |`null`| no |
180
+
| <aname="input_security_group_description"></a> [security\_group\_description](#input\_security\_group\_description)| Description of the security group created |`string`|`null`| no |
181
+
| <aname="input_security_group_egress_rules"></a> [security\_group\_egress\_rules](#input\_security\_group\_egress\_rules)| Security group egress rules to add to the security group created | <pre>map(object({<br/> name = optional(string)<br/><br/> cidr_ipv4 = optional(string)<br/> cidr_ipv6 = optional(string)<br/> description = optional(string)<br/> from_port = optional(string)<br/> ip_protocol = optional(string, "tcp")<br/> prefix_list_id = optional(string)<br/> referenced_security_group_id = optional(string)<br/> self = optional(bool, false)<br/> tags = optional(map(string), {})<br/> to_port = optional(string)<br/> }))</pre> |`{}`| no |
182
+
| <aname="input_security_group_ingress_rules"></a> [security\_group\_ingress\_rules](#input\_security\_group\_ingress\_rules)| Security group ingress rules to add to the security group created | <pre>map(object({<br/> name = optional(string)<br/><br/> cidr_ipv4 = optional(string)<br/> cidr_ipv6 = optional(string)<br/> description = optional(string)<br/> from_port = optional(string)<br/> ip_protocol = optional(string, "tcp")<br/> prefix_list_id = optional(string)<br/> referenced_security_group_id = optional(string)<br/> self = optional(bool, false)<br/> tags = optional(map(string), {})<br/> to_port = optional(string)<br/> }))</pre> |`{}`| no |
183
+
| <aname="input_security_group_name"></a> [security\_group\_name](#input\_security\_group\_name)| Name to use on security group created |`string`|`null`| no |
184
+
| <aname="input_security_group_tags"></a> [security\_group\_tags](#input\_security\_group\_tags)| A map of additional tags to add to the security group created |`map(string)`|`{}`| no |
185
+
| <aname="input_security_group_use_name_prefix"></a> [security\_group\_use\_name\_prefix](#input\_security\_group\_use\_name\_prefix)| Determines whether the security group name (`security_group_name`) is used as a prefix |`bool`|`true`| no |
175
186
| <aname="input_subnet_ids"></a> [subnet\_ids](#input\_subnet\_ids)| Identifiers of EC2 Subnets to associate with the EKS Node Group. These subnets must have the following resource tag: `kubernetes.io/cluster/CLUSTER_NAME`|`list(string)`|`null`| no |
176
187
| <aname="input_tag_specifications"></a> [tag\_specifications](#input\_tag\_specifications)| The tags to apply to the resources during launch |`list(string)`| <pre>[<br/> "instance",<br/> "volume",<br/> "network-interface"<br/>]</pre> | no |
177
188
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to add to all resources |`map(string)`|`{}`| no |
| <aname="output_node_group_resources"></a> [node\_group\_resources](#output\_node\_group\_resources)| List of objects containing information about underlying resources |
204
215
| <aname="output_node_group_status"></a> [node\_group\_status](#output\_node\_group\_status)| Status of the EKS Node Group |
205
216
| <aname="output_node_group_taints"></a> [node\_group\_taints](#output\_node\_group\_taints)| List of objects containing information about taints applied to the node group |
217
+
| <aname="output_security_group_arn"></a> [security\_group\_arn](#output\_security\_group\_arn)| Amazon Resource Name (ARN) of the security group |
218
+
| <aname="output_security_group_id"></a> [security\_group\_id](#output\_security\_group\_id)| ID of the security group |
0 commit comments