Https Target Proxy
Provides a Https Target Proxy required by an HTTPS load balancer.
const bucketName = "mybucketname";
provider.compute.makeSslCertificate({
name: "ssl-certificate",
properties: () => ({
managed: {
domains: [domain],
},
}),
});
provider.storage.makeBucket({
name: bucketName,
});
provider.compute.makeBackendBucket({
name: "backend-bucket",
properties: () => ({
bucketName,
}),
});
provider.compute.makeUrlMap({
name: "url-map",
dependencies: { service: "backend-bucket" },
properties: () => ({}),
});
provider.compute.makeHttpsTargetProxy({
name: "https-target-proxy",
dependencies: { sslCertificate: "ssl-certificate", urlMap: "url-map" },
properties: () => ({}),
});
Examples
Properties
Dependencies
Used by
List
List all Https Target Proxies with the HttpsTargetProxy type
gc l -t HttpsTargetProxy
Listing resources on 1 provider: google
✓ google
✓ Initialising
✓ Listing 4/4
┌────────────────────────────────────────────────────────────────────────────────┐
│ 1 HttpsTargetProxy from google │
├────────────────────┬────────────────────────────────────────────────────┬──────┤
│ Name │ Data │ Our │
├────────────────────┼────────────────────────────────────────────────────┼──────┤
│ https-target-proxy │ id: 6271089959767242210 │ Yes │
│ │ creationTimestamp: 2021-06-30T03:44:29.553-07:00 │ │
│ │ name: https-target-proxy │ │
│ │ description: Managed By GruCloud │ │
│ │ selfLink: https://www.googleapis.com/compute/v1/p… │ │
│ │ urlMap: https://www.googleapis.com/compute/v1/pro… │ │
│ │ sslCertificates: │ │
│ │ - "https://www.googleapis.com/compute/v1/projec… │ │
│ │ fingerprint: _7WjZisemFI= │ │
│ │ kind: compute#targetHttpsProxy │ │
│ │ │ │
└────────────────────┴────────────────────────────────────────────────────┴──────┘
List Summary:
Provider: google
┌───────────────────────────────────────────────────────────────────────────────┐
│ google │
├────────────────────┬──────────────────────────────────────────────────────────┤
│ HttpsTargetProxy │ https-target-proxy │
└────────────────────┴──────────────────────────────────────────────────────────┘
1 resource, 4 types, 1 provider
Command "gc l -t HttpsTargetProxy" executed in 4s