mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-16 08:10:02 +00:00
Update docs
This commit is contained in:
parent
94c58fbfc2
commit
cbe0a2078c
@ -15,7 +15,7 @@ documentation](https://cloud.google.com/compute/docs/load-balancing/network/forw
|
|||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```js
|
```tf
|
||||||
resource "google_compute_forwarding_rule" "default" {
|
resource "google_compute_forwarding_rule" "default" {
|
||||||
name = "test"
|
name = "test"
|
||||||
target = "${google_compute_target_pool.default.self_link}"
|
target = "${google_compute_target_pool.default.self_link}"
|
||||||
|
@ -17,13 +17,12 @@ and
|
|||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```js
|
```tf
|
||||||
resource "google_compute_health_check" "default" {
|
resource "google_compute_health_check" "default" {
|
||||||
name = "test"
|
name = "test"
|
||||||
|
|
||||||
timeout_sec = 1
|
timeout_sec = 1
|
||||||
check_interval_sec = 1
|
check_interval_sec = 1
|
||||||
type = "TCP"
|
|
||||||
tcp_health_check {
|
tcp_health_check {
|
||||||
port = "80"
|
port = "80"
|
||||||
}
|
}
|
||||||
@ -64,9 +63,6 @@ The following arguments are supported:
|
|||||||
* `timeout_sec` - (Optional) The number of seconds to wait before declaring
|
* `timeout_sec` - (Optional) The number of seconds to wait before declaring
|
||||||
failure (default 5).
|
failure (default 5).
|
||||||
|
|
||||||
* `type` - (Optional) The type of HealthCheck, either TCP, SSL, HTTP or HTTPS
|
|
||||||
(default TCP).
|
|
||||||
|
|
||||||
* `unhealthy_threshold` - (Optional) Consecutive failures required (default 2).
|
* `unhealthy_threshold` - (Optional) Consecutive failures required (default 2).
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ See [backendServices](https://cloud.google.com/compute/docs/reference/latest/bac
|
|||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```js
|
```tf
|
||||||
resource "google_compute_region_backend_service" "foobar" {
|
resource "google_compute_region_backend_service" "foobar" {
|
||||||
name = "blablah"
|
name = "blablah"
|
||||||
description = "Hello World 1234"
|
description = "Hello World 1234"
|
||||||
|
Loading…
Reference in New Issue
Block a user