mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 22:40:31 -04:00
fiddle with container networking
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
data "cloudfoundry_space" "space" {
|
data "cloudfoundry_space" "space" {
|
||||||
|
org = var.cf_org_name
|
||||||
name = var.cf_space_name
|
name = var.cf_space_name
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -15,9 +15,9 @@ data "cloudfoundry_app" "destination_app" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "cloudfoundry_network_policy" "internal_route" {
|
resource "cloudfoundry_network_policy" "internal_route" {
|
||||||
policies {
|
policies = [{
|
||||||
source_app = data.cloudfoundry_app.source_app.id
|
source_app = data.cloudfoundry_app.source_app.id
|
||||||
destination_app = data.cloudfoundry_app.destination_app.id
|
destination_app = data.cloudfoundry_app.destination_app.id
|
||||||
port = var.destination_port
|
port = var.destination_port
|
||||||
}
|
}]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user