mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
make it clear that the attribute represents the project id (#672)
This commit is contained in:
parent
9ae7a8ddb0
commit
7e64b3f1c1
@ -23,11 +23,11 @@ data "google_compute_network" "my-network" {
|
|||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
* `name` - (Required) The name of the network.
|
* `name` - (Required) The name of the network.
|
||||||
|
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
@ -35,7 +35,7 @@ The following arguments are supported:
|
|||||||
In addition to the arguments listed above, the following attributes are exported:
|
In addition to the arguments listed above, the following attributes are exported:
|
||||||
|
|
||||||
* `network` - The network name or resource link to the parent
|
* `network` - The network name or resource link to the parent
|
||||||
network of this network.
|
network of this network.
|
||||||
|
|
||||||
* `description` - Description of this network.
|
* `description` - Description of this network.
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `region` - (Optional) The region this subnetwork has been created in. If
|
* `region` - (Optional) The region this subnetwork has been created in. If
|
||||||
|
@ -34,7 +34,7 @@ resource "google_dns_record_set" "dns" {
|
|||||||
|
|
||||||
* `name` - (Required) A unique name for the resource.
|
* `name` - (Required) A unique name for the resource.
|
||||||
|
|
||||||
* `project` - (Optional) ID of the project for the Google Cloud DNS zone.
|
* `project` - (Optional) The ID of the project for the Google Cloud DNS zone.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
@ -40,7 +40,7 @@ The following arguments are exported:
|
|||||||
|
|
||||||
* `instances` - List of instances in the group.
|
* `instances` - List of instances in the group.
|
||||||
|
|
||||||
* `named_port` - List of named ports in the group.
|
* `named_port` - List of named ports in the group.
|
||||||
|
|
||||||
* `network` - The URL of the network the instance group is in.
|
* `network` - The URL of the network the instance group is in.
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ Use the navigation to the left to read about the available resources.
|
|||||||
// Configure the Google Cloud provider
|
// Configure the Google Cloud provider
|
||||||
provider "google" {
|
provider "google" {
|
||||||
credentials = "${file("account.json")}"
|
credentials = "${file("account.json")}"
|
||||||
project = "my-gce-project"
|
project = "my-gce-project-id"
|
||||||
region = "us-central1"
|
region = "us-central1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ The following arguments are supported:
|
|||||||
* `dataset_id` - (Required) A unique ID for the resource.
|
* `dataset_id` - (Required) A unique ID for the resource.
|
||||||
Changing this forces a new resource to be created.
|
Changing this forces a new resource to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `friendly_name` - (Optional) A descriptive name for the dataset.
|
* `friendly_name` - (Optional) A descriptive name for the dataset.
|
||||||
|
@ -54,7 +54,7 @@ The following arguments are supported:
|
|||||||
* `table_id` - (Required) A unique ID for the resource.
|
* `table_id` - (Required) A unique ID for the resource.
|
||||||
Changing this forces a new resource to be created.
|
Changing this forces a new resource to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `description` - (Optional) The field description.
|
* `description` - (Optional) The field description.
|
||||||
|
@ -41,7 +41,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `storage_type` - (Optional) The storage type to use. One of `"SSD"` or `"HDD"`. Defaults to `SSD`.
|
* `storage_type` - (Optional) The storage type to use. One of `"SSD"` or `"HDD"`. Defaults to `SSD`.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `display_name` - (Optional) The human-readable display name of the Bigtable instance. Defaults to the instance `name`.
|
* `display_name` - (Optional) The human-readable display name of the Bigtable instance. Defaults to the instance `name`.
|
||||||
|
@ -41,7 +41,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `split_keys` - (Optional) A list of predefined keys to split the table on.
|
* `split_keys` - (Optional) A list of predefined keys to split the table on.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
@ -33,7 +33,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `region` - (Optional) The Region in which the created address should reside.
|
* `region` - (Optional) The Region in which the created address should reside.
|
||||||
@ -85,4 +85,4 @@ Alternatively, addresses can be imported using a full or partial `self_link`.
|
|||||||
$ terraform import google_compute_address.default https://www.googleapis.com/compute/v1/projects/gcp-project/regions/us-central1/addresses/test-address
|
$ terraform import google_compute_address.default https://www.googleapis.com/compute/v1/projects/gcp-project/regions/us-central1/addresses/test-address
|
||||||
|
|
||||||
$ terraform import google_compute_address.default projects/gcp-project/regions/us-central1/addresses/test-address
|
$ terraform import google_compute_address.default projects/gcp-project/regions/us-central1/addresses/test-address
|
||||||
```
|
```
|
||||||
|
@ -94,7 +94,7 @@ The following arguments are supported:
|
|||||||
* `description` - (Optional) An optional textual description of the instance
|
* `description` - (Optional) An optional textual description of the instance
|
||||||
group manager.
|
group manager.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
The `autoscaling_policy` block contains:
|
The `autoscaling_policy` block contains:
|
||||||
|
@ -45,7 +45,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `enable_cdn` - (Optional) Whether or not to enable the Cloud CDN on the backend bucket.
|
* `enable_cdn` - (Optional) Whether or not to enable the Cloud CDN on the backend bucket.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it is not provided, the
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it is not provided, the
|
||||||
provider project is used.
|
provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
@ -86,7 +86,7 @@ The following arguments are supported:
|
|||||||
* `port_name` - (Optional) The name of a service that has been added to an
|
* `port_name` - (Optional) The name of a service that has been added to an
|
||||||
instance group in this backend. See [related docs](https://cloud.google.com/compute/docs/instance-groups/#specifying_service_endpoints) for details. Defaults to http.
|
instance group in this backend. See [related docs](https://cloud.google.com/compute/docs/instance-groups/#specifying_service_endpoints) for details. Defaults to http.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `protocol` - (Optional) The protocol for incoming requests. Defaults to
|
* `protocol` - (Optional) The protocol for incoming requests. Defaults to
|
||||||
|
@ -56,7 +56,7 @@ The following arguments are supported:
|
|||||||
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.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `size` - (Optional) The size of the image in gigabytes. If not specified, it
|
* `size` - (Optional) The size of the image in gigabytes. If not specified, it
|
||||||
|
@ -53,7 +53,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `description` - (Optional) Textual description field.
|
* `description` - (Optional) Textual description field.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `priority` - (Optional) The priority for this firewall. Ranges from 0-65535, inclusive. Defaults to 1000. Firewall
|
* `priority` - (Optional) The priority for this firewall. Ranges from 0-65535, inclusive. Defaults to 1000. Firewall
|
||||||
|
@ -64,7 +64,7 @@ The following arguments are supported:
|
|||||||
balancing. Packets addressed to these ports will be forwarded to the backends
|
balancing. Packets addressed to these ports will be forwarded to the backends
|
||||||
configured with this forwarding rule. Required for internal load balancing.
|
configured with this forwarding rule. Required for internal load balancing.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `region` - (Optional) The Region in which the created address should reside.
|
* `region` - (Optional) The Region in which the created address should reside.
|
||||||
|
@ -30,7 +30,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `ip_version` - (Optional) The IP Version that will be used by this address. One of `"IPV4"` or `"IPV6"`.
|
* `ip_version` - (Optional) The IP Version that will be used by this address. One of `"IPV4"` or `"IPV6"`.
|
||||||
|
@ -96,7 +96,7 @@ The following arguments are supported:
|
|||||||
* Target SSL proxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222
|
* Target SSL proxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222
|
||||||
* Target VPN gateway: 500, 4500
|
* Target VPN gateway: 500, 4500
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `ip_version` - (Optional)
|
* `ip_version` - (Optional)
|
||||||
@ -123,4 +123,4 @@ Global forwarding rules can be imported using the `name`, e.g.
|
|||||||
|
|
||||||
```
|
```
|
||||||
$ terraform import google_compute_global_forwarding_rule.default default-rule
|
$ terraform import google_compute_global_forwarding_rule.default default-rule
|
||||||
```
|
```
|
||||||
|
@ -49,7 +49,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `port` - (Optional) TCP port to connect to (default 80).
|
* `port` - (Optional) TCP port to connect to (default 80).
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `request_path` - (Optional) URL path to query (default /).
|
* `request_path` - (Optional) URL path to query (default /).
|
||||||
|
@ -48,7 +48,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `port` - (Optional) TCP port to connect to (default 443).
|
* `port` - (Optional) TCP port to connect to (default 443).
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `request_path` - (Optional) URL path to query (default /).
|
* `request_path` - (Optional) URL path to query (default /).
|
||||||
|
@ -60,7 +60,7 @@ The following arguments are supported: (Note that one of either source_disk or
|
|||||||
* `source_disk` - (Optional) The URL of a disk that will be used as the source of the
|
* `source_disk` - (Optional) The URL of a disk that will be used as the source of the
|
||||||
image. Changing this forces a new resource to be created.
|
image. Changing this forces a new resource to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `raw_disk` - (Optional) The raw disk that will be used as the source of the image.
|
* `raw_disk` - (Optional) The raw disk that will be used as the source of the image.
|
||||||
@ -80,7 +80,6 @@ The `raw_disk` block supports:
|
|||||||
* `container_type` - (Optional) The format used to encode and transmit the
|
* `container_type` - (Optional) The format used to encode and transmit the
|
||||||
block device. TAR is the only supported type and is the default.
|
block device. TAR is the only supported type and is the default.
|
||||||
|
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are
|
In addition to the arguments listed above, the following computed attributes are
|
||||||
|
@ -107,7 +107,7 @@ The following arguments are supported:
|
|||||||
`Intel Haswell` or `Intel Skylake`. See the complete list [here](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
|
`Intel Haswell` or `Intel Skylake`. See the complete list [here](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
|
||||||
**Note**: [`allow_stopping_for_update`](#allow_stopping_for_update) must be set to true in order to update this field.
|
**Note**: [`allow_stopping_for_update`](#allow_stopping_for_update) must be set to true in order to update this field.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `scheduling` - (Optional) The scheduling strategy to use. More details about
|
* `scheduling` - (Optional) The scheduling strategy to use. More details about
|
||||||
|
@ -74,7 +74,7 @@ The following arguments are supported:
|
|||||||
* `named_port` - (Optional) The named port configuration. See the section below
|
* `named_port` - (Optional) The named port configuration. See the section below
|
||||||
for details on configuration.
|
for details on configuration.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `network` - (Optional) The URL of the network the instance group is in. If
|
* `network` - (Optional) The URL of the network the instance group is in. If
|
||||||
@ -112,4 +112,4 @@ Instance group can be imported using the `zone` and `name`, e.g.
|
|||||||
|
|
||||||
```
|
```
|
||||||
$ terraform import google_compute_instance_group.webservers us-central1-a/terraform-webservers
|
$ terraform import google_compute_instance_group.webservers us-central1-a/terraform-webservers
|
||||||
```
|
```
|
||||||
|
@ -84,7 +84,7 @@ The following arguments are supported:
|
|||||||
* `named_port` - (Optional) The named port configuration. See the section below
|
* `named_port` - (Optional) The named port configuration. See the section below
|
||||||
for details on configuration.
|
for details on configuration.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `update_strategy` - (Optional, Default `"RESTART"`) If the `instance_template`
|
* `update_strategy` - (Optional, Default `"RESTART"`) If the `instance_template`
|
||||||
|
@ -151,7 +151,7 @@ The following arguments are supported:
|
|||||||
this template. This can be specified multiple times for multiple networks.
|
this template. This can be specified multiple times for multiple networks.
|
||||||
Structure is documented below.
|
Structure is documented below.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `region` - (Optional) An instance template is a global resource that is not
|
* `region` - (Optional) An instance template is a global resource that is not
|
||||||
@ -223,7 +223,7 @@ The `network_interface` block supports:
|
|||||||
to. The subnetwork must exist in the same `region` this instance will be
|
to. The subnetwork must exist in the same `region` this instance will be
|
||||||
created in. Either `network` or `subnetwork` must be provided.
|
created in. Either `network` or `subnetwork` must be provided.
|
||||||
|
|
||||||
* `subnetwork_project` - (Optional) The project in which the subnetwork belongs.
|
* `subnetwork_project` - (Optional) The ID of the project in which the subnetwork belongs.
|
||||||
If it is not provided, the provider project is used.
|
If it is not provided, the provider project is used.
|
||||||
|
|
||||||
* `address` - (Optional) The private IP address to assign to the instance. If
|
* `address` - (Optional) The private IP address to assign to the instance. If
|
||||||
|
@ -47,7 +47,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `description` - (Optional) A brief description of this resource.
|
* `description` - (Optional) A brief description of this resource.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
@ -13,8 +13,8 @@ Manages metadata common to all instances for a project in GCE. For more informat
|
|||||||
and
|
and
|
||||||
[API](https://cloud.google.com/compute/docs/reference/latest/projects/setCommonInstanceMetadata).
|
[API](https://cloud.google.com/compute/docs/reference/latest/projects/setCommonInstanceMetadata).
|
||||||
|
|
||||||
~> **Note:** If you want to manage only single key/value pairs within the project metadata
|
~> **Note:** If you want to manage only single key/value pairs within the project metadata
|
||||||
rather than the entire set, then use
|
rather than the entire set, then use
|
||||||
[google_compute_project_metadata_item](compute_project_metadata_item.html).
|
[google_compute_project_metadata_item](compute_project_metadata_item.html).
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
@ -38,7 +38,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
@ -32,7 +32,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
@ -94,7 +94,7 @@ The following arguments are supported:
|
|||||||
* `description` - (Optional) An optional textual description of the instance
|
* `description` - (Optional) An optional textual description of the instance
|
||||||
group manager.
|
group manager.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
The `autoscaling_policy` block contains:
|
The `autoscaling_policy` block contains:
|
||||||
|
@ -9,7 +9,7 @@ description: |-
|
|||||||
# google\_compute\_region\_backend\_service
|
# google\_compute\_region\_backend\_service
|
||||||
|
|
||||||
A Region Backend Service defines a regionally-scoped group of virtual machines that will serve traffic for load balancing.
|
A Region Backend Service defines a regionally-scoped group of virtual machines that will serve traffic for load balancing.
|
||||||
For more information see [the official documentation](https://cloud.google.com/compute/docs/load-balancing/internal/)
|
For more information see [the official documentation](https://cloud.google.com/compute/docs/load-balancing/internal/)
|
||||||
and [API](https://cloud.google.com/compute/docs/reference/latest/backendServices).
|
and [API](https://cloud.google.com/compute/docs/reference/latest/backendServices).
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
@ -80,7 +80,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `description` - (Optional) The textual description for the backend service.
|
* `description` - (Optional) The textual description for the backend service.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `protocol` - (Optional) The protocol for incoming requests. Defaults to
|
* `protocol` - (Optional) The protocol for incoming requests. Defaults to
|
||||||
|
@ -84,7 +84,7 @@ The following arguments are supported:
|
|||||||
* `named_port` - (Optional) The named port configuration. See the section below
|
* `named_port` - (Optional) The named port configuration. See the section below
|
||||||
for details on configuration.
|
for details on configuration.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `target_size` - (Optional) The target number of running instances for this managed
|
* `target_size` - (Optional) The target number of running instances for this managed
|
||||||
|
@ -68,7 +68,7 @@ The following arguments are supported:
|
|||||||
* `next_hop_vpn_tunnel` - (Optional) The name of the VPN to route to if this
|
* `next_hop_vpn_tunnel` - (Optional) The name of the VPN to route to if this
|
||||||
route is matched.
|
route is matched.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `tags` - (Optional) The tags that this route applies to.
|
* `tags` - (Optional) The tags that this route applies to.
|
||||||
|
@ -121,7 +121,7 @@ The following arguments are supported:
|
|||||||
* `description` - (Optional) A description of the resource.
|
* `description` - (Optional) A description of the resource.
|
||||||
Changing this forces a new router to be created.
|
Changing this forces a new router to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
Changing this forces a new router to be created.
|
Changing this forces a new router to be created.
|
||||||
|
|
||||||
|
@ -40,10 +40,10 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `ip_range` - (Optional) IP address and range of the interface. The IP range must be
|
* `ip_range` - (Optional) IP address and range of the interface. The IP range must be
|
||||||
in the RFC3927 link-local IP space. Changing this forces a new interface to be created.
|
in the RFC3927 link-local IP space. Changing this forces a new interface to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which this interface's router belongs. If it
|
* `project` - (Optional) The ID of the project in which this interface's router belongs. If it
|
||||||
is not provided, the provider project is used. Changing this forces a new interface to be created.
|
is not provided, the provider project is used. Changing this forces a new interface to be created.
|
||||||
|
|
||||||
* `region` - (Optional) The region this interface's router sits in. If not specified,
|
* `region` - (Optional) The region this interface's router sits in. If not specified,
|
||||||
|
@ -51,7 +51,7 @@ The following arguments are supported:
|
|||||||
* `advertised_route_priority` - (Optional) The priority of routes advertised to this BGP peer.
|
* `advertised_route_priority` - (Optional) The priority of routes advertised to this BGP peer.
|
||||||
Changing this forces a new peer to be created.
|
Changing this forces a new peer to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which this peer's router belongs. If it
|
* `project` - (Optional) The ID of the project in which this peer's router belongs. If it
|
||||||
is not provided, the provider project is used. Changing this forces a new peer to be created.
|
is not provided, the provider project is used. Changing this forces a new peer to be created.
|
||||||
|
|
||||||
* `region` - (Optional) The region this peer's router sits in. If not specified,
|
* `region` - (Optional) The region this peer's router sits in. If not specified,
|
||||||
|
@ -50,11 +50,11 @@ The following arguments are supported:
|
|||||||
encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
|
encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
|
||||||
to encrypt this snapshot.
|
to encrypt this snapshot.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `labels` - (Optional) A set of key/value label pairs to assign to the snapshot.
|
* `labels` - (Optional) A set of key/value label pairs to assign to the snapshot.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
|
||||||
In addition to the arguments listed above, the following computed attributes are
|
In addition to the arguments listed above, the following computed attributes are
|
||||||
|
@ -76,7 +76,7 @@ The following arguments are supported:
|
|||||||
* `description` - (Optional) An optional description of this resource.
|
* `description` - (Optional) An optional description of this resource.
|
||||||
Changing this forces a new resource to be created.
|
Changing this forces a new resource to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
@ -8,9 +8,9 @@ description: |-
|
|||||||
|
|
||||||
# google\_compute\_subnetwork
|
# google\_compute\_subnetwork
|
||||||
|
|
||||||
Manages a subnetwork within GCE. For more information see
|
Manages a subnetwork within GCE. For more information see
|
||||||
[the official documentation](https://cloud.google.com/compute/docs/vpc/#vpc_networks_and_subnets)
|
[the official documentation](https://cloud.google.com/compute/docs/vpc/#vpc_networks_and_subnets)
|
||||||
and
|
and
|
||||||
[API](https://cloud.google.com/compute/docs/reference/latest/subnetworks).
|
[API](https://cloud.google.com/compute/docs/reference/latest/subnetworks).
|
||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
@ -46,7 +46,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `description` - (Optional) Description of this subnetwork.
|
* `description` - (Optional) Description of this subnetwork.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `region` - (Optional) The region this subnetwork will be created in. If
|
* `region` - (Optional) The region this subnetwork will be created in. If
|
||||||
@ -64,7 +64,7 @@ The `secondary_ip_range` block supports:
|
|||||||
|
|
||||||
* `range_name` - (Required) The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.
|
* `range_name` - (Required) The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.
|
||||||
|
|
||||||
* `ip_cidr_range` - (Required) The range of IP addresses belonging to this subnetwork secondary range. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network.
|
* `ip_cidr_range` - (Required) The range of IP addresses belonging to this subnetwork secondary range. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ The following arguments are supported:
|
|||||||
* `url_map` - (Required) The URL of a URL Map resource that defines the mapping
|
* `url_map` - (Required) The URL of a URL Map resource that defines the mapping
|
||||||
from the URL to the BackendService.
|
from the URL to the BackendService.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
@ -88,7 +88,7 @@ The following arguments are supported:
|
|||||||
* `description` - (Optional) A description of this resource. Changing this
|
* `description` - (Optional) A description of this resource. Changing this
|
||||||
forces a new resource to be created.
|
forces a new resource to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
@ -65,7 +65,7 @@ The following arguments are supported:
|
|||||||
Terraform interpolators to create a dependency on the instances from the
|
Terraform interpolators to create a dependency on the instances from the
|
||||||
target pool.
|
target pool.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `region` - (Optional) Where the target pool resides. Defaults to project
|
* `region` - (Optional) Where the target pool resides. Defaults to project
|
||||||
|
@ -65,7 +65,7 @@ The following arguments are supported:
|
|||||||
* `description` - (Optional) A description of this resource. Changing this
|
* `description` - (Optional) A description of this resource. Changing this
|
||||||
forces a new resource to be created.
|
forces a new resource to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
@ -83,4 +83,4 @@ SSL proxy can be imported using the `name`, e.g.
|
|||||||
|
|
||||||
```
|
```
|
||||||
$ terraform import google_compute_target_ssl_proxy.default test
|
$ terraform import google_compute_target_ssl_proxy.default test
|
||||||
```
|
```
|
||||||
|
@ -59,7 +59,7 @@ The following arguments are supported:
|
|||||||
* `description` - (Optional) A description of this resource. Changing this
|
* `description` - (Optional) A description of this resource. Changing this
|
||||||
forces a new resource to be created.
|
forces a new resource to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
@ -77,4 +77,4 @@ TCP proxy can be imported using the `name`, e.g.
|
|||||||
|
|
||||||
```
|
```
|
||||||
$ terraform import google_compute_target_tcp_proxy.default test
|
$ terraform import google_compute_target_tcp_proxy.default test
|
||||||
```
|
```
|
||||||
|
@ -109,7 +109,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `path_matcher` - (Optional) A list of paths to match. Structure is documented below.
|
* `path_matcher` - (Optional) A list of paths to match. Structure is documented below.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `test` - (Optional) The test to perform. Multiple blocks of this type are permitted. Structure is documented below.
|
* `test` - (Optional) The test to perform. Multiple blocks of this type are permitted. Structure is documented below.
|
||||||
|
@ -97,7 +97,7 @@ The following arguments are supported:
|
|||||||
* `description` - (Optional) A description of the resource.
|
* `description` - (Optional) A description of the resource.
|
||||||
Changing this forces a new resource to be created.
|
Changing this forces a new resource to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `region` - (Optional) The region this gateway should sit in. If not specified,
|
* `region` - (Optional) The region this gateway should sit in. If not specified,
|
||||||
|
@ -127,7 +127,7 @@ The following arguments are supported:
|
|||||||
to be used for dynamic routing. Refer to Google documentation for more
|
to be used for dynamic routing. Refer to Google documentation for more
|
||||||
information.
|
information.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `region` - (Optional) The region this tunnel should sit in. If not specified,
|
* `region` - (Optional) The region this tunnel should sit in. If not specified,
|
||||||
|
@ -148,7 +148,7 @@ output "cluster_ca_certificate" {
|
|||||||
or set to the same value as `min_master_version` on create. Defaults to the default
|
or set to the same value as `min_master_version` on create. Defaults to the default
|
||||||
version set by GKE which is not necessarily the latest version.
|
version set by GKE which is not necessarily the latest version.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `subnetwork` - (Optional) The name of the Google Compute Engine subnetwork in
|
* `subnetwork` - (Optional) The name of the Google Compute Engine subnetwork in
|
||||||
|
@ -117,7 +117,7 @@ resource "google_container_cluster" "primary" {
|
|||||||
|
|
||||||
* `node_count` - (Optional) The number of nodes per instance group.
|
* `node_count` - (Optional) The number of nodes per instance group.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which to create the node pool. If blank,
|
* `project` - (Optional) The ID of the project in which to create the node pool. If blank,
|
||||||
the provider-configured project will be used.
|
the provider-configured project will be used.
|
||||||
|
|
||||||
The `autoscaling` block supports:
|
The `autoscaling` block supports:
|
||||||
|
@ -86,7 +86,7 @@ resource "google_dataproc_cluster" "mycluster" {
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the `cluster` will exist. If it
|
* `project` - (Optional) The ID of the project in which the `cluster` will exist. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `region` - (Optional) The region in which the cluster and associated nodes will be created in.
|
* `region` - (Optional) The region in which the cluster and associated nodes will be created in.
|
||||||
|
@ -34,7 +34,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `description` - (Optional) A textual description field. Defaults to 'Managed by Terraform'.
|
* `description` - (Optional) A textual description field. Defaults to 'Managed by Terraform'.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
@ -93,7 +93,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
@ -32,7 +32,7 @@ The following arguments are supported:
|
|||||||
* `display_name` - (Optional) The display name for the service account.
|
* `display_name` - (Optional) The display name for the service account.
|
||||||
Can be updated without creating a new resource.
|
Can be updated without creating a new resource.
|
||||||
|
|
||||||
* `project` - (Optional) The project that the service account will be created in.
|
* `project` - (Optional) The ID of the project that the service account will be created in.
|
||||||
Defaults to the provider project configuration.
|
Defaults to the provider project configuration.
|
||||||
|
|
||||||
* `policy_data` - (DEPRECATED, Optional) The `google_iam_policy` data source that represents
|
* `policy_data` - (DEPRECATED, Optional) The `google_iam_policy` data source that represents
|
||||||
|
@ -103,7 +103,7 @@ The following arguments are supported:
|
|||||||
See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to
|
||||||
write a filter.
|
write a filter.
|
||||||
|
|
||||||
* `project` - (Optional) The project to create the sink in. If omitted, the project associated with the provider is
|
* `project` - (Optional) The ID of the project to create the sink in. If omitted, the project associated with the provider is
|
||||||
used.
|
used.
|
||||||
|
|
||||||
* `unique_writer_identity` - (Optional) Whether or not to create a unique identity associated with this sink. If `false`
|
* `unique_writer_identity` - (Optional) Whether or not to create a unique identity associated with this sink. If `false`
|
||||||
|
@ -66,7 +66,7 @@ The following arguments are supported:
|
|||||||
subscriber has to acknowledge a received message, otherwise the message is
|
subscriber has to acknowledge a received message, otherwise the message is
|
||||||
redelivered. Changing this forces a new resource to be created.
|
redelivered. Changing this forces a new resource to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `push_config` - (Optional) Block configuration for push options. More
|
* `push_config` - (Optional) Block configuration for push options. More
|
||||||
|
@ -30,7 +30,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
@ -32,7 +32,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `description` - (Optional) The description to associate with the runtime
|
* `description` - (Optional) The description to associate with the runtime
|
||||||
|
@ -65,7 +65,7 @@ is specified, it must be base64 encoded and less than 4096 bytes in length.
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
@ -75,4 +75,4 @@ exported:
|
|||||||
|
|
||||||
* `update_time` - (Computed) The timestamp in RFC3339 UTC "Zulu" format,
|
* `update_time` - (Computed) The timestamp in RFC3339 UTC "Zulu" format,
|
||||||
accurate to nanoseconds, representing when the variable was last updated.
|
accurate to nanoseconds, representing when the variable was last updated.
|
||||||
Example: "2016-10-09T12:33:37.578138407Z".
|
Example: "2016-10-09T12:33:37.578138407Z".
|
||||||
|
@ -30,7 +30,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
@ -40,7 +40,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which to look for the `instance` specified. If it
|
* `project` - (Optional) The ID of the project in which to look for the `instance` specified. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `ddl` - (Optional) An optional list of DDL statements to run inside the newly created
|
* `ddl` - (Optional) An optional list of DDL statements to run inside the newly created
|
||||||
|
@ -46,7 +46,7 @@ The following arguments are supported:
|
|||||||
* `num_nodes` - (Optional, Computed) The number of nodes allocated to this instance.
|
* `num_nodes` - (Optional, Computed) The number of nodes allocated to this instance.
|
||||||
Defaults to `1`. This can be updated after creation.
|
Defaults to `1`. This can be updated after creation.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `labels` - (Optional) A mapping (key/value pairs) of labels to assign to the instance.
|
* `labels` - (Optional) A mapping (key/value pairs) of labels to assign to the instance.
|
||||||
|
@ -44,7 +44,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
- - -
|
- - -
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `charset` - (Optional) The charset value. See MySQL's
|
* `charset` - (Optional) The charset value. See MySQL's
|
||||||
|
@ -56,8 +56,8 @@ resource "google_sql_database_instance" "master" {
|
|||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
|
||||||
* `region` - (Required) The region the instance will sit in. Note, first-generation Cloud SQL instance
|
* `region` - (Required) The region the instance will sit in. Note, first-generation Cloud SQL instance
|
||||||
regions do not line up with the Google Compute Engine (GCE) regions, and Cloud SQL is not
|
regions do not line up with the Google Compute Engine (GCE) regions, and Cloud SQL is not
|
||||||
available in all regions - choose from one of the options listed [here](https://cloud.google.com/sql/docs/mysql/instance-locations).
|
available in all regions - choose from one of the options listed [here](https://cloud.google.com/sql/docs/mysql/instance-locations).
|
||||||
|
|
||||||
* `settings` - (Required) The settings to use for the database. The
|
* `settings` - (Required) The settings to use for the database. The
|
||||||
@ -82,7 +82,7 @@ The following arguments are supported:
|
|||||||
the master in the replication setup. Note, this requires the master to have
|
the master in the replication setup. Note, this requires the master to have
|
||||||
`binary_log_enabled` set, as well as existing backups.
|
`binary_log_enabled` set, as well as existing backups.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `replica_configuration` - (Optional) The configuration for replication. The
|
* `replica_configuration` - (Optional) The configuration for replication. The
|
||||||
|
@ -53,7 +53,7 @@ The following arguments are supported:
|
|||||||
for first generation SQL instances. Don't set this field for second generation
|
for first generation SQL instances. Don't set this field for second generation
|
||||||
SQL instances. Can be an IP address. Changing this forces a new resource to be created.
|
SQL instances. Can be an IP address. Changing this forces a new resource to be created.
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
## Attributes Reference
|
## Attributes Reference
|
||||||
|
@ -8,12 +8,12 @@ description: |-
|
|||||||
|
|
||||||
# google\_storage\_bucket
|
# google\_storage\_bucket
|
||||||
|
|
||||||
Creates a new bucket in Google cloud storage service (GCS).
|
Creates a new bucket in Google cloud storage service (GCS).
|
||||||
Once a bucket has been created, its location can't be changed.
|
Once a bucket has been created, its location can't be changed.
|
||||||
[ACLs](https://cloud.google.com/storage/docs/access-control/lists) can be applied using the `google_storage_bucket_acl` resource.
|
[ACLs](https://cloud.google.com/storage/docs/access-control/lists) can be applied using the `google_storage_bucket_acl` resource.
|
||||||
For more information see
|
For more information see
|
||||||
[the official documentation](https://cloud.google.com/storage/docs/overview)
|
[the official documentation](https://cloud.google.com/storage/docs/overview)
|
||||||
and
|
and
|
||||||
[API](https://cloud.google.com/storage/docs/json_api/v1/buckets).
|
[API](https://cloud.google.com/storage/docs/json_api/v1/buckets).
|
||||||
|
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `location` - (Optional, Default: 'US') The [GCS location](https://cloud.google.com/storage/docs/bucket-locations)
|
* `location` - (Optional, Default: 'US') The [GCS location](https://cloud.google.com/storage/docs/bucket-locations)
|
||||||
|
|
||||||
* `project` - (Optional) The project in which the resource belongs. If it
|
* `project` - (Optional) The ID of the project in which the resource belongs. If it
|
||||||
is not provided, the provider project is used.
|
is not provided, the provider project is used.
|
||||||
|
|
||||||
* `storage_class` - (Optional) The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`.
|
* `storage_class` - (Optional) The [Storage Class](https://cloud.google.com/storage/docs/storage-classes) of the new bucket. Supported values include: `MULTI_REGIONAL`, `REGIONAL`, `NEARLINE`, `COLDLINE`.
|
||||||
@ -99,15 +99,15 @@ The `website` block supports:
|
|||||||
|
|
||||||
* `not_found_page` - (Optional) The custom object to return when a requested
|
* `not_found_page` - (Optional) The custom object to return when a requested
|
||||||
resource is not found.
|
resource is not found.
|
||||||
|
|
||||||
The `cors` block supports:
|
The `cors` block supports:
|
||||||
|
|
||||||
* `origin` - (Optional) The list of [Origins](https://tools.ietf.org/html/rfc6454) eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
|
* `origin` - (Optional) The list of [Origins](https://tools.ietf.org/html/rfc6454) eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
|
||||||
|
|
||||||
* `method` - (Optional) The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
|
* `method` - (Optional) The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
|
||||||
|
|
||||||
* `response_header` - (Optional) The list of HTTP headers other than the [simple response headers](https://www.w3.org/TR/cors/#simple-response-header) to give permission for the user-agent to share across domains.
|
* `response_header` - (Optional) The list of HTTP headers other than the [simple response headers](https://www.w3.org/TR/cors/#simple-response-header) to give permission for the user-agent to share across domains.
|
||||||
|
|
||||||
* `max_age_seconds` - (Optional) The value, in seconds, to return in the [Access-Control-Max-Age header](https://www.w3.org/TR/cors/#access-control-max-age-response-header) used in preflight responses.
|
* `max_age_seconds` - (Optional) The value, in seconds, to return in the [Access-Control-Max-Age header](https://www.w3.org/TR/cors/#access-control-max-age-response-header) used in preflight responses.
|
||||||
|
|
||||||
The `logging` block supports:
|
The `logging` block supports:
|
||||||
|
Loading…
Reference in New Issue
Block a user