Skip to content

make it clear that the attribute represents the project id #672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions website/docs/d/datasource_compute_network.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ data "google_compute_network" "my-network" {
The following arguments are supported:

* `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.

## Attributes Reference

In addition to the arguments listed above, the following attributes are exported:

* `network` - The network name or resource link to the parent
network of this network.
network of this network.

* `description` - Description of this network.

Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/datasource_compute_subnetwork.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.

* `region` - (Optional) The region this subnetwork has been created in. If
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/dns_managed_zone.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resource "google_dns_record_set" "dns" {

* `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

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/google_compute_instance_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.

## Attributes Reference
Expand All @@ -40,7 +40,7 @@ The following arguments are exported:

* `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.

Expand Down
2 changes: 1 addition & 1 deletion website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Use the navigation to the left to read about the available resources.
// Configure the Google Cloud provider
provider "google" {
credentials = "${file("account.json")}"
project = "my-gce-project"
project = "my-gce-project-id"
region = "us-central1"
}

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/bigquery_dataset.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The following arguments are supported:
* `dataset_id` - (Required) A unique ID for the resource.
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.

* `friendly_name` - (Optional) A descriptive name for the dataset.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/bigquery_table.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ The following arguments are supported:
* `table_id` - (Required) A unique ID for the resource.
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.

* `description` - (Optional) The field description.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/bigtable_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

* `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.

* `display_name` - (Optional) The human-readable display name of the Bigtable instance. Defaults to the instance `name`.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/bigtable_table.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The following arguments are supported:

* `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.

## Attributes Reference
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/compute_address.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.

* `region` - (Optional) The Region in which the created address should reside.
Expand Down Expand Up @@ -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 projects/gcp-project/regions/us-central1/addresses/test-address
```
```
2 changes: 1 addition & 1 deletion website/docs/r/compute_autoscaler.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The following arguments are supported:
* `description` - (Optional) An optional textual description of the instance
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.

The `autoscaling_policy` block contains:
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_backend_bucket.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The following arguments are supported:

* `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.

## Attributes Reference
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_backend_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ The following arguments are supported:
* `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.

* `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.

* `protocol` - (Optional) The protocol for incoming requests. Defaults to
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_disk.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The following arguments are supported:
For instance, the image `centos-6-v20180104` includes its family name `centos-6`.
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.

* `size` - (Optional) The size of the image in gigabytes. If not specified, it
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_firewall.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The following arguments are supported:

* `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.

* `priority` - (Optional) The priority for this firewall. Ranges from 0-65535, inclusive. Defaults to 1000. Firewall
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_forwarding_rule.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The following arguments are supported:
balancing. Packets addressed to these ports will be forwarded to the backends
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.

* `region` - (Optional) The Region in which the created address should reside.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_global_address.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.

* `ip_version` - (Optional) The IP Version that will be used by this address. One of `"IPV4"` or `"IPV6"`.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/compute_global_forwarding_rule.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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 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.

* `ip_version` - (Optional)
Expand All @@ -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
```
```
2 changes: 1 addition & 1 deletion website/docs/r/compute_http_health_check.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The following arguments are supported:

* `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.

* `request_path` - (Optional) URL path to query (default /).
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_https_health_check.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The following arguments are supported:

* `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.

* `request_path` - (Optional) URL path to query (default /).
Expand Down
3 changes: 1 addition & 2 deletions website/docs/r/compute_image.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
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.

* `raw_disk` - (Optional) The raw disk that will be used as the source of the image.
Expand All @@ -80,7 +80,6 @@ The `raw_disk` block supports:
* `container_type` - (Optional) The format used to encode and transmit the
block device. TAR is the only supported type and is the default.


## Attributes Reference

In addition to the arguments listed above, the following computed attributes are
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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).
**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.

* `scheduling` - (Optional) The scheduling strategy to use. More details about
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/compute_instance_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ The following arguments are supported:
* `named_port` - (Optional) The named port configuration. See the section below
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.

* `network` - (Optional) The URL of the network the instance group is in. If
Expand Down Expand Up @@ -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
```
```
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ The following arguments are supported:
* `named_port` - (Optional) The named port configuration. See the section below
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.

* `update_strategy` - (Optional, Default `"RESTART"`) If the `instance_template`
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/compute_instance_template.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ The following arguments are supported:
this template. This can be specified multiple times for multiple networks.
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.

* `region` - (Optional) An instance template is a global resource that is not
Expand Down Expand Up @@ -223,7 +223,7 @@ The `network_interface` block supports:
to. The subnetwork must exist in the same `region` this instance will be
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.

* `address` - (Optional) The private IP address to assign to the instance. If
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_network.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ The following arguments are supported:

* `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.

## Attributes Reference
Expand Down
6 changes: 3 additions & 3 deletions website/docs/r/compute_project_metadata.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Manages metadata common to all instances for a project in GCE. For more informat
and
[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
rather than the entire set, then use
~> **Note:** If you want to manage only single key/value pairs within the project metadata
rather than the entire set, then use
[google_compute_project_metadata_item](compute_project_metadata_item.html).

## Example Usage
Expand All @@ -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.

## Attributes Reference
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_project_metadata_item.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.

## Attributes Reference
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_region_autoscaler.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The following arguments are supported:
* `description` - (Optional) An optional textual description of the instance
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.

The `autoscaling_policy` block contains:
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/compute_region_backend_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: |-
# google\_compute\_region\_backend\_service

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).

## Example Usage
Expand Down Expand Up @@ -80,7 +80,7 @@ The following arguments are supported:

* `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.

* `protocol` - (Optional) The protocol for incoming requests. Defaults to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ The following arguments are supported:
* `named_port` - (Optional) The named port configuration. See the section below
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.

* `target_size` - (Optional) The target number of running instances for this managed
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_route.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The following arguments are supported:
* `next_hop_vpn_tunnel` - (Optional) The name of the VPN to route to if this
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.

* `tags` - (Optional) The tags that this route applies to.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_router.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ The following arguments are supported:
* `description` - (Optional) A description of the resource.
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.
Changing this forces a new router to be created.

Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/compute_router_interface.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.

* `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.

* `region` - (Optional) The region this interface's router sits in. If not specified,
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_router_peer.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The following arguments are supported:
* `advertised_route_priority` - (Optional) The priority of routes advertised to this BGP peer.
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.

* `region` - (Optional) The region this peer's router sits in. If not specified,
Expand Down
Loading