Skip to content

Commit 002ea98

Browse files
authored
fix: network acl fix for source port max (#122)
1 parent 97ccfa3 commit 002ea98

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
66

77
This module creates the following IBM Cloud® Virtual Private Cloud (VPC) network components:
8-
98
- VPC
109
- Public gateways
1110
- Subnets

network_acls.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ resource "ibm_is_network_acl" "network_acl" {
156156
port_min = lookup(rules.value.tcp, "port_min", null)
157157
port_max = lookup(rules.value.tcp, "port_max", null)
158158
source_port_min = lookup(rules.value.tcp, "source_port_min", null)
159-
source_port_max = lookup(rules.value.tcp, "source_port_min", null)
159+
source_port_max = lookup(rules.value.tcp, "source_port_max", null)
160160
}
161161
}
162162

@@ -182,7 +182,7 @@ resource "ibm_is_network_acl" "network_acl" {
182182
port_min = lookup(rules.value.udp, "port_min", null)
183183
port_max = lookup(rules.value.udp, "port_max", null)
184184
source_port_min = lookup(rules.value.udp, "source_port_min", null)
185-
source_port_max = lookup(rules.value.udp, "source_port_min", null)
185+
source_port_max = lookup(rules.value.udp, "source_port_max", null)
186186
}
187187
}
188188

0 commit comments

Comments
 (0)