1
0
mirror of https://github.com/terraform-aws-modules/terraform-aws-eks.git synced 2025-09-09 19:32:58 +08:00

feat: Add create_before_destroy lifecycle hook to security groups created (#1985)

This commit is contained in:
Bryant Biggs
2022-04-04 10:34:29 -04:00
committed by GitHub
parent 39a7c0c1f0
commit 6db89f8f20
4 changed files with 20 additions and 0 deletions
+4
View File
@@ -129,6 +129,10 @@ resource "aws_security_group" "cluster" {
{ "Name" = local.cluster_sg_name },
var.cluster_security_group_tags
)
lifecycle {
create_before_destroy = true
}
}
resource "aws_security_group_rule" "cluster" {