mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-03 08:42:39 +00:00
Magic Modules generated documentation cleanup. (#1746)
This commit is contained in:
parent
b93a759b25
commit
bbed86dd0b
|
@ -74,6 +74,7 @@ resource "google_compute_address" "internal_with_subnet_and_address" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. The name must be 1-63 characters long, and
|
Name of the resource. The name must be 1-63 characters long, and
|
||||||
|
@ -83,33 +84,38 @@ The following arguments are supported:
|
||||||
following characters must be a dash, lowercase letter, or digit,
|
following characters must be a dash, lowercase letter, or digit,
|
||||||
except the last character, which cannot be a dash.
|
except the last character, which cannot be a dash.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `address` -
|
* `address` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The static external IP address represented by this resource. Only
|
The static external IP address represented by this resource. Only
|
||||||
IPv4 is supported. An address may only be specified for INTERNAL
|
IPv4 is supported. An address may only be specified for INTERNAL
|
||||||
address types. The IP address must be inside the specified subnetwork,
|
address types. The IP address must be inside the specified subnetwork,
|
||||||
if any.
|
if any.
|
||||||
|
|
||||||
* `address_type` -
|
* `address_type` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The type of address to reserve, either INTERNAL or EXTERNAL.
|
The type of address to reserve, either INTERNAL or EXTERNAL.
|
||||||
If unspecified, defaults to EXTERNAL.
|
If unspecified, defaults to EXTERNAL.
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource.
|
An optional description of this resource.
|
||||||
|
|
||||||
* `network_tier` -
|
* `network_tier` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The networking tier used for configuring this address. This field can
|
The networking tier used for configuring this address. This field can
|
||||||
take the following values: PREMIUM or STANDARD. If this field is not
|
take the following values: PREMIUM or STANDARD. If this field is not
|
||||||
specified, it is assumed to be PREMIUM.
|
specified, it is assumed to be PREMIUM.
|
||||||
|
|
||||||
* `subnetwork` -
|
* `subnetwork` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The URL of the subnetwork in which to reserve the address. If an IP
|
The URL of the subnetwork in which to reserve the address. If an IP
|
||||||
address is specified, it must be within the subnetwork's IP range.
|
address is specified, it must be within the subnetwork's IP range.
|
||||||
This field can only be used with INTERNAL type with
|
This field can only be used with INTERNAL type with
|
||||||
GCE_ENDPOINT/DNS_RESOLVER purposes.
|
GCE_ENDPOINT/DNS_RESOLVER purposes.
|
||||||
|
|
||||||
* `region` -
|
* `region` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The Region in which the created address should reside.
|
The Region in which the created address should reside.
|
||||||
|
@ -122,14 +128,17 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
|
|
||||||
* `users` -
|
* `users` -
|
||||||
The URLs of the resources that are using this address.
|
The URLs of the resources that are using this address.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
||||||
|
|
||||||
* `address`: The IP of the created resource.
|
* `address`: The IP of the created resource.
|
||||||
|
|
||||||
## Timeouts
|
## Timeouts
|
||||||
|
|
||||||
This resource provides the following
|
This resource provides the following
|
||||||
|
|
|
@ -94,6 +94,7 @@ resource "google_compute_autoscaler" "foobar" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. The name must be 1-63 characters long and match
|
Name of the resource. The name must be 1-63 characters long and match
|
||||||
|
@ -101,31 +102,34 @@ The following arguments are supported:
|
||||||
first character must be a lowercase letter, and all following
|
first character must be a lowercase letter, and all following
|
||||||
characters must be a dash, lowercase letter, or digit, except the last
|
characters must be a dash, lowercase letter, or digit, except the last
|
||||||
character, which cannot be a dash.
|
character, which cannot be a dash.
|
||||||
|
|
||||||
* `autoscaling_policy` -
|
* `autoscaling_policy` -
|
||||||
(Required)
|
(Required)
|
||||||
The configuration parameters for the autoscaling algorithm. You can
|
The configuration parameters for the autoscaling algorithm. You can
|
||||||
define one or more of the policies for an autoscaler: cpuUtilization,
|
define one or more of the policies for an autoscaler: cpuUtilization,
|
||||||
customMetricUtilizations, and loadBalancingUtilization.
|
customMetricUtilizations, and loadBalancingUtilization.
|
||||||
|
|
||||||
If none of these are specified, the default will be to autoscale based
|
If none of these are specified, the default will be to autoscale based
|
||||||
on cpuUtilization to 0.6 or 60%. Structure is documented below.
|
on cpuUtilization to 0.6 or 60%. Structure is documented below.
|
||||||
|
|
||||||
* `target` -
|
* `target` -
|
||||||
(Required)
|
(Required)
|
||||||
URL of the managed instance group that this autoscaler will scale.
|
URL of the managed instance group that this autoscaler will scale.
|
||||||
|
|
||||||
The `autoscaling_policy` block supports:
|
The `autoscaling_policy` block supports:
|
||||||
|
|
||||||
* `min_replicas` -
|
* `min_replicas` -
|
||||||
(Required)
|
(Required)
|
||||||
The minimum number of replicas that the autoscaler can scale down
|
The minimum number of replicas that the autoscaler can scale down
|
||||||
to. This cannot be less than 0. If not provided, autoscaler will
|
to. This cannot be less than 0. If not provided, autoscaler will
|
||||||
choose a default value depending on maximum number of instances
|
choose a default value depending on maximum number of instances
|
||||||
allowed.
|
allowed.
|
||||||
|
|
||||||
* `max_replicas` -
|
* `max_replicas` -
|
||||||
(Required)
|
(Required)
|
||||||
The maximum number of instances that the autoscaler can scale up
|
The maximum number of instances that the autoscaler can scale up
|
||||||
to. This is required when creating or updating an autoscaler. The
|
to. This is required when creating or updating an autoscaler. The
|
||||||
maximum number of replicas should not be lower than minimal number
|
maximum number of replicas should not be lower than minimal number
|
||||||
of replicas.
|
of replicas.
|
||||||
|
|
||||||
* `cooldown_period` -
|
* `cooldown_period` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The number of seconds that the autoscaler should wait before it
|
The number of seconds that the autoscaler should wait before it
|
||||||
|
@ -133,59 +137,61 @@ The `autoscaling_policy` block supports:
|
||||||
the autoscaler from collecting information when the instance is
|
the autoscaler from collecting information when the instance is
|
||||||
initializing, during which the collected usage would not be
|
initializing, during which the collected usage would not be
|
||||||
reliable. The default time autoscaler waits is 60 seconds.
|
reliable. The default time autoscaler waits is 60 seconds.
|
||||||
|
|
||||||
Virtual machine initialization times might vary because of
|
Virtual machine initialization times might vary because of
|
||||||
numerous factors. We recommend that you test how long an
|
numerous factors. We recommend that you test how long an
|
||||||
instance may take to initialize. To do this, create an instance
|
instance may take to initialize. To do this, create an instance
|
||||||
and time the startup process.
|
and time the startup process.
|
||||||
|
|
||||||
* `cpu_utilization` -
|
* `cpu_utilization` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Defines the CPU utilization policy that allows the autoscaler to
|
Defines the CPU utilization policy that allows the autoscaler to
|
||||||
scale based on the average CPU utilization of a managed instance
|
scale based on the average CPU utilization of a managed instance
|
||||||
group. Structure is documented below.
|
group. Structure is documented below.
|
||||||
|
|
||||||
* `metric` -
|
* `metric` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Defines the CPU utilization policy that allows the autoscaler to
|
Defines the CPU utilization policy that allows the autoscaler to
|
||||||
scale based on the average CPU utilization of a managed instance
|
scale based on the average CPU utilization of a managed instance
|
||||||
group. Structure is documented below.
|
group. Structure is documented below.
|
||||||
|
|
||||||
* `load_balancing_utilization` -
|
* `load_balancing_utilization` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Configuration parameters of autoscaling based on a load balancer. Structure is documented below.
|
Configuration parameters of autoscaling based on a load balancer. Structure is documented below.
|
||||||
The `cpu_utilization` block supports:
|
The `cpu_utilization` block supports:
|
||||||
|
|
||||||
* `target` -
|
* `target` -
|
||||||
(Required)
|
(Required)
|
||||||
The target CPU utilization that the autoscaler should maintain.
|
The target CPU utilization that the autoscaler should maintain.
|
||||||
Must be a float value in the range (0, 1]. If not specified, the
|
Must be a float value in the range (0, 1]. If not specified, the
|
||||||
default is 0.6.
|
default is 0.6.
|
||||||
|
|
||||||
If the CPU level is below the target utilization, the autoscaler
|
If the CPU level is below the target utilization, the autoscaler
|
||||||
scales down the number of instances until it reaches the minimum
|
scales down the number of instances until it reaches the minimum
|
||||||
number of instances you specified or until the average CPU of
|
number of instances you specified or until the average CPU of
|
||||||
your instances reaches the target utilization.
|
your instances reaches the target utilization.
|
||||||
|
|
||||||
If the average CPU is above the target utilization, the autoscaler
|
If the average CPU is above the target utilization, the autoscaler
|
||||||
scales up until it reaches the maximum number of instances you
|
scales up until it reaches the maximum number of instances you
|
||||||
specified or until the average utilization reaches the target
|
specified or until the average utilization reaches the target
|
||||||
utilization.
|
utilization.
|
||||||
|
|
||||||
The `metric` block supports:
|
The `metric` block supports:
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
The identifier (type) of the Stackdriver Monitoring metric.
|
The identifier (type) of the Stackdriver Monitoring metric.
|
||||||
The metric cannot have negative values.
|
The metric cannot have negative values.
|
||||||
|
|
||||||
The metric must have a value type of INT64 or DOUBLE.
|
The metric must have a value type of INT64 or DOUBLE.
|
||||||
|
|
||||||
* `target` -
|
* `target` -
|
||||||
(Required)
|
(Required)
|
||||||
The target value of the metric that autoscaler should
|
The target value of the metric that autoscaler should
|
||||||
maintain. This must be a positive value. A utilization
|
maintain. This must be a positive value. A utilization
|
||||||
metric scales number of virtual machines handling requests
|
metric scales number of virtual machines handling requests
|
||||||
to increase or decrease proportionally to the metric.
|
to increase or decrease proportionally to the metric.
|
||||||
|
|
||||||
For example, a good metric to use as a utilizationTarget is
|
For example, a good metric to use as a utilizationTarget is
|
||||||
www.googleapis.com/compute/instance/network/received_bytes_count.
|
www.googleapis.com/compute/instance/network/received_bytes_count.
|
||||||
The autoscaler will work to keep this value constant for each
|
The autoscaler will work to keep this value constant for each
|
||||||
of the instances.
|
of the instances.
|
||||||
|
|
||||||
* `type` -
|
* `type` -
|
||||||
(Required)
|
(Required)
|
||||||
Defines how target utilization value is expressed for a
|
Defines how target utilization value is expressed for a
|
||||||
|
@ -193,6 +199,7 @@ The `autoscaling_policy` block supports:
|
||||||
or DELTA_PER_MINUTE.
|
or DELTA_PER_MINUTE.
|
||||||
|
|
||||||
The `load_balancing_utilization` block supports:
|
The `load_balancing_utilization` block supports:
|
||||||
|
|
||||||
* `target` -
|
* `target` -
|
||||||
(Required)
|
(Required)
|
||||||
Fraction of backend capacity utilization (set in HTTP(s) load
|
Fraction of backend capacity utilization (set in HTTP(s) load
|
||||||
|
@ -202,9 +209,11 @@ The `autoscaling_policy` block supports:
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource.
|
An optional description of this resource.
|
||||||
|
|
||||||
* `zone` -
|
* `zone` -
|
||||||
(Optional)
|
(Optional)
|
||||||
URL of the zone where the instance group resides.
|
URL of the zone where the instance group resides.
|
||||||
|
@ -216,6 +225,7 @@ The `autoscaling_policy` block supports:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
|
@ -56,9 +56,11 @@ resource "google_storage_bucket" "image_bucket" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `bucket_name` -
|
* `bucket_name` -
|
||||||
(Required)
|
(Required)
|
||||||
Cloud Storage bucket name.
|
Cloud Storage bucket name.
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
|
@ -69,13 +71,14 @@ The following arguments are supported:
|
||||||
characters must be a dash, lowercase letter, or digit, except the
|
characters must be a dash, lowercase letter, or digit, except the
|
||||||
last character, which cannot be a dash.
|
last character, which cannot be a dash.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional textual description of the resource; provided by the
|
An optional textual description of the resource; provided by the
|
||||||
client when the resource is created.
|
client when the resource is created.
|
||||||
|
|
||||||
* `enable_cdn` -
|
* `enable_cdn` -
|
||||||
(Optional)
|
(Optional)
|
||||||
If true, enable Cloud CDN for this BackendBucket.
|
If true, enable Cloud CDN for this BackendBucket.
|
||||||
|
@ -87,6 +90,7 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
|
@ -66,6 +66,7 @@ resource "google_compute_disk" "default" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
|
@ -76,26 +77,28 @@ The following arguments are supported:
|
||||||
characters must be a dash, lowercase letter, or digit, except the last
|
characters must be a dash, lowercase letter, or digit, except the last
|
||||||
character, which cannot be a dash.
|
character, which cannot be a dash.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource. Provide this property when
|
An optional description of this resource. Provide this property when
|
||||||
you create the resource.
|
you create the resource.
|
||||||
|
|
||||||
* `labels` -
|
* `labels` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Labels to apply to this disk. A list of key->value pairs.
|
Labels to apply to this disk. A list of key->value pairs.
|
||||||
|
|
||||||
* `size` -
|
* `size` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Size of the persistent disk, specified in GB. You can specify this
|
Size of the persistent disk, specified in GB. You can specify this
|
||||||
field when creating a persistent disk using the sourceImage or
|
field when creating a persistent disk using the sourceImage or
|
||||||
sourceSnapshot parameter, or specify it alone to create an empty
|
sourceSnapshot parameter, or specify it alone to create an empty
|
||||||
persistent disk.
|
persistent disk.
|
||||||
|
|
||||||
If you specify this field along with sourceImage or sourceSnapshot,
|
If you specify this field along with sourceImage or sourceSnapshot,
|
||||||
the value of sizeGb must not be less than the size of the sourceImage
|
the value of sizeGb must not be less than the size of the sourceImage
|
||||||
or the size of the snapshot.
|
or the size of the snapshot.
|
||||||
|
|
||||||
* `image` -
|
* `image` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The image from which to initialize this disk. This can be
|
The image from which to initialize this disk. This can be
|
||||||
|
@ -107,42 +110,44 @@ The following arguments are supported:
|
||||||
[google_compute_image data source](/docs/providers/google/d/datasource_compute_image.html).
|
[google_compute_image data source](/docs/providers/google/d/datasource_compute_image.html).
|
||||||
For instance, the image `centos-6-v20180104` includes its family name `centos-6`.
|
For instance, the image `centos-6-v20180104` includes its family name `centos-6`.
|
||||||
These images can be referred by family name here.
|
These images can be referred by family name here.
|
||||||
|
|
||||||
* `type` -
|
* `type` -
|
||||||
(Optional)
|
(Optional)
|
||||||
URL of the disk type resource describing which disk type to use to
|
URL of the disk type resource describing which disk type to use to
|
||||||
create the disk. Provide this when creating the disk.
|
create the disk. Provide this when creating the disk.
|
||||||
|
|
||||||
* `zone` -
|
* `zone` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A reference to the zone where the disk resides.
|
A reference to the zone where the disk resides.
|
||||||
|
|
||||||
* `disk_encryption_key` -
|
* `disk_encryption_key` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Encrypts the disk using a customer-supplied encryption key.
|
Encrypts the disk using a customer-supplied encryption key.
|
||||||
|
|
||||||
After you encrypt a disk with a customer-supplied key, you must
|
After you encrypt a disk with a customer-supplied key, you must
|
||||||
provide the same key if you use the disk later (e.g. to create a disk
|
provide the same key if you use the disk later (e.g. to create a disk
|
||||||
snapshot or an image, or to attach the disk to a virtual machine).
|
snapshot or an image, or to attach the disk to a virtual machine).
|
||||||
|
|
||||||
Customer-supplied encryption keys do not protect access to metadata of
|
Customer-supplied encryption keys do not protect access to metadata of
|
||||||
the disk.
|
the disk.
|
||||||
|
|
||||||
If you do not provide an encryption key when creating the disk, then
|
If you do not provide an encryption key when creating the disk, then
|
||||||
the disk will be encrypted using an automatically generated key and
|
the disk will be encrypted using an automatically generated key and
|
||||||
you do not need to provide a key to use the disk later. Structure is documented below.
|
you do not need to provide a key to use the disk later. Structure is documented below.
|
||||||
|
|
||||||
* `source_image_encryption_key` -
|
* `source_image_encryption_key` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The customer-supplied encryption key of the source image. Required if
|
The customer-supplied encryption key of the source image. Required if
|
||||||
the source image is protected by a customer-supplied encryption key. Structure is documented below.
|
the source image is protected by a customer-supplied encryption key. Structure is documented below.
|
||||||
|
|
||||||
* `snapshot` -
|
* `snapshot` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The source snapshot used to create this disk. You can provide this as
|
The source snapshot used to create this disk. You can provide this as
|
||||||
a partial or full URL to the resource. For example, the following are
|
a partial or full URL to the resource. For example, the following are
|
||||||
valid values:
|
valid values:
|
||||||
|
|
||||||
* https://www.googleapis.com/compute/v1/projects/project/global/
|
* https://www.googleapis.com/compute/v1/projects/project/global/
|
||||||
snapshots/snapshot
|
snapshots/snapshot
|
||||||
* projects/project/global/snapshots/snapshot
|
* projects/project/global/snapshots/snapshot
|
||||||
* global/snapshots/snapshot
|
* global/snapshots/snapshot
|
||||||
* snapshot
|
* snapshot
|
||||||
|
|
||||||
* `source_snapshot_encryption_key` -
|
* `source_snapshot_encryption_key` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The customer-supplied encryption key of the source snapshot. Required
|
The customer-supplied encryption key of the source snapshot. Required
|
||||||
|
@ -152,28 +157,34 @@ The following arguments are supported:
|
||||||
If it is not provided, the provider project is used.
|
If it is not provided, the provider project is used.
|
||||||
|
|
||||||
The `disk_encryption_key` block supports:
|
The `disk_encryption_key` block supports:
|
||||||
|
|
||||||
* `raw_key` -
|
* `raw_key` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Specifies a 256-bit customer-supplied encryption key, encoded in
|
Specifies a 256-bit customer-supplied encryption key, encoded in
|
||||||
RFC 4648 base64 to either encrypt or decrypt this resource.
|
RFC 4648 base64 to either encrypt or decrypt this resource.
|
||||||
|
|
||||||
* `sha256` -
|
* `sha256` -
|
||||||
The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied
|
The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied
|
||||||
encryption key that protects this resource.
|
encryption key that protects this resource.
|
||||||
|
|
||||||
The `source_image_encryption_key` block supports:
|
The `source_image_encryption_key` block supports:
|
||||||
|
|
||||||
* `raw_key` -
|
* `raw_key` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Specifies a 256-bit customer-supplied encryption key, encoded in
|
Specifies a 256-bit customer-supplied encryption key, encoded in
|
||||||
RFC 4648 base64 to either encrypt or decrypt this resource.
|
RFC 4648 base64 to either encrypt or decrypt this resource.
|
||||||
|
|
||||||
* `sha256` -
|
* `sha256` -
|
||||||
The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied
|
The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied
|
||||||
encryption key that protects this resource.
|
encryption key that protects this resource.
|
||||||
|
|
||||||
The `source_snapshot_encryption_key` block supports:
|
The `source_snapshot_encryption_key` block supports:
|
||||||
|
|
||||||
* `raw_key` -
|
* `raw_key` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Specifies a 256-bit customer-supplied encryption key, encoded in
|
Specifies a 256-bit customer-supplied encryption key, encoded in
|
||||||
RFC 4648 base64 to either encrypt or decrypt this resource.
|
RFC 4648 base64 to either encrypt or decrypt this resource.
|
||||||
|
|
||||||
* `sha256` -
|
* `sha256` -
|
||||||
The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied
|
The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied
|
||||||
encryption key that protects this resource.
|
encryption key that protects this resource.
|
||||||
|
@ -183,28 +194,36 @@ The `source_snapshot_encryption_key` block supports:
|
||||||
`disk_encryption_key.raw_key`. It is deprecated to enhance
|
`disk_encryption_key.raw_key`. It is deprecated to enhance
|
||||||
consistency with `source_image_encryption_key` and
|
consistency with `source_image_encryption_key` and
|
||||||
`source_snapshot_encryption_key`.
|
`source_snapshot_encryption_key`.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `label_fingerprint` -
|
* `label_fingerprint` -
|
||||||
The fingerprint used for optimistic locking of this resource. Used
|
The fingerprint used for optimistic locking of this resource. Used
|
||||||
internally during updates.
|
internally during updates.
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
|
|
||||||
* `last_attach_timestamp` -
|
* `last_attach_timestamp` -
|
||||||
Last attach timestamp in RFC3339 text format.
|
Last attach timestamp in RFC3339 text format.
|
||||||
|
|
||||||
* `last_detach_timestamp` -
|
* `last_detach_timestamp` -
|
||||||
Last dettach timestamp in RFC3339 text format.
|
Last dettach timestamp in RFC3339 text format.
|
||||||
|
|
||||||
* `users` -
|
* `users` -
|
||||||
Links to the users of the disk (attached instances) in form:
|
Links to the users of the disk (attached instances) in form:
|
||||||
project/zones/zone/instances/instance
|
project/zones/zone/instances/instance
|
||||||
|
|
||||||
* `source_image_id` -
|
* `source_image_id` -
|
||||||
The ID value of the image used to create this disk. This value
|
The ID value of the image used to create this disk. This value
|
||||||
identifies the exact image that was used to create this persistent
|
identifies the exact image that was used to create this persistent
|
||||||
disk. For example, if you created the persistent disk from an image
|
disk. For example, if you created the persistent disk from an image
|
||||||
that was later deleted and recreated under the same name, the source
|
that was later deleted and recreated under the same name, the source
|
||||||
image ID would identify the exact version of the image that was used.
|
image ID would identify the exact version of the image that was used.
|
||||||
|
|
||||||
* `source_snapshot_id` -
|
* `source_snapshot_id` -
|
||||||
The unique ID of the snapshot used to create this disk. This value
|
The unique ID of the snapshot used to create this disk. This value
|
||||||
identifies the exact snapshot that was used to create this persistent
|
identifies the exact snapshot that was used to create this persistent
|
||||||
|
@ -219,6 +238,7 @@ In addition to the arguments listed above, the following computed attributes are
|
||||||
`disk_encryption_key.sha256`. It is deprecated to enhance
|
`disk_encryption_key.sha256`. It is deprecated to enhance
|
||||||
consistency with `source_image_encryption_key` and
|
consistency with `source_image_encryption_key` and
|
||||||
`source_snapshot_encryption_key`.
|
`source_snapshot_encryption_key`.
|
||||||
|
|
||||||
## Timeouts
|
## Timeouts
|
||||||
|
|
||||||
This resource provides the following
|
This resource provides the following
|
||||||
|
|
|
@ -45,6 +45,7 @@ resource "google_compute_forwarding_rule" "default" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource; provided by the client when the resource is
|
Name of the resource; provided by the client when the resource is
|
||||||
|
@ -55,20 +56,19 @@ The following arguments are supported:
|
||||||
characters must be a dash, lowercase letter, or digit, except the last
|
characters must be a dash, lowercase letter, or digit, except the last
|
||||||
character, which cannot be a dash.
|
character, which cannot be a dash.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource. Provide this property when
|
An optional description of this resource. Provide this property when
|
||||||
you create the resource.
|
you create the resource.
|
||||||
|
|
||||||
* `ip_address` -
|
* `ip_address` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The IP address that this forwarding rule is serving on behalf of.
|
The IP address that this forwarding rule is serving on behalf of.
|
||||||
|
|
||||||
Addresses are restricted based on the forwarding rule's load balancing
|
Addresses are restricted based on the forwarding rule's load balancing
|
||||||
scheme (EXTERNAL or INTERNAL) and scope (global or regional).
|
scheme (EXTERNAL or INTERNAL) and scope (global or regional).
|
||||||
|
|
||||||
When the load balancing scheme is EXTERNAL, for global forwarding
|
When the load balancing scheme is EXTERNAL, for global forwarding
|
||||||
rules, the address must be a global IP, and for regional forwarding
|
rules, the address must be a global IP, and for regional forwarding
|
||||||
rules, the address must live in the same region as the forwarding
|
rules, the address must live in the same region as the forwarding
|
||||||
|
@ -76,17 +76,14 @@ The following arguments are supported:
|
||||||
scope (global or regional) will be assigned. A regional forwarding
|
scope (global or regional) will be assigned. A regional forwarding
|
||||||
rule supports IPv4 only. A global forwarding rule supports either IPv4
|
rule supports IPv4 only. A global forwarding rule supports either IPv4
|
||||||
or IPv6.
|
or IPv6.
|
||||||
|
|
||||||
When the load balancing scheme is INTERNAL, this can only be an RFC
|
When the load balancing scheme is INTERNAL, this can only be an RFC
|
||||||
1918 IP address belonging to the network/subnet configured for the
|
1918 IP address belonging to the network/subnet configured for the
|
||||||
forwarding rule. By default, if this field is empty, an ephemeral
|
forwarding rule. By default, if this field is empty, an ephemeral
|
||||||
internal IP address will be automatically allocated from the IP range
|
internal IP address will be automatically allocated from the IP range
|
||||||
of the subnet or network configured for this forwarding rule.
|
of the subnet or network configured for this forwarding rule.
|
||||||
|
|
||||||
An address can be specified either by a literal IP address or a URL
|
An address can be specified either by a literal IP address or a URL
|
||||||
reference to an existing Address resource. The following examples are
|
reference to an existing Address resource. The following examples are
|
||||||
all valid:
|
all valid:
|
||||||
|
|
||||||
* 100.1.2.3
|
* 100.1.2.3
|
||||||
* https://www.googleapis.com/compute/v1/projects/project/regions/
|
* https://www.googleapis.com/compute/v1/projects/project/regions/
|
||||||
region/addresses/address
|
region/addresses/address
|
||||||
|
@ -94,24 +91,26 @@ The following arguments are supported:
|
||||||
* regions/region/addresses/address
|
* regions/region/addresses/address
|
||||||
* global/addresses/address
|
* global/addresses/address
|
||||||
* address
|
* address
|
||||||
|
|
||||||
* `ip_protocol` -
|
* `ip_protocol` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The IP protocol to which this rule applies. Valid options are TCP,
|
The IP protocol to which this rule applies. Valid options are TCP,
|
||||||
UDP, ESP, AH, SCTP or ICMP.
|
UDP, ESP, AH, SCTP or ICMP.
|
||||||
|
|
||||||
When the load balancing scheme is INTERNAL, only TCP and UDP are
|
When the load balancing scheme is INTERNAL, only TCP and UDP are
|
||||||
valid.
|
valid.
|
||||||
|
|
||||||
* `backend_service` -
|
* `backend_service` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A reference to a BackendService to receive the matched traffic.
|
A reference to a BackendService to receive the matched traffic.
|
||||||
|
|
||||||
This is used for internal load balancing.
|
This is used for internal load balancing.
|
||||||
(not used for external load balancing)
|
(not used for external load balancing)
|
||||||
|
|
||||||
* `ip_version` -
|
* `ip_version` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The IP Version that will be used by this forwarding rule. Valid
|
The IP Version that will be used by this forwarding rule. Valid
|
||||||
options are IPV4 or IPV6. This can only be specified for a global
|
options are IPV4 or IPV6. This can only be specified for a global
|
||||||
forwarding rule.
|
forwarding rule.
|
||||||
|
|
||||||
* `load_balancing_scheme` -
|
* `load_balancing_scheme` -
|
||||||
(Optional)
|
(Optional)
|
||||||
This signifies what the ForwardingRule will be used for and can only
|
This signifies what the ForwardingRule will be used for and can only
|
||||||
|
@ -119,27 +118,25 @@ The following arguments are supported:
|
||||||
means that this will be used for Internal Network Load Balancing (TCP,
|
means that this will be used for Internal Network Load Balancing (TCP,
|
||||||
UDP). The value of EXTERNAL means that this will be used for External
|
UDP). The value of EXTERNAL means that this will be used for External
|
||||||
Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy)
|
Load Balancing (HTTP(S) LB, External TCP/UDP LB, SSL Proxy)
|
||||||
|
|
||||||
* `network` -
|
* `network` -
|
||||||
(Optional)
|
(Optional)
|
||||||
For internal load balancing, this field identifies the network that
|
For internal load balancing, this field identifies the network that
|
||||||
the load balanced IP should belong to for this Forwarding Rule. If
|
the load balanced IP should belong to for this Forwarding Rule. If
|
||||||
this field is not specified, the default network will be used.
|
this field is not specified, the default network will be used.
|
||||||
|
|
||||||
This field is not used for external load balancing.
|
This field is not used for external load balancing.
|
||||||
|
|
||||||
* `port_range` -
|
* `port_range` -
|
||||||
(Optional)
|
(Optional)
|
||||||
This field is used along with the target field for TargetHttpProxy,
|
This field is used along with the target field for TargetHttpProxy,
|
||||||
TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway,
|
TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway,
|
||||||
TargetPool, TargetInstance.
|
TargetPool, TargetInstance.
|
||||||
|
|
||||||
Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets
|
Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets
|
||||||
addressed to ports in the specified range will be forwarded to target.
|
addressed to ports in the specified range will be forwarded to target.
|
||||||
Forwarding rules with the same [IPAddress, IPProtocol] pair must have
|
Forwarding rules with the same [IPAddress, IPProtocol] pair must have
|
||||||
disjoint port ranges.
|
disjoint port ranges.
|
||||||
|
|
||||||
Some types of forwarding target have constraints on the acceptable
|
Some types of forwarding target have constraints on the acceptable
|
||||||
ports:
|
ports:
|
||||||
|
|
||||||
* TargetHttpProxy: 80, 8080
|
* TargetHttpProxy: 80, 8080
|
||||||
* TargetHttpsProxy: 443
|
* TargetHttpsProxy: 443
|
||||||
* TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995,
|
* TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995,
|
||||||
|
@ -147,29 +144,27 @@ The following arguments are supported:
|
||||||
* TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995,
|
* TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995,
|
||||||
1883, 5222
|
1883, 5222
|
||||||
* TargetVpnGateway: 500, 4500
|
* TargetVpnGateway: 500, 4500
|
||||||
|
|
||||||
* `ports` -
|
* `ports` -
|
||||||
(Optional)
|
(Optional)
|
||||||
This field is used along with the backend_service field for internal
|
This field is used along with the backend_service field for internal
|
||||||
load balancing.
|
load balancing.
|
||||||
|
|
||||||
When the load balancing scheme is INTERNAL, a single port or a comma
|
When the load balancing scheme is INTERNAL, a single port or a comma
|
||||||
separated list of ports can be configured. Only packets addressed to
|
separated list of ports can be configured. Only packets addressed to
|
||||||
these ports will be forwarded to the backends configured with this
|
these ports will be forwarded to the backends configured with this
|
||||||
forwarding rule.
|
forwarding rule.
|
||||||
|
|
||||||
You may specify a maximum of up to 5 ports.
|
You may specify a maximum of up to 5 ports.
|
||||||
|
|
||||||
* `subnetwork` -
|
* `subnetwork` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A reference to a subnetwork.
|
A reference to a subnetwork.
|
||||||
|
|
||||||
For internal load balancing, this field identifies the subnetwork that
|
For internal load balancing, this field identifies the subnetwork that
|
||||||
the load balanced IP should belong to for this Forwarding Rule.
|
the load balanced IP should belong to for this Forwarding Rule.
|
||||||
|
|
||||||
If the network specified is in auto subnet mode, this field is
|
If the network specified is in auto subnet mode, this field is
|
||||||
optional. However, if the network is in custom subnet mode, a
|
optional. However, if the network is in custom subnet mode, a
|
||||||
subnetwork must be specified.
|
subnetwork must be specified.
|
||||||
|
|
||||||
This field is not used for external load balancing.
|
This field is not used for external load balancing.
|
||||||
|
|
||||||
* `target` -
|
* `target` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A reference to a TargetPool resource to receive the matched traffic.
|
A reference to a TargetPool resource to receive the matched traffic.
|
||||||
|
@ -177,30 +172,31 @@ The following arguments are supported:
|
||||||
region as the forwarding rule. For global forwarding rules, this
|
region as the forwarding rule. For global forwarding rules, this
|
||||||
target must be a global load balancing resource. The forwarded traffic
|
target must be a global load balancing resource. The forwarded traffic
|
||||||
must be of a type appropriate to the target object.
|
must be of a type appropriate to the target object.
|
||||||
|
|
||||||
This field is not used for internal load balancing.
|
This field is not used for internal load balancing.
|
||||||
|
|
||||||
* `labels` -
|
* `labels` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Labels to apply to this forwarding rule. A list of key->value pairs.
|
Labels to apply to this forwarding rule. A list of key->value pairs.
|
||||||
|
|
||||||
* `network_tier` -
|
* `network_tier` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The networking tier used for configuring this address. This field can
|
The networking tier used for configuring this address. This field can
|
||||||
take the following values: PREMIUM or STANDARD. If this field is not
|
take the following values: PREMIUM or STANDARD. If this field is not
|
||||||
specified, it is assumed to be PREMIUM.
|
specified, it is assumed to be PREMIUM.
|
||||||
|
|
||||||
* `service_label` -
|
* `service_label` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional prefix to the service name for this Forwarding Rule.
|
An optional prefix to the service name for this Forwarding Rule.
|
||||||
If specified, will be the first label of the fully qualified service
|
If specified, will be the first label of the fully qualified service
|
||||||
name.
|
name.
|
||||||
|
|
||||||
The label must be 1-63 characters long, and comply with RFC1035.
|
The label must be 1-63 characters long, and comply with RFC1035.
|
||||||
Specifically, the label must be 1-63 characters long and match the
|
Specifically, the label must be 1-63 characters long and match the
|
||||||
regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
||||||
character must be a lowercase letter, and all following characters
|
character must be a lowercase letter, and all following characters
|
||||||
must be a dash, lowercase letter, or digit, except the last
|
must be a dash, lowercase letter, or digit, except the last
|
||||||
character, which cannot be a dash.
|
character, which cannot be a dash.
|
||||||
|
|
||||||
This field is only used for internal load balancing.
|
This field is only used for internal load balancing.
|
||||||
|
|
||||||
* `region` -
|
* `region` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A reference to the region where the regional forwarding rule resides.
|
A reference to the region where the regional forwarding rule resides.
|
||||||
|
@ -213,11 +209,14 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
|
|
||||||
* `label_fingerprint` -
|
* `label_fingerprint` -
|
||||||
The fingerprint used for optimistic locking of this resource. Used
|
The fingerprint used for optimistic locking of this resource. Used
|
||||||
internally during updates.
|
internally during updates.
|
||||||
|
|
||||||
* `service_name` -
|
* `service_name` -
|
||||||
The internal fully qualified service name for this Forwarding Rule.
|
The internal fully qualified service name for this Forwarding Rule.
|
||||||
This field is only used for internal load balancing.
|
This field is only used for internal load balancing.
|
||||||
|
|
|
@ -42,6 +42,7 @@ resource "google_compute_global_address" "default" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
|
@ -52,13 +53,14 @@ The following arguments are supported:
|
||||||
characters must be a dash, lowercase letter, or digit, except the last
|
characters must be a dash, lowercase letter, or digit, except the last
|
||||||
character, which cannot be a dash.
|
character, which cannot be a dash.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource.
|
An optional description of this resource.
|
||||||
Provide this property when you create the resource.
|
Provide this property when you create the resource.
|
||||||
|
|
||||||
* `ip_version` -
|
* `ip_version` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The IP Version that will be used by this address. Valid options are
|
The IP Version that will be used by this address. Valid options are
|
||||||
|
@ -71,8 +73,10 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `address` -
|
* `address` -
|
||||||
The static external IP address represented by this resource.
|
The static external IP address represented by this resource.
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
|
@ -53,6 +53,7 @@ resource "google_compute_http_health_check" "default" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
|
@ -63,39 +64,46 @@ The following arguments are supported:
|
||||||
characters must be a dash, lowercase letter, or digit, except the
|
characters must be a dash, lowercase letter, or digit, except the
|
||||||
last character, which cannot be a dash.
|
last character, which cannot be a dash.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `check_interval_sec` -
|
* `check_interval_sec` -
|
||||||
(Optional)
|
(Optional)
|
||||||
How often (in seconds) to send a health check. The default value is 5
|
How often (in seconds) to send a health check. The default value is 5
|
||||||
seconds.
|
seconds.
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource. Provide this property when
|
An optional description of this resource. Provide this property when
|
||||||
you create the resource.
|
you create the resource.
|
||||||
|
|
||||||
* `healthy_threshold` -
|
* `healthy_threshold` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A so-far unhealthy instance will be marked healthy after this many
|
A so-far unhealthy instance will be marked healthy after this many
|
||||||
consecutive successes. The default value is 2.
|
consecutive successes. The default value is 2.
|
||||||
|
|
||||||
* `host` -
|
* `host` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The value of the host header in the HTTP health check request. If
|
The value of the host header in the HTTP health check request. If
|
||||||
left empty (default value), the public IP on behalf of which this
|
left empty (default value), the public IP on behalf of which this
|
||||||
health check is performed will be used.
|
health check is performed will be used.
|
||||||
|
|
||||||
* `port` -
|
* `port` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The TCP port number for the HTTP health check request.
|
The TCP port number for the HTTP health check request.
|
||||||
The default value is 80.
|
The default value is 80.
|
||||||
|
|
||||||
* `request_path` -
|
* `request_path` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The request path of the HTTP health check request.
|
The request path of the HTTP health check request.
|
||||||
The default value is /.
|
The default value is /.
|
||||||
|
|
||||||
* `timeout_sec` -
|
* `timeout_sec` -
|
||||||
(Optional)
|
(Optional)
|
||||||
How long (in seconds) to wait before claiming failure.
|
How long (in seconds) to wait before claiming failure.
|
||||||
The default value is 5 seconds. It is invalid for timeoutSec to have
|
The default value is 5 seconds. It is invalid for timeoutSec to have
|
||||||
greater value than checkIntervalSec.
|
greater value than checkIntervalSec.
|
||||||
|
|
||||||
* `unhealthy_threshold` -
|
* `unhealthy_threshold` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A so-far healthy instance will be marked unhealthy after this many
|
A so-far healthy instance will be marked unhealthy after this many
|
||||||
|
@ -108,6 +116,7 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
|
@ -53,6 +53,7 @@ resource "google_compute_https_health_check" "default" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
|
@ -63,39 +64,46 @@ The following arguments are supported:
|
||||||
characters must be a dash, lowercase letter, or digit, except the
|
characters must be a dash, lowercase letter, or digit, except the
|
||||||
last character, which cannot be a dash.
|
last character, which cannot be a dash.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `check_interval_sec` -
|
* `check_interval_sec` -
|
||||||
(Optional)
|
(Optional)
|
||||||
How often (in seconds) to send a health check. The default value is 5
|
How often (in seconds) to send a health check. The default value is 5
|
||||||
seconds.
|
seconds.
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource. Provide this property when
|
An optional description of this resource. Provide this property when
|
||||||
you create the resource.
|
you create the resource.
|
||||||
|
|
||||||
* `healthy_threshold` -
|
* `healthy_threshold` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A so-far unhealthy instance will be marked healthy after this many
|
A so-far unhealthy instance will be marked healthy after this many
|
||||||
consecutive successes. The default value is 2.
|
consecutive successes. The default value is 2.
|
||||||
|
|
||||||
* `host` -
|
* `host` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The value of the host header in the HTTPS health check request. If
|
The value of the host header in the HTTPS health check request. If
|
||||||
left empty (default value), the public IP on behalf of which this
|
left empty (default value), the public IP on behalf of which this
|
||||||
health check is performed will be used.
|
health check is performed will be used.
|
||||||
|
|
||||||
* `port` -
|
* `port` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The TCP port number for the HTTPS health check request.
|
The TCP port number for the HTTPS health check request.
|
||||||
The default value is 80.
|
The default value is 80.
|
||||||
|
|
||||||
* `request_path` -
|
* `request_path` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The request path of the HTTPS health check request.
|
The request path of the HTTPS health check request.
|
||||||
The default value is /.
|
The default value is /.
|
||||||
|
|
||||||
* `timeout_sec` -
|
* `timeout_sec` -
|
||||||
(Optional)
|
(Optional)
|
||||||
How long (in seconds) to wait before claiming failure.
|
How long (in seconds) to wait before claiming failure.
|
||||||
The default value is 5 seconds. It is invalid for timeoutSec to have
|
The default value is 5 seconds. It is invalid for timeoutSec to have
|
||||||
greater value than checkIntervalSec.
|
greater value than checkIntervalSec.
|
||||||
|
|
||||||
* `unhealthy_threshold` -
|
* `unhealthy_threshold` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A so-far healthy instance will be marked unhealthy after this many
|
A so-far healthy instance will be marked unhealthy after this many
|
||||||
|
@ -108,6 +116,7 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
|
@ -94,6 +94,7 @@ resource "google_compute_region_autoscaler" "foobar" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. The name must be 1-63 characters long and match
|
Name of the resource. The name must be 1-63 characters long and match
|
||||||
|
@ -101,31 +102,34 @@ The following arguments are supported:
|
||||||
first character must be a lowercase letter, and all following
|
first character must be a lowercase letter, and all following
|
||||||
characters must be a dash, lowercase letter, or digit, except the last
|
characters must be a dash, lowercase letter, or digit, except the last
|
||||||
character, which cannot be a dash.
|
character, which cannot be a dash.
|
||||||
|
|
||||||
* `autoscaling_policy` -
|
* `autoscaling_policy` -
|
||||||
(Required)
|
(Required)
|
||||||
The configuration parameters for the autoscaling algorithm. You can
|
The configuration parameters for the autoscaling algorithm. You can
|
||||||
define one or more of the policies for an autoscaler: cpuUtilization,
|
define one or more of the policies for an autoscaler: cpuUtilization,
|
||||||
customMetricUtilizations, and loadBalancingUtilization.
|
customMetricUtilizations, and loadBalancingUtilization.
|
||||||
|
|
||||||
If none of these are specified, the default will be to autoscale based
|
If none of these are specified, the default will be to autoscale based
|
||||||
on cpuUtilization to 0.6 or 60%. Structure is documented below.
|
on cpuUtilization to 0.6 or 60%. Structure is documented below.
|
||||||
|
|
||||||
* `target` -
|
* `target` -
|
||||||
(Required)
|
(Required)
|
||||||
URL of the managed instance group that this autoscaler will scale.
|
URL of the managed instance group that this autoscaler will scale.
|
||||||
|
|
||||||
The `autoscaling_policy` block supports:
|
The `autoscaling_policy` block supports:
|
||||||
|
|
||||||
* `min_replicas` -
|
* `min_replicas` -
|
||||||
(Required)
|
(Required)
|
||||||
The minimum number of replicas that the autoscaler can scale down
|
The minimum number of replicas that the autoscaler can scale down
|
||||||
to. This cannot be less than 0. If not provided, autoscaler will
|
to. This cannot be less than 0. If not provided, autoscaler will
|
||||||
choose a default value depending on maximum number of instances
|
choose a default value depending on maximum number of instances
|
||||||
allowed.
|
allowed.
|
||||||
|
|
||||||
* `max_replicas` -
|
* `max_replicas` -
|
||||||
(Required)
|
(Required)
|
||||||
The maximum number of instances that the autoscaler can scale up
|
The maximum number of instances that the autoscaler can scale up
|
||||||
to. This is required when creating or updating an autoscaler. The
|
to. This is required when creating or updating an autoscaler. The
|
||||||
maximum number of replicas should not be lower than minimal number
|
maximum number of replicas should not be lower than minimal number
|
||||||
of replicas.
|
of replicas.
|
||||||
|
|
||||||
* `cooldown_period` -
|
* `cooldown_period` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The number of seconds that the autoscaler should wait before it
|
The number of seconds that the autoscaler should wait before it
|
||||||
|
@ -133,59 +137,61 @@ The `autoscaling_policy` block supports:
|
||||||
the autoscaler from collecting information when the instance is
|
the autoscaler from collecting information when the instance is
|
||||||
initializing, during which the collected usage would not be
|
initializing, during which the collected usage would not be
|
||||||
reliable. The default time autoscaler waits is 60 seconds.
|
reliable. The default time autoscaler waits is 60 seconds.
|
||||||
|
|
||||||
Virtual machine initialization times might vary because of
|
Virtual machine initialization times might vary because of
|
||||||
numerous factors. We recommend that you test how long an
|
numerous factors. We recommend that you test how long an
|
||||||
instance may take to initialize. To do this, create an instance
|
instance may take to initialize. To do this, create an instance
|
||||||
and time the startup process.
|
and time the startup process.
|
||||||
|
|
||||||
* `cpu_utilization` -
|
* `cpu_utilization` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Defines the CPU utilization policy that allows the autoscaler to
|
Defines the CPU utilization policy that allows the autoscaler to
|
||||||
scale based on the average CPU utilization of a managed instance
|
scale based on the average CPU utilization of a managed instance
|
||||||
group. Structure is documented below.
|
group. Structure is documented below.
|
||||||
|
|
||||||
* `metric` -
|
* `metric` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Defines the CPU utilization policy that allows the autoscaler to
|
Defines the CPU utilization policy that allows the autoscaler to
|
||||||
scale based on the average CPU utilization of a managed instance
|
scale based on the average CPU utilization of a managed instance
|
||||||
group. Structure is documented below.
|
group. Structure is documented below.
|
||||||
|
|
||||||
* `load_balancing_utilization` -
|
* `load_balancing_utilization` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Configuration parameters of autoscaling based on a load balancer. Structure is documented below.
|
Configuration parameters of autoscaling based on a load balancer. Structure is documented below.
|
||||||
The `cpu_utilization` block supports:
|
The `cpu_utilization` block supports:
|
||||||
|
|
||||||
* `target` -
|
* `target` -
|
||||||
(Required)
|
(Required)
|
||||||
The target CPU utilization that the autoscaler should maintain.
|
The target CPU utilization that the autoscaler should maintain.
|
||||||
Must be a float value in the range (0, 1]. If not specified, the
|
Must be a float value in the range (0, 1]. If not specified, the
|
||||||
default is 0.6.
|
default is 0.6.
|
||||||
|
|
||||||
If the CPU level is below the target utilization, the autoscaler
|
If the CPU level is below the target utilization, the autoscaler
|
||||||
scales down the number of instances until it reaches the minimum
|
scales down the number of instances until it reaches the minimum
|
||||||
number of instances you specified or until the average CPU of
|
number of instances you specified or until the average CPU of
|
||||||
your instances reaches the target utilization.
|
your instances reaches the target utilization.
|
||||||
|
|
||||||
If the average CPU is above the target utilization, the autoscaler
|
If the average CPU is above the target utilization, the autoscaler
|
||||||
scales up until it reaches the maximum number of instances you
|
scales up until it reaches the maximum number of instances you
|
||||||
specified or until the average utilization reaches the target
|
specified or until the average utilization reaches the target
|
||||||
utilization.
|
utilization.
|
||||||
|
|
||||||
The `metric` block supports:
|
The `metric` block supports:
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
The identifier (type) of the Stackdriver Monitoring metric.
|
The identifier (type) of the Stackdriver Monitoring metric.
|
||||||
The metric cannot have negative values.
|
The metric cannot have negative values.
|
||||||
|
|
||||||
The metric must have a value type of INT64 or DOUBLE.
|
The metric must have a value type of INT64 or DOUBLE.
|
||||||
|
|
||||||
* `target` -
|
* `target` -
|
||||||
(Required)
|
(Required)
|
||||||
The target value of the metric that autoscaler should
|
The target value of the metric that autoscaler should
|
||||||
maintain. This must be a positive value. A utilization
|
maintain. This must be a positive value. A utilization
|
||||||
metric scales number of virtual machines handling requests
|
metric scales number of virtual machines handling requests
|
||||||
to increase or decrease proportionally to the metric.
|
to increase or decrease proportionally to the metric.
|
||||||
|
|
||||||
For example, a good metric to use as a utilizationTarget is
|
For example, a good metric to use as a utilizationTarget is
|
||||||
www.googleapis.com/compute/instance/network/received_bytes_count.
|
www.googleapis.com/compute/instance/network/received_bytes_count.
|
||||||
The autoscaler will work to keep this value constant for each
|
The autoscaler will work to keep this value constant for each
|
||||||
of the instances.
|
of the instances.
|
||||||
|
|
||||||
* `type` -
|
* `type` -
|
||||||
(Required)
|
(Required)
|
||||||
Defines how target utilization value is expressed for a
|
Defines how target utilization value is expressed for a
|
||||||
|
@ -193,6 +199,7 @@ The `autoscaling_policy` block supports:
|
||||||
or DELTA_PER_MINUTE.
|
or DELTA_PER_MINUTE.
|
||||||
|
|
||||||
The `load_balancing_utilization` block supports:
|
The `load_balancing_utilization` block supports:
|
||||||
|
|
||||||
* `target` -
|
* `target` -
|
||||||
(Required)
|
(Required)
|
||||||
Fraction of backend capacity utilization (set in HTTP(s) load
|
Fraction of backend capacity utilization (set in HTTP(s) load
|
||||||
|
@ -202,9 +209,11 @@ The `autoscaling_policy` block supports:
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource.
|
An optional description of this resource.
|
||||||
|
|
||||||
* `region` -
|
* `region` -
|
||||||
(Optional)
|
(Optional)
|
||||||
URL of the region where the instance group resides.
|
URL of the region where the instance group resides.
|
||||||
|
@ -216,6 +225,7 @@ The `autoscaling_policy` block supports:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
|
@ -76,10 +76,12 @@ resource "google_compute_route" "default" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `dest_range` -
|
* `dest_range` -
|
||||||
(Required)
|
(Required)
|
||||||
The destination range of outgoing packets that this route applies to.
|
The destination range of outgoing packets that this route applies to.
|
||||||
Only IPv4 is supported.
|
Only IPv4 is supported.
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
|
@ -89,53 +91,54 @@ The following arguments are supported:
|
||||||
the first character must be a lowercase letter, and all following
|
the first character must be a lowercase letter, and all following
|
||||||
characters must be a dash, lowercase letter, or digit, except the
|
characters must be a dash, lowercase letter, or digit, except the
|
||||||
last character, which cannot be a dash.
|
last character, which cannot be a dash.
|
||||||
|
|
||||||
* `network` -
|
* `network` -
|
||||||
(Required)
|
(Required)
|
||||||
The network that this route applies to.
|
The network that this route applies to.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource. Provide this property
|
An optional description of this resource. Provide this property
|
||||||
when you create the resource.
|
when you create the resource.
|
||||||
|
|
||||||
* `priority` -
|
* `priority` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The priority of this route. Priority is used to break ties in cases
|
The priority of this route. Priority is used to break ties in cases
|
||||||
where there is more than one matching route of equal prefix length.
|
where there is more than one matching route of equal prefix length.
|
||||||
|
|
||||||
In the case of two routes with equal prefix length, the one with the
|
In the case of two routes with equal prefix length, the one with the
|
||||||
lowest-numbered priority value wins.
|
lowest-numbered priority value wins.
|
||||||
|
|
||||||
Default value is 1000. Valid range is 0 through 65535.
|
Default value is 1000. Valid range is 0 through 65535.
|
||||||
|
|
||||||
* `tags` -
|
* `tags` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A list of instance tags to which this route applies.
|
A list of instance tags to which this route applies.
|
||||||
|
|
||||||
* `next_hop_gateway` -
|
* `next_hop_gateway` -
|
||||||
(Optional)
|
(Optional)
|
||||||
URL to a gateway that should handle matching packets.
|
URL to a gateway that should handle matching packets.
|
||||||
|
|
||||||
Currently, you can only specify the internet gateway, using a full or
|
Currently, you can only specify the internet gateway, using a full or
|
||||||
partial valid URL:
|
partial valid URL:
|
||||||
|
* `https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway`
|
||||||
|
* `projects/project/global/gateways/default-internet-gateway`
|
||||||
|
* `global/gateways/default-internet-gateway`
|
||||||
|
* The string `default-internet-gateway`.
|
||||||
|
|
||||||
* https://www.googleapis.com/compute/v1/projects/project/global/gateways/default-internet-gateway
|
|
||||||
* projects/project/global/gateways/default-internet-gateway
|
|
||||||
* global/gateways/default-internet-gateway
|
|
||||||
You can also provide the string 'default-internet-gateway'.
|
|
||||||
* `next_hop_instance` -
|
* `next_hop_instance` -
|
||||||
(Optional)
|
(Optional)
|
||||||
URL to an instance that should handle matching packets.
|
URL to an instance that should handle matching packets.
|
||||||
You can specify this as a full or partial URL. For example:
|
You can specify this as a full or partial URL. For example:
|
||||||
|
* `https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance`
|
||||||
|
* `projects/project/zones/zone/instances/instance`
|
||||||
|
* `zones/zone/instances/instance`
|
||||||
|
* Just the instance name, with the zone in `next_hop_instance_zone`.
|
||||||
|
|
||||||
* https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance
|
|
||||||
* projects/project/zones/zone/instances/instance
|
|
||||||
* zones/zone/instances/instance
|
|
||||||
You can also provide just the instance name, with the zone in
|
|
||||||
`next_hop_instance_zone`.
|
|
||||||
* `next_hop_ip` -
|
* `next_hop_ip` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Network IP address of an instance that should handle matching packets.
|
Network IP address of an instance that should handle matching packets.
|
||||||
|
|
||||||
* `next_hop_vpn_tunnel` -
|
* `next_hop_vpn_tunnel` -
|
||||||
(Optional)
|
(Optional)
|
||||||
URL to a VpnTunnel that should handle matching packets.
|
URL to a VpnTunnel that should handle matching packets.
|
||||||
|
@ -147,10 +150,13 @@ The following arguments are supported:
|
||||||
specified) The zone of the instance specified in
|
specified) The zone of the instance specified in
|
||||||
`next_hop_instance`. Omit if `next_hop_instance` is specified as
|
`next_hop_instance`. Omit if `next_hop_instance` is specified as
|
||||||
a URL.
|
a URL.
|
||||||
|
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `next_hop_network` -
|
* `next_hop_network` -
|
||||||
URL to a Network that should handle matching packets.
|
URL to a Network that should handle matching packets.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
|
@ -56,6 +56,7 @@ resource "google_compute_ssl_policy" "custom-ssl-policy" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
|
@ -66,12 +67,13 @@ The following arguments are supported:
|
||||||
characters must be a dash, lowercase letter, or digit, except the last
|
characters must be a dash, lowercase letter, or digit, except the last
|
||||||
character, which cannot be a dash.
|
character, which cannot be a dash.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource.
|
An optional description of this resource.
|
||||||
|
|
||||||
* `profile` -
|
* `profile` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Profile specifies the set of SSL features that can be used by the
|
Profile specifies the set of SSL features that can be used by the
|
||||||
|
@ -79,17 +81,18 @@ The following arguments are supported:
|
||||||
`COMPATIBLE`, `MODERN`, `RESTRICTED`, or `CUSTOM`. If using `CUSTOM`,
|
`COMPATIBLE`, `MODERN`, `RESTRICTED`, or `CUSTOM`. If using `CUSTOM`,
|
||||||
the set of SSL features to enable must be specified in the
|
the set of SSL features to enable must be specified in the
|
||||||
`customFeatures` field.
|
`customFeatures` field.
|
||||||
|
|
||||||
See the [official documentation](https://cloud.google.com/compute/docs/load-balancing/ssl-policies#profilefeaturesupport)
|
See the [official documentation](https://cloud.google.com/compute/docs/load-balancing/ssl-policies#profilefeaturesupport)
|
||||||
for information on what cipher suites each profile provides. If
|
for information on what cipher suites each profile provides. If
|
||||||
`CUSTOM` is used, the `custom_features` attribute **must be set**.
|
`CUSTOM` is used, the `custom_features` attribute **must be set**.
|
||||||
Default is `COMPATIBLE`.
|
Default is `COMPATIBLE`.
|
||||||
|
|
||||||
* `min_tls_version` -
|
* `min_tls_version` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The minimum version of SSL protocol that can be used by the clients
|
The minimum version of SSL protocol that can be used by the clients
|
||||||
to establish a connection with the load balancer. This can be one of
|
to establish a connection with the load balancer. This can be one of
|
||||||
`TLS_1_0`, `TLS_1_1`, `TLS_1_2`.
|
`TLS_1_0`, `TLS_1_1`, `TLS_1_2`.
|
||||||
Default is `TLS_1_0`.
|
Default is `TLS_1_0`.
|
||||||
|
|
||||||
* `custom_features` -
|
* `custom_features` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Profile specifies the set of SSL features that can be used by the
|
Profile specifies the set of SSL features that can be used by the
|
||||||
|
@ -97,7 +100,6 @@ The following arguments are supported:
|
||||||
`COMPATIBLE`, `MODERN`, `RESTRICTED`, or `CUSTOM`. If using `CUSTOM`,
|
`COMPATIBLE`, `MODERN`, `RESTRICTED`, or `CUSTOM`. If using `CUSTOM`,
|
||||||
the set of SSL features to enable must be specified in the
|
the set of SSL features to enable must be specified in the
|
||||||
`customFeatures` field.
|
`customFeatures` field.
|
||||||
|
|
||||||
See the [official documentation](https://cloud.google.com/compute/docs/load-balancing/ssl-policies#profilefeaturesupport)
|
See the [official documentation](https://cloud.google.com/compute/docs/load-balancing/ssl-policies#profilefeaturesupport)
|
||||||
for which ciphers are available to use. **Note**: this argument
|
for which ciphers are available to use. **Note**: this argument
|
||||||
*must* be present when using the `CUSTOM` profile. This argument
|
*must* be present when using the `CUSTOM` profile. This argument
|
||||||
|
@ -110,10 +112,13 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
|
|
||||||
* `enabled_features` -
|
* `enabled_features` -
|
||||||
The list of features enabled in the SSL policy.
|
The list of features enabled in the SSL policy.
|
||||||
|
|
||||||
* `fingerprint` -
|
* `fingerprint` -
|
||||||
Fingerprint of this resource. A hash of the contents stored in this
|
Fingerprint of this resource. A hash of the contents stored in this
|
||||||
object. This field is used in optimistic locking.
|
object. This field is used in optimistic locking.
|
||||||
|
|
|
@ -76,12 +76,14 @@ To get more information about Subnetwork, see:
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `ip_cidr_range` -
|
* `ip_cidr_range` -
|
||||||
(Required)
|
(Required)
|
||||||
The range of internal addresses that are owned by this subnetwork.
|
The range of internal addresses that are owned by this subnetwork.
|
||||||
Provide this property when you create the subnetwork. For example,
|
Provide this property when you create the subnetwork. For example,
|
||||||
10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and
|
10.0.0.0/8 or 192.168.0.0/16. Ranges must be unique and
|
||||||
non-overlapping within a network. Only IPv4 is supported.
|
non-overlapping within a network. Only IPv4 is supported.
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
The name of the resource, provided by the client when initially
|
The name of the resource, provided by the client when initially
|
||||||
|
@ -91,32 +93,37 @@ The following arguments are supported:
|
||||||
means the first character must be a lowercase letter, and all
|
means the first character must be a lowercase letter, and all
|
||||||
following characters must be a dash, lowercase letter, or digit,
|
following characters must be a dash, lowercase letter, or digit,
|
||||||
except the last character, which cannot be a dash.
|
except the last character, which cannot be a dash.
|
||||||
|
|
||||||
* `network` -
|
* `network` -
|
||||||
(Required)
|
(Required)
|
||||||
The network this subnet belongs to.
|
The network this subnet belongs to.
|
||||||
Only networks that are in the distributed mode can have subnetworks.
|
Only networks that are in the distributed mode can have subnetworks.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource. Provide this property when
|
An optional description of this resource. Provide this property when
|
||||||
you create the resource. This field can be set only at resource
|
you create the resource. This field can be set only at resource
|
||||||
creation time.
|
creation time.
|
||||||
|
|
||||||
* `enable_flow_logs` -
|
* `enable_flow_logs` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Whether to enable flow logging for this subnetwork.
|
Whether to enable flow logging for this subnetwork.
|
||||||
|
|
||||||
* `secondary_ip_range` -
|
* `secondary_ip_range` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An array of configurations for secondary IP ranges for VM instances
|
An array of configurations for secondary IP ranges for VM instances
|
||||||
contained in this subnetwork. The primary IP of such VM must belong
|
contained in this subnetwork. The primary IP of such VM must belong
|
||||||
to the primary ipCidrRange of the subnetwork. The alias IPs may belong
|
to the primary ipCidrRange of the subnetwork. The alias IPs may belong
|
||||||
to either primary or secondary ranges. Structure is documented below.
|
to either primary or secondary ranges. Structure is documented below.
|
||||||
|
|
||||||
* `private_ip_google_access` -
|
* `private_ip_google_access` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Whether the VMs in this subnet can access Google services without
|
Whether the VMs in this subnet can access Google services without
|
||||||
assigned external IP addresses.
|
assigned external IP addresses.
|
||||||
|
|
||||||
* `region` -
|
* `region` -
|
||||||
(Optional)
|
(Optional)
|
||||||
URL of the GCP region for this subnetwork.
|
URL of the GCP region for this subnetwork.
|
||||||
|
@ -124,12 +131,14 @@ The following arguments are supported:
|
||||||
If it is not provided, the provider project is used.
|
If it is not provided, the provider project is used.
|
||||||
|
|
||||||
The `secondary_ip_range` block supports:
|
The `secondary_ip_range` block supports:
|
||||||
|
|
||||||
* `range_name` -
|
* `range_name` -
|
||||||
(Required)
|
(Required)
|
||||||
The name associated with this subnetwork secondary range, used
|
The name associated with this subnetwork secondary range, used
|
||||||
when adding an alias IP range to a VM instance. The name must
|
when adding an alias IP range to a VM instance. The name must
|
||||||
be 1-63 characters long, and comply with RFC1035. The name
|
be 1-63 characters long, and comply with RFC1035. The name
|
||||||
must be unique within the subnetwork.
|
must be unique within the subnetwork.
|
||||||
|
|
||||||
* `ip_cidr_range` -
|
* `ip_cidr_range` -
|
||||||
(Required)
|
(Required)
|
||||||
The range of IP addresses belonging to this subnetwork secondary
|
The range of IP addresses belonging to this subnetwork secondary
|
||||||
|
@ -142,11 +151,14 @@ The `secondary_ip_range` block supports:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
|
|
||||||
* `gateway_address` -
|
* `gateway_address` -
|
||||||
The gateway address for default routes to reach destination addresses
|
The gateway address for default routes to reach destination addresses
|
||||||
outside this subnetwork.
|
outside this subnetwork.
|
||||||
|
|
||||||
* `fingerprint` -
|
* `fingerprint` -
|
||||||
Fingerprint of this resource. This field is used internally during
|
Fingerprint of this resource. This field is used internally during
|
||||||
updates of this resource.
|
updates of this resource.
|
||||||
|
|
|
@ -83,6 +83,7 @@ resource "google_compute_http_health_check" "default" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
|
@ -92,14 +93,15 @@ The following arguments are supported:
|
||||||
first character must be a lowercase letter, and all following
|
first character must be a lowercase letter, and all following
|
||||||
characters must be a dash, lowercase letter, or digit, except the last
|
characters must be a dash, lowercase letter, or digit, except the last
|
||||||
character, which cannot be a dash.
|
character, which cannot be a dash.
|
||||||
|
|
||||||
* `url_map` -
|
* `url_map` -
|
||||||
(Required)
|
(Required)
|
||||||
A reference to the UrlMap resource that defines the mapping from URL
|
A reference to the UrlMap resource that defines the mapping from URL
|
||||||
to the BackendService.
|
to the BackendService.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource.
|
An optional description of this resource.
|
||||||
|
@ -111,8 +113,10 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
|
|
||||||
* `proxy_id` -
|
* `proxy_id` -
|
||||||
The unique identifier for the resource.
|
The unique identifier for the resource.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
|
@ -91,6 +91,7 @@ resource "google_compute_http_health_check" "default" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
|
@ -100,22 +101,25 @@ The following arguments are supported:
|
||||||
first character must be a lowercase letter, and all following
|
first character must be a lowercase letter, and all following
|
||||||
characters must be a dash, lowercase letter, or digit, except the last
|
characters must be a dash, lowercase letter, or digit, except the last
|
||||||
character, which cannot be a dash.
|
character, which cannot be a dash.
|
||||||
|
|
||||||
* `ssl_certificates` -
|
* `ssl_certificates` -
|
||||||
(Required)
|
(Required)
|
||||||
A list of SslCertificate resources that are used to authenticate
|
A list of SslCertificate resources that are used to authenticate
|
||||||
connections between users and the load balancer. Currently, exactly
|
connections between users and the load balancer. Currently, exactly
|
||||||
one SSL certificate must be specified.
|
one SSL certificate must be specified.
|
||||||
|
|
||||||
* `url_map` -
|
* `url_map` -
|
||||||
(Required)
|
(Required)
|
||||||
A reference to the UrlMap resource that defines the mapping from URL
|
A reference to the UrlMap resource that defines the mapping from URL
|
||||||
to the BackendService.
|
to the BackendService.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource.
|
An optional description of this resource.
|
||||||
|
|
||||||
* `quic_override` -
|
* `quic_override` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Specifies the QUIC override policy for this resource. This determines
|
Specifies the QUIC override policy for this resource. This determines
|
||||||
|
@ -124,6 +128,7 @@ The following arguments are supported:
|
||||||
specified, uses the QUIC policy with no user overrides, which is
|
specified, uses the QUIC policy with no user overrides, which is
|
||||||
equivalent to DISABLE. Not specifying this field is equivalent to
|
equivalent to DISABLE. Not specifying this field is equivalent to
|
||||||
specifying NONE.
|
specifying NONE.
|
||||||
|
|
||||||
* `ssl_policy` -
|
* `ssl_policy` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A reference to the SslPolicy resource that will be associated with
|
A reference to the SslPolicy resource that will be associated with
|
||||||
|
@ -137,8 +142,10 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
|
|
||||||
* `proxy_id` -
|
* `proxy_id` -
|
||||||
The unique identifier for the resource.
|
The unique identifier for the resource.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
|
@ -68,6 +68,7 @@ resource "google_compute_health_check" "default" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
|
@ -77,25 +78,29 @@ The following arguments are supported:
|
||||||
first character must be a lowercase letter, and all following
|
first character must be a lowercase letter, and all following
|
||||||
characters must be a dash, lowercase letter, or digit, except the last
|
characters must be a dash, lowercase letter, or digit, except the last
|
||||||
character, which cannot be a dash.
|
character, which cannot be a dash.
|
||||||
|
|
||||||
* `backend_service` -
|
* `backend_service` -
|
||||||
(Required)
|
(Required)
|
||||||
A reference to the BackendService resource.
|
A reference to the BackendService resource.
|
||||||
|
|
||||||
* `ssl_certificates` -
|
* `ssl_certificates` -
|
||||||
(Required)
|
(Required)
|
||||||
A list of SslCertificate resources that are used to authenticate
|
A list of SslCertificate resources that are used to authenticate
|
||||||
connections between users and the load balancer. Currently, exactly
|
connections between users and the load balancer. Currently, exactly
|
||||||
one SSL certificate must be specified.
|
one SSL certificate must be specified.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource.
|
An optional description of this resource.
|
||||||
|
|
||||||
* `proxy_header` -
|
* `proxy_header` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Specifies the type of proxy header to append before sending data to
|
Specifies the type of proxy header to append before sending data to
|
||||||
the backend, either NONE or PROXY_V1. The default is NONE.
|
the backend, either NONE or PROXY_V1. The default is NONE.
|
||||||
|
|
||||||
* `ssl_policy` -
|
* `ssl_policy` -
|
||||||
(Optional)
|
(Optional)
|
||||||
A reference to the SslPolicy resource that will be associated with
|
A reference to the SslPolicy resource that will be associated with
|
||||||
|
@ -109,8 +114,10 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
|
|
||||||
* `proxy_id` -
|
* `proxy_id` -
|
||||||
The unique identifier for the resource.
|
The unique identifier for the resource.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
|
@ -65,6 +65,7 @@ resource "google_compute_health_check" "default" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
|
@ -74,16 +75,18 @@ The following arguments are supported:
|
||||||
first character must be a lowercase letter, and all following
|
first character must be a lowercase letter, and all following
|
||||||
characters must be a dash, lowercase letter, or digit, except the last
|
characters must be a dash, lowercase letter, or digit, except the last
|
||||||
character, which cannot be a dash.
|
character, which cannot be a dash.
|
||||||
|
|
||||||
* `backend_service` -
|
* `backend_service` -
|
||||||
(Required)
|
(Required)
|
||||||
A reference to the BackendService resource.
|
A reference to the BackendService resource.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource.
|
An optional description of this resource.
|
||||||
|
|
||||||
* `proxy_header` -
|
* `proxy_header` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Specifies the type of proxy header to append before sending data to
|
Specifies the type of proxy header to append before sending data to
|
||||||
|
@ -96,8 +99,10 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
|
|
||||||
* `proxy_id` -
|
* `proxy_id` -
|
||||||
The unique identifier for the resource.
|
The unique identifier for the resource.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
|
@ -102,6 +102,7 @@ resource "google_compute_route" "route1" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
Name of the resource. Provided by the client when the resource is
|
Name of the resource. Provided by the client when the resource is
|
||||||
|
@ -111,16 +112,18 @@ The following arguments are supported:
|
||||||
the first character must be a lowercase letter, and all following
|
the first character must be a lowercase letter, and all following
|
||||||
characters must be a dash, lowercase letter, or digit, except the last
|
characters must be a dash, lowercase letter, or digit, except the last
|
||||||
character, which cannot be a dash.
|
character, which cannot be a dash.
|
||||||
|
|
||||||
* `network` -
|
* `network` -
|
||||||
(Required)
|
(Required)
|
||||||
The network this VPN gateway is accepting traffic for.
|
The network this VPN gateway is accepting traffic for.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `description` -
|
* `description` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An optional description of this resource.
|
An optional description of this resource.
|
||||||
|
|
||||||
* `region` -
|
* `region` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The region this gateway should sit in.
|
The region this gateway should sit in.
|
||||||
|
@ -132,6 +135,7 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `creation_timestamp` -
|
* `creation_timestamp` -
|
||||||
Creation timestamp in RFC3339 text format.
|
Creation timestamp in RFC3339 text format.
|
||||||
* `self_link` - The URI of the created resource.
|
* `self_link` - The URI of the created resource.
|
||||||
|
|
|
@ -71,36 +71,43 @@ resource "google_redis_instance" "test" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
(Required)
|
(Required)
|
||||||
The ID of the instance or a fully qualified identifier for the instance.
|
The ID of the instance or a fully qualified identifier for the instance.
|
||||||
|
|
||||||
* `memory_size_gb` -
|
* `memory_size_gb` -
|
||||||
(Required)
|
(Required)
|
||||||
Redis memory size in GiB.
|
Redis memory size in GiB.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
* `alternative_location_id` -
|
* `alternative_location_id` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Only applicable to STANDARD_HA tier which protects the instance
|
Only applicable to STANDARD_HA tier which protects the instance
|
||||||
against zonal failures by provisioning it across two zones.
|
against zonal failures by provisioning it across two zones.
|
||||||
If provided, it must be a different zone from the one provided in
|
If provided, it must be a different zone from the one provided in
|
||||||
[locationId].
|
[locationId].
|
||||||
|
|
||||||
* `authorized_network` -
|
* `authorized_network` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The full name of the Google Compute Engine network to which the
|
The full name of the Google Compute Engine network to which the
|
||||||
instance is connected. If left unspecified, the default network
|
instance is connected. If left unspecified, the default network
|
||||||
will be used.
|
will be used.
|
||||||
|
|
||||||
* `display_name` -
|
* `display_name` -
|
||||||
(Optional)
|
(Optional)
|
||||||
An arbitrary and optional user-provided name for the instance.
|
An arbitrary and optional user-provided name for the instance.
|
||||||
|
|
||||||
* `labels` -
|
* `labels` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Resource labels to represent user provided metadata.
|
Resource labels to represent user provided metadata.
|
||||||
|
|
||||||
* `redis_configs` -
|
* `redis_configs` -
|
||||||
(Optional)
|
(Optional)
|
||||||
Redis configuration parameters, according to http://redis.io/topics/config.
|
Redis configuration parameters, according to http://redis.io/topics/config.
|
||||||
|
|
||||||
* `location_id` -
|
* `location_id` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The zone where the instance will be provisioned. If not provided,
|
The zone where the instance will be provisioned. If not provided,
|
||||||
|
@ -108,12 +115,14 @@ The following arguments are supported:
|
||||||
instances will be created across two zones for protection against
|
instances will be created across two zones for protection against
|
||||||
zonal failures. If [alternativeLocationId] is also provided, it must
|
zonal failures. If [alternativeLocationId] is also provided, it must
|
||||||
be different from [locationId].
|
be different from [locationId].
|
||||||
|
|
||||||
* `redis_version` -
|
* `redis_version` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The version of Redis software. If not provided, latest supported
|
The version of Redis software. If not provided, latest supported
|
||||||
version will be used. Updating the version will perform an
|
version will be used. Updating the version will perform an
|
||||||
upgrade/downgrade to the new version. Currently, the supported values
|
upgrade/downgrade to the new version. Currently, the supported values
|
||||||
are REDIS_3_2 for Redis 3.2.
|
are REDIS_3_2 for Redis 3.2.
|
||||||
|
|
||||||
* `reserved_ip_range` -
|
* `reserved_ip_range` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The CIDR range of internal addresses that are reserved for this
|
The CIDR range of internal addresses that are reserved for this
|
||||||
|
@ -121,12 +130,13 @@ The following arguments are supported:
|
||||||
block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be
|
block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be
|
||||||
unique and non-overlapping with existing subnets in an authorized
|
unique and non-overlapping with existing subnets in an authorized
|
||||||
network.
|
network.
|
||||||
|
|
||||||
* `tier` -
|
* `tier` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The service tier of the instance. Must be one of these values:
|
The service tier of the instance. Must be one of these values:
|
||||||
|
|
||||||
- BASIC: standalone instance
|
- BASIC: standalone instance
|
||||||
- STANDARD_HA: highly available primary/replica instances
|
- STANDARD_HA: highly available primary/replica instances
|
||||||
|
|
||||||
* `region` -
|
* `region` -
|
||||||
(Optional)
|
(Optional)
|
||||||
The name of the Redis region of the instance.
|
The name of the Redis region of the instance.
|
||||||
|
@ -138,18 +148,22 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `create_time` -
|
* `create_time` -
|
||||||
The time the instance was created in RFC3339 UTC "Zulu" format,
|
The time the instance was created in RFC3339 UTC "Zulu" format,
|
||||||
accurate to nanoseconds.
|
accurate to nanoseconds.
|
||||||
|
|
||||||
* `current_location_id` -
|
* `current_location_id` -
|
||||||
The current zone where the Redis endpoint is placed.
|
The current zone where the Redis endpoint is placed.
|
||||||
For Basic Tier instances, this will always be the same as the
|
For Basic Tier instances, this will always be the same as the
|
||||||
[locationId] provided by the user at creation time. For Standard Tier
|
[locationId] provided by the user at creation time. For Standard Tier
|
||||||
instances, this can be either [locationId] or [alternativeLocationId]
|
instances, this can be either [locationId] or [alternativeLocationId]
|
||||||
and can change after a failover event.
|
and can change after a failover event.
|
||||||
|
|
||||||
* `host` -
|
* `host` -
|
||||||
Hostname or IP address of the exposed Redis endpoint used by clients
|
Hostname or IP address of the exposed Redis endpoint used by clients
|
||||||
to connect to the service.
|
to connect to the service.
|
||||||
|
|
||||||
* `port` -
|
* `port` -
|
||||||
The port number of the exposed Redis endpoint.
|
The port number of the exposed Redis endpoint.
|
||||||
|
|
||||||
|
|
|
@ -48,21 +48,25 @@ resource "google_resourcemanager_lien" "lien" {
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
|
|
||||||
* `reason` -
|
* `reason` -
|
||||||
(Required)
|
(Required)
|
||||||
Concise user-visible strings indicating why an action cannot be performed
|
Concise user-visible strings indicating why an action cannot be performed
|
||||||
on a resource. Maximum length of 200 characters.
|
on a resource. Maximum length of 200 characters.
|
||||||
|
|
||||||
* `origin` -
|
* `origin` -
|
||||||
(Required)
|
(Required)
|
||||||
A stable, user-visible/meaningful string identifying the origin
|
A stable, user-visible/meaningful string identifying the origin
|
||||||
of the Lien, intended to be inspected programmatically. Maximum length of
|
of the Lien, intended to be inspected programmatically. Maximum length of
|
||||||
200 characters.
|
200 characters.
|
||||||
|
|
||||||
* `parent` -
|
* `parent` -
|
||||||
(Required)
|
(Required)
|
||||||
A reference to the resource this Lien is attached to.
|
A reference to the resource this Lien is attached to.
|
||||||
The server will validate the parent against those for which Liens are supported.
|
The server will validate the parent against those for which Liens are supported.
|
||||||
Since a variety of objects can have Liens against them, you must provide the type
|
Since a variety of objects can have Liens against them, you must provide the type
|
||||||
prefix (e.g. "projects/my-project-name").
|
prefix (e.g. "projects/my-project-name").
|
||||||
|
|
||||||
* `restrictions` -
|
* `restrictions` -
|
||||||
(Required)
|
(Required)
|
||||||
The types of operations which should be blocked as a result of this Lien.
|
The types of operations which should be blocked as a result of this Lien.
|
||||||
|
@ -71,7 +75,6 @@ The following arguments are supported:
|
||||||
list is meaningless and will be rejected.
|
list is meaningless and will be rejected.
|
||||||
e.g. ['resourcemanager.projects.delete']
|
e.g. ['resourcemanager.projects.delete']
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
|
|
||||||
|
@ -80,8 +83,10 @@ The following arguments are supported:
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are exported:
|
In addition to the arguments listed above, the following computed attributes are exported:
|
||||||
|
|
||||||
|
|
||||||
* `name` -
|
* `name` -
|
||||||
A system-generated unique identifier for this Lien.
|
A system-generated unique identifier for this Lien.
|
||||||
|
|
||||||
* `create_time` -
|
* `create_time` -
|
||||||
Time of creation
|
Time of creation
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user