Skip to content

Commit

Permalink
add pod sg enforcing mode to fix ebs eni crashloopback issue
Browse files Browse the repository at this point in the history
  • Loading branch information
panchalnimesh committed Jun 30, 2023
1 parent d0c3f54 commit 5e010ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ module "eks" {
configuration_values = jsonencode({
env = {
# Reference doc: https://docs.aws.amazon.com/eks/latest/userguide/security-groups-for-pods.html#security-groups-pods-deployment
ENABLE_POD_ENI = "true"
DISABLE_TCP_EARLY_DEMUX = "true"
ENABLE_POD_ENI = "true"
DISABLE_TCP_EARLY_DEMUX = "true"
POD_SECURITY_GROUP_ENFORCING_MODE = "standard"
}
})
} : {
Expand Down

0 comments on commit 5e010ad

Please sign in to comment.