File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,19 @@ resource "aws_security_group" "services" {
8585 }
8686 }
8787
88+ # TODO Remove this; this was added for testing Tuxedo services in live using on-premise frontend services
89+ dynamic "ingress" {
90+ for_each = var. environment == " live" ? each. value : {}
91+ iterator = service
92+ content {
93+ description = " Allow client requests from on-premise frontend web servers to ${ service . key } service in ${ each . key } server group"
94+ from_port = service. value
95+ to_port = service. value
96+ protocol = " TCP"
97+ cidr_blocks = [var . on_premise_frontend_cidr ]
98+ }
99+ }
100+
88101 dynamic "ingress" {
89102 for_each = each. value
90103 iterator = service
Original file line number Diff line number Diff line change @@ -82,6 +82,13 @@ variable "lvm_block_devices" {
8282 default = []
8383}
8484
85+ # TODO Remove this; this was added for testing Tuxedo services in live using on-premise frontend services
86+ variable "on_premise_frontend_cidr" {
87+ type = string
88+ description = " A string representing the CIDR range for on-premise frontend services"
89+ default = " "
90+ }
91+
8592variable "region" {
8693 type = string
8794 description = " The AWS region in which resources will be administered"
You can’t perform that action at this time.
0 commit comments