Skip to content

Commit

Permalink
not optional
Browse files Browse the repository at this point in the history
  • Loading branch information
msingermann-domino committed Nov 15, 2024
1 parent f32531d commit 72fbf86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion modules/eks/node-group.tf
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ resource "aws_security_group_rule" "netapp" {
}

resource "aws_security_group_rule" "ecr_endpoint" {
count = var.network_info.ecr_endpoint_sg_id != null ? 1 : 0
security_group_id = var.network_info.ecr_endpoint_sg_id
protocol = "tcp"
from_port = 443
Expand Down
2 changes: 1 addition & 1 deletion modules/eks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ variable "network_info" {
EOF
type = object({
vpc_id = string
ecr_endpoint_sg_id = optional(string, null)
ecr_endpoint_sg_id = string
subnets = object({
public = list(object({
name = string
Expand Down

0 comments on commit 72fbf86

Please sign in to comment.