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

This commit is contained in:
Alexandru Topliceanu 2018-03-12 20:59:47 +00:00 committed by Nathan McKinley
parent 9ae7a8ddb0
commit 7e64b3f1c1
64 changed files with 92 additions and 93 deletions

View File

@ -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.
## Attributes Reference

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"
}

View File

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

View File

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

View File

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

View File

@ -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

View File

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

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

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

View File

@ -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"`.

View File

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

View File

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

View File

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

View File

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

View File

@ -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

View File

@ -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

View File

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

View File

@ -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
@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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

View File

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

View File

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

View File

@ -43,7 +43,7 @@ The following arguments are supported:
* `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,

View File

@ -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,

View File

@ -50,7 +50,7 @@ The following arguments are supported:
encoded in [RFC 4648 base64](https://tools.ietf.org/html/rfc4648#section-4)
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.
* `labels` - (Optional) A set of key/value label pairs to assign to the snapshot.

View File

@ -76,7 +76,7 @@ The following arguments are supported:
* `description` - (Optional) An optional description of this 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.
## Attributes Reference

View File

@ -46,7 +46,7 @@ The following arguments are supported:
* `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.
* `region` - (Optional) The region this subnetwork will be created in. If

View File

@ -72,7 +72,7 @@ The following arguments are supported:
* `url_map` - (Required) The URL of a URL Map resource that defines the mapping
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.
- - -

View File

@ -88,7 +88,7 @@ The following arguments are supported:
* `description` - (Optional) A description of this 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.
## Attributes Reference

View File

@ -65,7 +65,7 @@ The following arguments are supported:
Terraform interpolators to create a dependency on the instances from the
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.
* `region` - (Optional) Where the target pool resides. Defaults to project

View File

@ -65,7 +65,7 @@ The following arguments are supported:
* `description` - (Optional) A description of this 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.
## Attributes Reference

View File

@ -59,7 +59,7 @@ The following arguments are supported:
* `description` - (Optional) A description of this 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.
## Attributes Reference

View File

@ -109,7 +109,7 @@ The following arguments are supported:
* `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.
* `test` - (Optional) The test to perform. Multiple blocks of this type are permitted. Structure is documented below.

View File

@ -97,7 +97,7 @@ The following arguments are supported:
* `description` - (Optional) A description of 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.
* `region` - (Optional) The region this gateway should sit in. If not specified,

View File

@ -127,7 +127,7 @@ The following arguments are supported:
to be used for dynamic routing. Refer to Google documentation for more
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.
* `region` - (Optional) The region this tunnel should sit in. If not specified,

View File

@ -148,7 +148,7 @@ output "cluster_ca_certificate" {
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.
* `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.
* `subnetwork` - (Optional) The name of the Google Compute Engine subnetwork in

View File

@ -117,7 +117,7 @@ resource "google_container_cluster" "primary" {
* `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 `autoscaling` block supports:

View File

@ -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.
* `region` - (Optional) The region in which the cluster and associated nodes will be created in.

View File

@ -34,7 +34,7 @@ The following arguments are supported:
* `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.
## Attributes Reference

View File

@ -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.
## Attributes Reference

View File

@ -32,7 +32,7 @@ The following arguments are supported:
* `display_name` - (Optional) The display name for the service account.
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.
* `policy_data` - (DEPRECATED, Optional) The `google_iam_policy` data source that represents

View File

@ -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
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.
* `unique_writer_identity` - (Optional) Whether or not to create a unique identity associated with this sink. If `false`

View File

@ -66,7 +66,7 @@ The following arguments are supported:
subscriber has to acknowledge a received message, otherwise the message is
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.
* `push_config` - (Optional) Block configuration for push options. More

View File

@ -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.
## Attributes Reference

View File

@ -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.
* `description` - (Optional) The description to associate with the runtime

View File

@ -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.
## Attributes Reference

View File

@ -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.
## Attributes Reference

View File

@ -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.
* `ddl` - (Optional) An optional list of DDL statements to run inside the newly created

View File

@ -46,7 +46,7 @@ The following arguments are supported:
* `num_nodes` - (Optional, Computed) The number of nodes allocated to this instance.
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.
* `labels` - (Optional) A mapping (key/value pairs) of labels to assign to the instance.

View File

@ -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.
* `charset` - (Optional) The charset value. See MySQL's

View File

@ -82,7 +82,7 @@ The following arguments are supported:
the master in the replication setup. Note, this requires the master to have
`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.
* `replica_configuration` - (Optional) The configuration for replication. The

View File

@ -53,7 +53,7 @@ The following arguments are supported:
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.
* `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

View File

@ -47,7 +47,7 @@ The following arguments are supported:
* `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.
* `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`.