Skip to content

Commit 6849665

Browse files
modular-magicianrosbo
authored andcommitted
Release autogenerated google_compute_target_ssl_proxy resource (hashicorp#1373)
1 parent fa9d230 commit 6849665

File tree

1 file changed

+72
-24
lines changed

1 file changed

+72
-24
lines changed

docs/r/compute_target_ssl_proxy.html.markdown

+72-24
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,40 @@
1+
<!--
2+
----------------------------------------------------------------------------
3+
4+
*** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
5+
6+
----------------------------------------------------------------------------
7+
8+
This file is automatically generated by Magic Modules and manual
9+
changes will be clobbered when the file is regenerated.
10+
11+
Please read more about how to change this file in
12+
.github/CONTRIBUTING.md.
13+
14+
----------------------------------------------------------------------------
15+
-->
16+
117
---
218
layout: "google"
319
page_title: "Google: google_compute_target_ssl_proxy"
420
sidebar_current: "docs-google-compute-target-ssl-proxy"
521
description: |-
6-
Creates a Target SSL Proxy resource in GCE.
22+
Represents a TargetSslProxy resource, which is used by one or more
23+
global forwarding rule to route incoming SSL requests to a backend
24+
service.
725
---
826

927
# google\_compute\_target\_ssl\_proxy
1028

11-
Creates a target SSL proxy resource in GCE. For more information see
12-
[the official
13-
documentation](https://cloud.google.com/compute/docs/load-balancing/ssl-ssl/) and
14-
[API](https://cloud.google.com/compute/docs/reference/latest/targetSslProxies).
29+
Represents a TargetSslProxy resource, which is used by one or more
30+
global forwarding rule to route incoming SSL requests to a backend
31+
service.
32+
33+
To get more information about TargetSslProxy, see:
1534

35+
* [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetSslProxies)
36+
* How-to Guides
37+
* [Setting Up SSL proxy for Google Cloud Load Balancing](https://cloud.google.com/compute/docs/load-balancing/tcp-ssl/)
1638

1739
## Example Usage
1840

@@ -49,38 +71,64 @@ resource "google_compute_health_check" "default" {
4971

5072
The following arguments are supported:
5173

52-
* `name` - (Required) A unique name for the resource, required by GCE. Changing
53-
this forces a new resource to be created.
74+
* `name` -
75+
(Required)
76+
Name of the resource. Provided by the client when the resource is
77+
created. The name must be 1-63 characters long, and comply with
78+
RFC1035. Specifically, the name must be 1-63 characters long and match
79+
the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
80+
first character must be a lowercase letter, and all following
81+
characters must be a dash, lowercase letter, or digit, except the last
82+
character, which cannot be a dash.
83+
* `backend_service` -
84+
(Required)
85+
A reference to BackendService resource
86+
* `ssl_certificates` -
87+
(Required)
88+
A list of SslCertificate resources that are used to authenticate
89+
connections between users and the load balancer. Currently, exactly
90+
one SSL certificate must be specified.
5491

55-
* `backend_service` - (Required) The URL of a Backend Service resource to receive the matched traffic.
56-
57-
* `ssl_certificates` - (Required) The URLs or names of the SSL Certificate resources that
58-
authenticate connections between users and load balancing.
5992

6093
- - -
6194

62-
* `proxy_header` - (Optional) Type of proxy header to append before sending
63-
data to the backend, either NONE or PROXY_V1 (default NONE).
64-
65-
* `description` - (Optional) A description of this resource. Changing this
66-
forces a new resource to be created.
95+
* `description` -
96+
(Optional)
97+
An optional description of this resource.
98+
* `proxy_header` -
99+
(Optional)
100+
Specifies the type of proxy header to append before sending data to
101+
the backend, either NONE or PROXY_V1. The default is NONE.
102+
* `project` (Optional) The ID of the project in which the resource belongs.
103+
If it is not provided, the provider project is used.
67104

68-
* `project` - (Optional) The ID of the project in which the resource belongs. If it
69-
is not provided, the provider project is used.
70105

71106
## Attributes Reference
72107

73-
In addition to the arguments listed above, the following computed attributes are
74-
exported:
75-
76-
* `proxy_id` - A unique ID assigned by GCE.
108+
In addition to the arguments listed above, the following computed attributes are exported:
77109

110+
* `creation_timestamp` -
111+
Creation timestamp in RFC3339 text format.
112+
* `proxy_id` -
113+
The unique identifier for the resource.
78114
* `self_link` - The URI of the created resource.
79115

116+
117+
## Timeouts
118+
119+
This resource provides the following
120+
[Timeouts](/docs/configuration/resources.html#timeouts) configuration options:
121+
122+
- `create` - Default is 4 minutes.
123+
- `update` - Default is 4 minutes.
124+
- `delete` - Default is 4 minutes.
125+
80126
## Import
81127

82-
SSL proxy can be imported using the `name`, e.g.
128+
TargetSslProxy can be imported using any of these accepted formats:
83129

84130
```
85-
$ terraform import google_compute_target_ssl_proxy.default test
131+
$ terraform import google_compute_target_ssl_proxy.default projects/{{project}}/global/targetSslProxies/{{name}}
132+
$ terraform import google_compute_target_ssl_proxy.default {{project}}/{{name}}
133+
$ terraform import google_compute_target_ssl_proxy.default {{name}}
86134
```

0 commit comments

Comments
 (0)