Skip to content

Commit b3ffbc4

Browse files
committed
Add inbound security rules for CHIPS connectivity
1 parent aab66ba commit b3ffbc4

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

groups/frontend/instance.tf

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,38 @@ resource "aws_security_group" "common" {
116116
cidr_blocks = var.deployment_cidrs
117117
}
118118

119+
ingress {
120+
description = "Allow connectivity from CHIPS for Tuxedo CEU services"
121+
from_port = 38000
122+
to_port = 38000
123+
protocol = "TCP"
124+
cidr_blocks = [var.chips_cidr]
125+
}
126+
127+
ingress {
128+
description = "Allow connectivity from CHIPS for Tuxedo CHD services"
129+
from_port = 38100
130+
to_port = 38100
131+
protocol = "TCP"
132+
cidr_blocks = [var.chips_cidr]
133+
}
134+
135+
ingress {
136+
description = "Allow connectivity from CHIPS for Tuxedo EWF services"
137+
from_port = 38200
138+
to_port = 38200
139+
protocol = "TCP"
140+
cidr_blocks = [var.chips_cidr]
141+
}
142+
143+
ingress {
144+
description = "Allow connectivity from CHIPS for Tuxedo XML services"
145+
from_port = 38300
146+
to_port = 38300
147+
protocol = "TCP"
148+
cidr_blocks = [var.chips_cidr]
149+
}
150+
119151
egress {
120152
description = "Allow outbound traffic"
121153
from_port = 0

groups/frontend/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ variable "aws_account" {
2020
description = "The name of the AWS account; used in Vault path when looking up account identifier"
2121
}
2222

23+
variable "chips_cidr" {
24+
type = string
25+
description = "A string representing the CIDR range from which CHIPS instances will connect to Tuxedo services"
26+
}
27+
2328
variable "default_log_retention_in_days" {
2429
type = string
2530
description = "The default log retention period in days for CloudWatch log groups"

0 commit comments

Comments
 (0)