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