mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-06 17:16:44 +00:00
Merge remote-tracking branch 'upstream' into feature/additional_zones
This commit is contained in:
commit
40e22d98e5
@ -33,6 +33,10 @@ This data source is used to define IAM policies to apply to other resources.
|
|||||||
Currently, defining a policy through a datasource and referencing that policy
|
Currently, defining a policy through a datasource and referencing that policy
|
||||||
from another resource is the only way to apply an IAM policy to a resource.
|
from another resource is the only way to apply an IAM policy to a resource.
|
||||||
|
|
||||||
|
**Note:** Several restrictions apply when setting IAM policies through this API.
|
||||||
|
See the [setIamPolicy docs](https://cloud.google.com/resource-manager/reference/rest/v1/projects/setIamPolicy)
|
||||||
|
for a list of these restrictions.
|
||||||
|
|
||||||
## Argument Reference
|
## Argument Reference
|
||||||
|
|
||||||
The following arguments are supported:
|
The following arguments are supported:
|
||||||
|
@ -138,7 +138,7 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `metadata_startup_script` - (Optional) An alternative to using the
|
* `metadata_startup_script` - (Optional) An alternative to using the
|
||||||
startup-script metadata key, mostly to match the compute_instance resource.
|
startup-script metadata key, mostly to match the compute_instance resource.
|
||||||
This replaces the startup-script metadata key on the created instance and
|
This replaces the startup-script metadata key on the created instance and
|
||||||
thus the two mechanisms are not allowed to be used simultaneously.
|
thus the two mechanisms are not allowed to be used simultaneously.
|
||||||
|
|
||||||
* `network_interface` - (Required) Networks to attach to instances created from
|
* `network_interface` - (Required) Networks to attach to instances created from
|
||||||
@ -208,6 +208,9 @@ 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.
|
||||||
|
If it is not provided, the provider project is used.
|
||||||
|
|
||||||
* `access_config` - (Optional) Access configurations, i.e. IPs via which this
|
* `access_config` - (Optional) Access configurations, i.e. IPs via which this
|
||||||
instance can be accessed via the Internet. Omit to ensure that the instance
|
instance can be accessed via the Internet. Omit to ensure that the instance
|
||||||
is not accessible from the Internet (this means that ssh provisioners will
|
is not accessible from the Internet (this means that ssh provisioners will
|
||||||
|
Loading…
Reference in New Issue
Block a user