update
This commit is contained in:
19
kops/aws_kops_prod/terraform/02_nlb.tf
Normal file
19
kops/aws_kops_prod/terraform/02_nlb.tf
Normal file
@@ -0,0 +1,19 @@
|
||||
resource "aws_alb" "nlb-prod-kr-ingress" {
|
||||
name = "nlb-prod-kr-ingress"
|
||||
internal = false
|
||||
load_balancer_type = "network"
|
||||
subnet_mapping {
|
||||
subnet_id = "${var.Public_Subnet_ID_1}"
|
||||
}
|
||||
subnet_mapping {
|
||||
subnet_id = "${var.Public_Subnet_ID_2}"
|
||||
}
|
||||
subnet_mapping {
|
||||
subnet_id = "${var.Public_Subnet_ID_3}"
|
||||
}
|
||||
enable_deletion_protection = false
|
||||
|
||||
tags = {
|
||||
Environment = "nlb-prod-kr-ingress"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user