Each AWS VPC (or region, if using EC2 Classic) comes with a Default Security Group that cannot be deleted. Theaws_default_security_groupallows you to manage this Security Group, but Terraform cannot destroy it. Removing this resource from your configuration will remove it from your statefile ...
When running terraform apply command, it does not show that the default rules are removed because it is a new resource creation, not a change. In consecuence, they will be less protected if they do not have create custom security groups created. People that start using this module from v5...
hashicorp/terraform-provider-aws#18856 I have tried using console and eksctl and the result is always the same. That default is always created. The only thing that can be done is to edit the rules once the cluster is created. This is undesirable as it becomes impossible to automate. What...