Skip to content

Commit

Permalink
Include http proxy endpoint in credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
rahearn committed Nov 25, 2024
1 parent a11cbd1 commit d4c0e8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions egress_proxy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ resource "cloudfoundry_app" "egress_app" {
###
locals {
https_proxy = "https://${random_uuid.username.result}:${random_password.password.result}@${local.egress_route}:61443"
http_proxy = "http://${random_uuid.username.result}:${random_password.password.result}@${local.egress_route}:8080"
domain = local.egress_route
username = random_uuid.username.result
password = random_password.password.result
Expand All @@ -80,6 +81,7 @@ resource "cloudfoundry_service_instance" "credentials" {
type = "user-provided"
credentials = jsonencode({
"uri" = local.https_proxy
"http_uri" = local.http_proxy
"domain" = local.domain
"username" = local.username
"password" = local.password
Expand Down

0 comments on commit d4c0e8a

Please sign in to comment.