Skip to content

Commit

Permalink
Fix global forwarding rule dynamic test
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmahou committed Sep 25, 2024
1 parent ce016d5 commit e65bd3f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
networkRef:
name: default
networkTier: PREMIUM
portRange: "80"
portRange: "90"
target:
targetHTTPProxyRef:
name: computetargethttpproxy-2-${uniqueId}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ User-Agent: Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 t
"checkIntervalSec": 10,
"healthyThreshold": 2,
"httpHealthCheck": {
"port": 80,
"port": 90,
"proxyHeader": "NONE",
"requestPath": "/"
},
Expand Down Expand Up @@ -308,7 +308,7 @@ X-Xss-Protection: 0
"creationTimestamp": "2024-04-01T12:34:56.123456Z",
"healthyThreshold": 2,
"httpHealthCheck": {
"port": 80,
"port": 90,
"proxyHeader": "NONE",
"requestPath": "/"
},
Expand Down Expand Up @@ -771,7 +771,7 @@ x-goog-request-params: project=${projectId}
"name": "computeglobalforwardingrule-${uniqueId}",
"network": "projects/${projectId}/global/networks/${networkID}",
"networkTier": "PREMIUM",
"portRange": "80",
"portRange": "90",
"target": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/targetHttpProxies/computetargethttpproxy-${uniqueId}"
}

Expand Down Expand Up @@ -878,7 +878,7 @@ X-Xss-Protection: 0
"name": "computeglobalforwardingrule-${uniqueId}",
"network": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}",
"networkTier": "PREMIUM",
"portRange": "80-80",
"portRange": "90-90",
"selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/forwardingRules/computeglobalforwardingrule-${uniqueId}",
"target": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/targetHttpProxies/computetargethttpproxy-${uniqueId}"
}
Expand Down Expand Up @@ -974,7 +974,7 @@ X-Xss-Protection: 0
"name": "computeglobalforwardingrule-${uniqueId}",
"network": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}",
"networkTier": "PREMIUM",
"portRange": "80-80",
"portRange": "90-90",
"selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/forwardingRules/computeglobalforwardingrule-${uniqueId}",
"target": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/targetHttpProxies/computetargethttpproxy-${uniqueId}"
}
Expand Down Expand Up @@ -1141,7 +1141,7 @@ X-Xss-Protection: 0
"name": "computeglobalforwardingrule-${uniqueId}",
"network": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/networks/${networkID}",
"networkTier": "PREMIUM",
"portRange": "80-80",
"portRange": "90-90",
"selfLink": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/forwardingRules/computeglobalforwardingrule-${uniqueId}",
"target": "https://www.googleapis.com/compute/v1/projects/${projectId}/global/targetHttpProxies/computetargethttpproxy-2-${uniqueId}"
}
Expand Down Expand Up @@ -1464,7 +1464,7 @@ X-Xss-Protection: 0
"creationTimestamp": "2024-04-01T12:34:56.123456Z",
"healthyThreshold": 2,
"httpHealthCheck": {
"port": 80,
"port": 90,
"proxyHeader": "NONE",
"requestPath": "/"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
targetHTTPProxyRef:
name: computetargethttpproxy-${uniqueId}
# The 'ports', 'port_range', and 'allPorts' fields are mutually exclusive.
portRange: "80"
portRange: "90"
loadBalancingScheme: INTERNAL_SELF_MANAGED
ipAddress:
ip: "0.0.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ metadata:
spec:
checkIntervalSec: 10
httpHealthCheck:
port: 80
port: 90
location: global
---
apiVersion: compute.cnrm.cloud.google.com/v1beta1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
targetHTTPProxyRef:
name: computetargethttpproxy-2-${uniqueId}
# The 'ports', 'port_range', and 'allPorts' fields are mutually exclusive.
portRange: "80"
portRange: "90"
loadBalancingScheme: INTERNAL_SELF_MANAGED
ipAddress:
ip: "0.0.0.0"
Expand Down

0 comments on commit e65bd3f

Please sign in to comment.