Skip to content

Commit c458c35

Browse files
authored
feat: enable IRSA by default (#1849)
1 parent 26f896d commit c458c35

File tree

7 files changed

+2
-12
lines changed

7 files changed

+2
-12
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ Full contributing [guidelines are covered here](https://github.com/terraform-aws
793793
| <a name="input_create_node_security_group"></a> [create\_node\_security\_group](#input\_create\_node\_security\_group) | Determines whether to create a security group for the node groups or use the existing `node_security_group_id` | `bool` | `true` | no |
794794
| <a name="input_eks_managed_node_group_defaults"></a> [eks\_managed\_node\_group\_defaults](#input\_eks\_managed\_node\_group\_defaults) | Map of EKS managed node group default configurations | `any` | `{}` | no |
795795
| <a name="input_eks_managed_node_groups"></a> [eks\_managed\_node\_groups](#input\_eks\_managed\_node\_groups) | Map of EKS managed node group definitions to create | `any` | `{}` | no |
796-
| <a name="input_enable_irsa"></a> [enable\_irsa](#input\_enable\_irsa) | Determines whether to create an OpenID Connect Provider for EKS to enable IRSA | `bool` | `false` | no |
796+
| <a name="input_enable_irsa"></a> [enable\_irsa](#input\_enable\_irsa) | Determines whether to create an OpenID Connect Provider for EKS to enable IRSA | `bool` | `true` | no |
797797
| <a name="input_fargate_profile_defaults"></a> [fargate\_profile\_defaults](#input\_fargate\_profile\_defaults) | Map of Fargate Profile default configurations | `any` | `{}` | no |
798798
| <a name="input_fargate_profiles"></a> [fargate\_profiles](#input\_fargate\_profiles) | Map of Fargate Profile definitions to create | `any` | `{}` | no |
799799
| <a name="input_iam_role_additional_policies"></a> [iam\_role\_additional\_policies](#input\_iam\_role\_additional\_policies) | Additional policies to be added to the IAM role | `list(string)` | `[]` | no |

examples/complete/main.tf

-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ module "eks" {
4444
vpc_id = module.vpc.vpc_id
4545
subnet_ids = module.vpc.private_subnets
4646

47-
enable_irsa = true
48-
4947
# Extend cluster security group rules
5048
cluster_security_group_additional_rules = {
5149
egress_nodes_ephemeral_ports_tcp = {

examples/eks_managed_node_group/main.tf

-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ module "eks" {
5050
vpc_id = module.vpc.vpc_id
5151
subnet_ids = module.vpc.private_subnets
5252

53-
enable_irsa = true
54-
5553
# Extend cluster security group rules
5654
cluster_security_group_additional_rules = {
5755
egress_nodes_ephemeral_ports_tcp = {

examples/fargate_profile/main.tf

-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ module "eks" {
4545
vpc_id = module.vpc.vpc_id
4646
subnet_ids = module.vpc.private_subnets
4747

48-
enable_irsa = true
49-
5048
# You require a node group to schedule coredns which is critical for running correctly internal DNS.
5149
# If you want to use only fargate you must follow docs `(Optional) Update CoreDNS`
5250
# available under https://docs.aws.amazon.com/eks/latest/userguide/fargate-getting-started.html

examples/irsa_autoscale_refresh/main.tf

-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ module "eks" {
3535
vpc_id = module.vpc.vpc_id
3636
subnet_ids = module.vpc.private_subnets
3737

38-
enable_irsa = true
39-
4038
# Self Managed Node Group(s)
4139
self_managed_node_groups = {
4240
refresh = {

examples/self_managed_node_group/main.tf

-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ module "eks" {
4646
vpc_id = module.vpc.vpc_id
4747
subnet_ids = module.vpc.private_subnets
4848

49-
enable_irsa = true
50-
5149
# Extend cluster security group rules
5250
cluster_security_group_additional_rules = {
5351
egress_nodes_ephemeral_ports_tcp = {

variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ variable "node_security_group_tags" {
238238
variable "enable_irsa" {
239239
description = "Determines whether to create an OpenID Connect Provider for EKS to enable IRSA"
240240
type = bool
241-
default = false
241+
default = true
242242
}
243243

244244
variable "openid_connect_audiences" {

0 commit comments

Comments
 (0)