Merge pull request #2142 from modular-magician/codegen-pr-518

Add deprecation message for generated beta fields.
This commit is contained in:
Paddy 2018-10-03 20:03:20 -07:00 committed by GitHub
commit fab13638ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
40 changed files with 163 additions and 39 deletions

View File

@ -33,6 +33,9 @@ func resourceBinaryAuthorizationAttestor() *schema.Resource {
Importer: &schema.ResourceImporter{ Importer: &schema.ResourceImporter{
State: resourceBinaryAuthorizationAttestorImport, State: resourceBinaryAuthorizationAttestorImport,
}, },
DeprecationMessage: `This resource is in beta and will be removed from this provider.
Use the BinaryAuthorizationAttestor resource in the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta resources.`,
Schema: map[string]*schema.Schema{ Schema: map[string]*schema.Schema{
"attestation_authority_note": { "attestation_authority_note": {

View File

@ -51,6 +51,9 @@ func resourceBinaryAuthorizationPolicy() *schema.Resource {
Importer: &schema.ResourceImporter{ Importer: &schema.ResourceImporter{
State: resourceBinaryAuthorizationPolicyImport, State: resourceBinaryAuthorizationPolicyImport,
}, },
DeprecationMessage: `This resource is in beta and will be removed from this provider.
Use the BinaryAuthorizationPolicy resource in the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta resources.`,
Schema: map[string]*schema.Schema{ Schema: map[string]*schema.Schema{
"default_admission_rule": { "default_admission_rule": {

View File

@ -70,13 +70,19 @@ func resourceComputeAddress() *schema.Resource {
"labels": { "labels": {
Type: schema.TypeMap, Type: schema.TypeMap,
Optional: true, Optional: true,
Elem: &schema.Schema{Type: schema.TypeString}, Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
Elem: &schema.Schema{Type: schema.TypeString},
}, },
"network_tier": { "network_tier": {
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
Optional: true, Optional: true,
ForceNew: true, ForceNew: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
ValidateFunc: validation.StringInSlice([]string{"PREMIUM", "STANDARD", ""}, false), ValidateFunc: validation.StringInSlice([]string{"PREMIUM", "STANDARD", ""}, false),
}, },
"region": { "region": {
@ -100,6 +106,9 @@ func resourceComputeAddress() *schema.Resource {
"label_fingerprint": { "label_fingerprint": {
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
}, },
"users": { "users": {
Type: schema.TypeList, Type: schema.TypeList,

View File

@ -144,10 +144,16 @@ func resourceComputeFirewall() *schema.Resource {
"disabled": { "disabled": {
Type: schema.TypeBool, Type: schema.TypeBool,
Optional: true, Optional: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
}, },
"enable_logging": { "enable_logging": {
Type: schema.TypeBool, Type: schema.TypeBool,
Optional: true, Optional: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
}, },
"priority": { "priority": {
Type: schema.TypeInt, Type: schema.TypeInt,

View File

@ -83,7 +83,10 @@ func resourceComputeForwardingRule() *schema.Resource {
"labels": { "labels": {
Type: schema.TypeMap, Type: schema.TypeMap,
Optional: true, Optional: true,
Elem: &schema.Schema{Type: schema.TypeString}, Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
Elem: &schema.Schema{Type: schema.TypeString},
}, },
"load_balancing_scheme": { "load_balancing_scheme": {
Type: schema.TypeString, Type: schema.TypeString,
@ -100,10 +103,13 @@ func resourceComputeForwardingRule() *schema.Resource {
DiffSuppressFunc: compareSelfLinkOrResourceName, DiffSuppressFunc: compareSelfLinkOrResourceName,
}, },
"network_tier": { "network_tier": {
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
Optional: true, Optional: true,
ForceNew: true, ForceNew: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
ValidateFunc: validation.StringInSlice([]string{"PREMIUM", "STANDARD", ""}, false), ValidateFunc: validation.StringInSlice([]string{"PREMIUM", "STANDARD", ""}, false),
}, },
"port_range": { "port_range": {
@ -130,9 +136,12 @@ func resourceComputeForwardingRule() *schema.Resource {
DiffSuppressFunc: compareSelfLinkOrResourceName, DiffSuppressFunc: compareSelfLinkOrResourceName,
}, },
"service_label": { "service_label": {
Type: schema.TypeString, Type: schema.TypeString,
Optional: true, Optional: true,
ForceNew: true, ForceNew: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
ValidateFunc: validateGCPName, ValidateFunc: validateGCPName,
}, },
"subnetwork": { "subnetwork": {
@ -158,6 +167,9 @@ func resourceComputeForwardingRule() *schema.Resource {
"service_name": { "service_name": {
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
}, },
"project": { "project": {
Type: schema.TypeString, Type: schema.TypeString,

View File

@ -50,9 +50,12 @@ func resourceComputeGlobalAddress() *schema.Resource {
ForceNew: true, ForceNew: true,
}, },
"address_type": { "address_type": {
Type: schema.TypeString, Type: schema.TypeString,
Optional: true, Optional: true,
ForceNew: true, ForceNew: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
ValidateFunc: validation.StringInSlice([]string{"EXTERNAL", "INTERNAL", ""}, false), ValidateFunc: validation.StringInSlice([]string{"EXTERNAL", "INTERNAL", ""}, false),
DiffSuppressFunc: emptyOrDefaultStringSuppress("EXTERNAL"), DiffSuppressFunc: emptyOrDefaultStringSuppress("EXTERNAL"),
Default: "EXTERNAL", Default: "EXTERNAL",
@ -72,23 +75,35 @@ func resourceComputeGlobalAddress() *schema.Resource {
"labels": { "labels": {
Type: schema.TypeMap, Type: schema.TypeMap,
Optional: true, Optional: true,
Elem: &schema.Schema{Type: schema.TypeString}, Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
Elem: &schema.Schema{Type: schema.TypeString},
}, },
"network": { "network": {
Type: schema.TypeString, Type: schema.TypeString,
Optional: true, Optional: true,
ForceNew: true, ForceNew: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
DiffSuppressFunc: compareSelfLinkOrResourceName, DiffSuppressFunc: compareSelfLinkOrResourceName,
}, },
"prefix_length": { "prefix_length": {
Type: schema.TypeInt, Type: schema.TypeInt,
Optional: true, Optional: true,
ForceNew: true, ForceNew: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
}, },
"purpose": { "purpose": {
Type: schema.TypeString, Type: schema.TypeString,
Optional: true, Optional: true,
ForceNew: true, ForceNew: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
ValidateFunc: validation.StringInSlice([]string{"VPC_PEERING", ""}, false), ValidateFunc: validation.StringInSlice([]string{"VPC_PEERING", ""}, false),
}, },
"address": { "address": {

View File

@ -38,6 +38,9 @@ func resourceComputeRegionDisk() *schema.Resource {
Importer: &schema.ResourceImporter{ Importer: &schema.ResourceImporter{
State: resourceComputeRegionDiskImport, State: resourceComputeRegionDiskImport,
}, },
DeprecationMessage: `This resource is in beta and will be removed from this provider.
Use the ComputeRegionDisk resource in the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta resources.`,
Timeouts: &schema.ResourceTimeout{ Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(300 * time.Second), Create: schema.DefaultTimeout(300 * time.Second),

View File

@ -102,6 +102,9 @@ func resourceComputeSubnetwork() *schema.Resource {
"enable_flow_logs": { "enable_flow_logs": {
Type: schema.TypeBool, Type: schema.TypeBool,
Optional: true, Optional: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
}, },
"private_ip_google_access": { "private_ip_google_access": {
Type: schema.TypeBool, Type: schema.TypeBool,
@ -118,6 +121,9 @@ func resourceComputeSubnetwork() *schema.Resource {
Type: schema.TypeList, Type: schema.TypeList,
Computed: true, Computed: true,
Optional: true, Optional: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
Elem: &schema.Resource{ Elem: &schema.Resource{
Schema: map[string]*schema.Schema{ Schema: map[string]*schema.Schema{
"ip_cidr_range": { "ip_cidr_range": {
@ -140,6 +146,9 @@ func resourceComputeSubnetwork() *schema.Resource {
"fingerprint": { "fingerprint": {
Type: schema.TypeString, Type: schema.TypeString,
Computed: true, Computed: true,
Deprecated: `This field is in beta and will be removed from this provider.
Use the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.`,
}, },
"gateway_address": { "gateway_address": {
Type: schema.TypeString, Type: schema.TypeString,

View File

@ -33,6 +33,9 @@ func resourceContainerAnalysisNote() *schema.Resource {
Importer: &schema.ResourceImporter{ Importer: &schema.ResourceImporter{
State: resourceContainerAnalysisNoteImport, State: resourceContainerAnalysisNoteImport,
}, },
DeprecationMessage: `This resource is in beta and will be removed from this provider.
Use the ContainerAnalysisNote resource in the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta resources.`,
Schema: map[string]*schema.Schema{ Schema: map[string]*schema.Schema{
"attestation_authority": { "attestation_authority": {

View File

@ -37,6 +37,9 @@ func resourceFilestoreInstance() *schema.Resource {
Importer: &schema.ResourceImporter{ Importer: &schema.ResourceImporter{
State: resourceFilestoreInstanceImport, State: resourceFilestoreInstanceImport,
}, },
DeprecationMessage: `This resource is in beta and will be removed from this provider.
Use the FilestoreInstance resource in the terraform-provider-google-beta provider to continue using it.
See https://terraform.io/docs/provider/google/provider_versions.html for more details on beta resources.`,
Timeouts: &schema.ResourceTimeout{ Timeouts: &schema.ResourceTimeout{
Create: schema.DefaultTimeout(300 * time.Second), Create: schema.DefaultTimeout(300 * time.Second),

View File

@ -23,6 +23,9 @@ description: |-
An attestor that attests to container image artifacts. An attestor that attests to container image artifacts.
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta resources.
To get more information about Attestor, see: To get more information about Attestor, see:
* [API documentation](https://cloud.google.com/binary-authorization/docs/reference/rest/) * [API documentation](https://cloud.google.com/binary-authorization/docs/reference/rest/)

View File

@ -23,6 +23,9 @@ description: |-
A policy for container image binary authorization. A policy for container image binary authorization.
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta resources.
To get more information about Policy, see: To get more information about Policy, see:
* [API documentation](https://cloud.google.com/binary-authorization/docs/reference/rest/) * [API documentation](https://cloud.google.com/binary-authorization/docs/reference/rest/)

View File

@ -35,6 +35,7 @@ the instance is assigned a new internal IP address, either by Compute
Engine or by you. External IP addresses can be either ephemeral or Engine or by you. External IP addresses can be either ephemeral or
static. static.
To get more information about Address, see: To get more information about Address, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/beta/addresses) * [API documentation](https://cloud.google.com/compute/docs/reference/beta/addresses)
@ -108,7 +109,8 @@ The following arguments are supported:
(Optional) (Optional)
The networking tier used for configuring this address. This field can The networking tier used for configuring this address. This field can
take the following values: PREMIUM or STANDARD. If this field is not take the following values: PREMIUM or STANDARD. If this field is not
specified, it is assumed to be PREMIUM. specified, it is assumed to be PREMIUM. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `subnetwork` - * `subnetwork` -
(Optional) (Optional)
@ -119,7 +121,8 @@ The following arguments are supported:
* `labels` - * `labels` -
(Optional) (Optional)
Labels to apply to this address. A list of key->value pairs. Labels to apply to this address. A list of key->value pairs. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `region` - * `region` -
(Optional) (Optional)
@ -142,7 +145,8 @@ In addition to the arguments listed above, the following computed attributes are
* `label_fingerprint` - * `label_fingerprint` -
The fingerprint used for optimistic locking of this resource. Used The fingerprint used for optimistic locking of this resource. Used
internally during updates. internally during updates. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `self_link` - The URI of the created resource. * `self_link` - The URI of the created resource.

View File

@ -27,6 +27,7 @@ Autoscalers allow you to automatically scale virtual machine instances in
managed instance groups according to an autoscaling policy that you managed instance groups according to an autoscaling policy that you
define. define.
To get more information about Autoscaler, see: To get more information about Autoscaler, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/autoscalers) * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/autoscalers)

View File

@ -30,6 +30,7 @@ backend bucket rather than a backend service. It can send requests for
static content to a Cloud Storage bucket and requests for dynamic content static content to a Cloud Storage bucket and requests for dynamic content
a virtual machine instance. a virtual machine instance.
To get more information about BackendBucket, see: To get more information about BackendBucket, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/latest/backendBuckets) * [API documentation](https://cloud.google.com/compute/docs/reference/latest/backendBuckets)

View File

@ -38,6 +38,7 @@ storage space requirements.
Add a persistent disk to your instance when you need reliable and Add a persistent disk to your instance when you need reliable and
affordable storage with consistent performance characteristics. affordable storage with consistent performance characteristics.
To get more information about Disk, see: To get more information about Disk, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/latest/disks) * [API documentation](https://cloud.google.com/compute/docs/reference/latest/disks)

View File

@ -35,6 +35,7 @@ outgoing traffic and a default "deny" for incoming traffic. For all
networks except the default network, you must create any firewall rules networks except the default network, you must create any firewall rules
you need. you need.
To get more information about Firewall, see: To get more information about Firewall, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/latest/firewalls) * [API documentation](https://cloud.google.com/compute/docs/reference/latest/firewalls)
@ -122,13 +123,15 @@ The following arguments are supported:
Denotes whether the firewall rule is disabled, i.e not applied to the Denotes whether the firewall rule is disabled, i.e not applied to the
network it is associated with. When set to true, the firewall rule is network it is associated with. When set to true, the firewall rule is
not enforced and the network behaves as if it did not exist. If this not enforced and the network behaves as if it did not exist. If this
is unspecified, the firewall rule will be enabled. is unspecified, the firewall rule will be enabled. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `enable_logging` - * `enable_logging` -
(Optional) (Optional)
This field denotes whether to enable logging for a particular This field denotes whether to enable logging for a particular
firewall rule. If logging is enabled, logs will be exported to firewall rule. If logging is enabled, logs will be exported to
Stackdriver. Stackdriver. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `priority` - * `priority` -
(Optional) (Optional)

View File

@ -25,6 +25,7 @@ A ForwardingRule resource. A ForwardingRule resource specifies which pool
of target virtual machines to forward a packet to if it matches the given of target virtual machines to forward a packet to if it matches the given
[IPAddress, IPProtocol, portRange] tuple. [IPAddress, IPProtocol, portRange] tuple.
To get more information about ForwardingRule, see: To get more information about ForwardingRule, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/latest/forwardingRule) * [API documentation](https://cloud.google.com/compute/docs/reference/latest/forwardingRule)
@ -181,13 +182,15 @@ The following arguments are supported:
* `labels` - * `labels` -
(Optional) (Optional)
Labels to apply to this forwarding rule. A list of key->value pairs. Labels to apply to this forwarding rule. A list of key->value pairs. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `network_tier` - * `network_tier` -
(Optional) (Optional)
The networking tier used for configuring this address. This field can The networking tier used for configuring this address. This field can
take the following values: PREMIUM or STANDARD. If this field is not take the following values: PREMIUM or STANDARD. If this field is not
specified, it is assumed to be PREMIUM. specified, it is assumed to be PREMIUM. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `service_label` - * `service_label` -
(Optional) (Optional)
@ -200,7 +203,8 @@ The following arguments are supported:
character must be a lowercase letter, and all following characters character must be a lowercase letter, and all following characters
must be a dash, lowercase letter, or digit, except the last must be a dash, lowercase letter, or digit, except the last
character, which cannot be a dash. character, which cannot be a dash.
This field is only used for internal load balancing. This field is only used for internal load balancing. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `region` - * `region` -
(Optional) (Optional)
@ -224,7 +228,8 @@ In addition to the arguments listed above, the following computed attributes are
* `service_name` - * `service_name` -
The internal fully qualified service name for this Forwarding Rule. The internal fully qualified service name for this Forwarding Rule.
This field is only used for internal load balancing. This field is only used for internal load balancing. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `self_link` - The URI of the created resource. * `self_link` - The URI of the created resource.

View File

@ -24,6 +24,7 @@ description: |-
Represents a Global Address resource. Global addresses are used for Represents a Global Address resource. Global addresses are used for
HTTP(S) load balancing. HTTP(S) load balancing.
To get more information about GlobalAddress, see: To get more information about GlobalAddress, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/latest/globalAddresses) * [API documentation](https://cloud.google.com/compute/docs/reference/latest/globalAddresses)
@ -64,7 +65,8 @@ The following arguments are supported:
* `labels` - * `labels` -
(Optional) (Optional)
Labels to apply to this address. A list of key->value pairs. Labels to apply to this address. A list of key->value pairs. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `ip_version` - * `ip_version` -
(Optional) (Optional)
@ -75,26 +77,30 @@ The following arguments are supported:
(Optional) (Optional)
The prefix length of the IP range. If not present, it means the The prefix length of the IP range. If not present, it means the
address field is a single IP address. address field is a single IP address.
This field is not applicable to addresses with addressType=EXTERNAL. This field is not applicable to addresses with addressType=EXTERNAL. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `address_type` - * `address_type` -
(Optional) (Optional)
The type of the address to reserve, default is EXTERNAL. The type of the address to reserve, default is EXTERNAL.
* EXTERNAL indicates public/external single IP address. * EXTERNAL indicates public/external single IP address.
* INTERNAL indicates internal IP ranges belonging to some network. * INTERNAL indicates internal IP ranges belonging to some network. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `purpose` - * `purpose` -
(Optional) (Optional)
The purpose of the resource. For global internal addresses it can be The purpose of the resource. For global internal addresses it can be
* VPC_PEERING - for peer networks * VPC_PEERING - for peer networks
This should only be set when using an Internal address. This should only be set when using an Internal address. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `network` - * `network` -
(Optional) (Optional)
The URL of the network in which to reserve the IP range. The IP range The URL of the network in which to reserve the IP range. The IP range
must be in RFC1918 space. The network cannot be deleted if there are must be in RFC1918 space. The network cannot be deleted if there are
any reserved IP ranges referring to it. any reserved IP ranges referring to it.
This should only be set when using an Internal address. This should only be set when using an Internal address. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `project` - (Optional) The ID of the project in which the resource belongs. * `project` - (Optional) The ID of the project in which the resource belongs.
If it is not provided, the provider project is used. If it is not provided, the provider project is used.

View File

@ -33,6 +33,7 @@ continue to poll unhealthy instances. If an instance later responds
successfully to some number of consecutive probes, it is marked successfully to some number of consecutive probes, it is marked
healthy again and can receive new connections. healthy again and can receive new connections.
To get more information about HealthCheck, see: To get more information about HealthCheck, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/latest/healthChecks) * [API documentation](https://cloud.google.com/compute/docs/reference/rest/latest/healthChecks)

View File

@ -31,6 +31,7 @@ should be preferred for all uses except
[Network Load Balancers](https://cloud.google.com/compute/docs/load-balancing/network/) [Network Load Balancers](https://cloud.google.com/compute/docs/load-balancing/network/)
which still require the legacy version. which still require the legacy version.
To get more information about HttpHealthCheck, see: To get more information about HttpHealthCheck, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/latest/httpHealthChecks) * [API documentation](https://cloud.google.com/compute/docs/reference/latest/httpHealthChecks)

View File

@ -31,6 +31,7 @@ should be preferred for all uses except
[Network Load Balancers](https://cloud.google.com/compute/docs/load-balancing/network/) [Network Load Balancers](https://cloud.google.com/compute/docs/load-balancing/network/)
which still require the legacy version. which still require the legacy version.
To get more information about HttpsHealthCheck, see: To get more information about HttpsHealthCheck, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/latest/httpsHealthChecks) * [API documentation](https://cloud.google.com/compute/docs/reference/latest/httpsHealthChecks)

View File

@ -27,6 +27,7 @@ Autoscalers allow you to automatically scale virtual machine instances in
managed instance groups according to an autoscaling policy that you managed instance groups according to an autoscaling policy that you
define. define.
To get more information about RegionAutoscaler, see: To get more information about RegionAutoscaler, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/regionAutoscalers) * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/regionAutoscalers)

View File

@ -38,6 +38,9 @@ storage space requirements.
Add a persistent disk to your instance when you need reliable and Add a persistent disk to your instance when you need reliable and
affordable storage with consistent performance characteristics. affordable storage with consistent performance characteristics.
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta resources.
To get more information about RegionDisk, see: To get more information about RegionDisk, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/regionDisks) * [API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/regionDisks)

View File

@ -43,6 +43,7 @@ sending virtual machine's routing table will be dropped.
A Route resource must have exactly one specification of either A Route resource must have exactly one specification of either
nextHopGateway, nextHopInstance, nextHopIp, or nextHopVpnTunnel. nextHopGateway, nextHopInstance, nextHopIp, or nextHopVpnTunnel.
To get more information about Route, see: To get more information about Route, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/routes) * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/routes)

View File

@ -23,6 +23,7 @@ description: |-
Represents a Router resource. Represents a Router resource.
To get more information about Router, see: To get more information about Router, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/routers) * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/routers)

View File

@ -25,6 +25,7 @@ An SslCertificate resource, used for HTTPS load balancing. This resource
provides a mechanism to upload an SSL key and certificate to provides a mechanism to upload an SSL key and certificate to
the load balancer to serve secure connections from the user. the load balancer to serve secure connections from the user.
To get more information about SslCertificate, see: To get more information about SslCertificate, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/sslCertificates) * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/sslCertificates)

View File

@ -24,6 +24,7 @@ description: |-
Represents a SSL policy. SSL policies give you the ability to control the Represents a SSL policy. SSL policies give you the ability to control the
features of SSL that your SSL proxy or HTTPS load balancer negotiates. features of SSL that your SSL proxy or HTTPS load balancer negotiates.
To get more information about SslPolicy, see: To get more information about SslPolicy, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/sslPolicies) * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/sslPolicies)

View File

@ -45,6 +45,7 @@ instances in all other subnets of the same VPC network, regardless of
region, using their RFC1918 private IP addresses. You can isolate portions region, using their RFC1918 private IP addresses. You can isolate portions
of the network, even entire subnets, using firewall rules. of the network, even entire subnets, using firewall rules.
To get more information about Subnetwork, see: To get more information about Subnetwork, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/subnetworks) * [API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/subnetworks)
@ -111,7 +112,8 @@ The following arguments are supported:
* `enable_flow_logs` - * `enable_flow_logs` -
(Optional) (Optional)
Whether to enable flow logging for this subnetwork. Whether to enable flow logging for this subnetwork. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `secondary_ip_range` - * `secondary_ip_range` -
(Optional) (Optional)
@ -119,6 +121,8 @@ The following arguments are supported:
contained in this subnetwork. The primary IP of such VM must belong contained in this subnetwork. The primary IP of such VM must belong
to the primary ipCidrRange of the subnetwork. The alias IPs may belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong
to either primary or secondary ranges. Structure is documented below. to either primary or secondary ranges. Structure is documented below.
This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `private_ip_google_access` - * `private_ip_google_access` -
(Optional) (Optional)
@ -162,7 +166,8 @@ In addition to the arguments listed above, the following computed attributes are
* `fingerprint` - * `fingerprint` -
Fingerprint of this resource. This field is used internally during Fingerprint of this resource. This field is used internally during
updates of this resource. updates of this resource. This property is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta fields.
* `self_link` - The URI of the created resource. * `self_link` - The URI of the created resource.

View File

@ -25,6 +25,7 @@ description: |-
Represents a TargetHttpProxy resource, which is used by one or more global Represents a TargetHttpProxy resource, which is used by one or more global
forwarding rule to route incoming HTTP requests to a URL map. forwarding rule to route incoming HTTP requests to a URL map.
To get more information about TargetHttpProxy, see: To get more information about TargetHttpProxy, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetHttpProxies) * [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetHttpProxies)

View File

@ -25,6 +25,7 @@ description: |-
Represents a TargetHttpsProxy resource, which is used by one or more Represents a TargetHttpsProxy resource, which is used by one or more
global forwarding rule to route incoming HTTPS requests to a URL map. global forwarding rule to route incoming HTTPS requests to a URL map.
To get more information about TargetHttpsProxy, see: To get more information about TargetHttpsProxy, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetHttpsProxies) * [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetHttpsProxies)

View File

@ -27,6 +27,7 @@ Represents a TargetSslProxy resource, which is used by one or more
global forwarding rule to route incoming SSL requests to a backend global forwarding rule to route incoming SSL requests to a backend
service. service.
To get more information about TargetSslProxy, see: To get more information about TargetSslProxy, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetSslProxies) * [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetSslProxies)

View File

@ -27,6 +27,7 @@ Represents a TargetTcpProxy resource, which is used by one or more
global forwarding rule to route incoming TCP requests to a Backend global forwarding rule to route incoming TCP requests to a Backend
service. service.
To get more information about TargetTcpProxy, see: To get more information about TargetTcpProxy, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetTcpProxies) * [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetTcpProxies)

View File

@ -24,6 +24,7 @@ description: |-
Represents a VPN gateway running in GCP. This virtual device is managed Represents a VPN gateway running in GCP. This virtual device is managed
by Google, but used only by you. by Google, but used only by you.
To get more information about VpnGateway, see: To get more information about VpnGateway, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/targetVpnGateways) * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/targetVpnGateways)

View File

@ -23,6 +23,7 @@ description: |-
VPN tunnel resource. VPN tunnel resource.
To get more information about VpnTunnel, see: To get more information about VpnTunnel, see:
* [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/vpnTunnels) * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/vpnTunnels)

View File

@ -23,6 +23,9 @@ description: |-
Provides a detailed description of a Note. Provides a detailed description of a Note.
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta resources.
To get more information about Note, see: To get more information about Note, see:
* [API documentation](https://cloud.google.com/container-analysis/api/reference/rest/) * [API documentation](https://cloud.google.com/container-analysis/api/reference/rest/)

View File

@ -23,6 +23,9 @@ description: |-
A Google Cloud Filestore instance. A Google Cloud Filestore instance.
~> **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
See [Provider Versions](http://terraform.io/docs/provider/google/provider_versions.html) for more details on beta resources.
To get more information about Instance, see: To get more information about Instance, see:
* [API documentation](https://cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/create) * [API documentation](https://cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/create)

View File

@ -27,6 +27,7 @@ A description of the conditions under which some aspect of your system is
considered to be "unhealthy" and the ways to notify people or services considered to be "unhealthy" and the ways to notify people or services
about this state. about this state.
To get more information about AlertPolicy, see: To get more information about AlertPolicy, see:
* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.alertPolicies) * [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.alertPolicies)

View File

@ -23,6 +23,7 @@ description: |-
A Google Cloud Redis instance. A Google Cloud Redis instance.
To get more information about Instance, see: To get more information about Instance, see:
* [API documentation](https://cloud.google.com/memorystore/docs/redis/reference/rest/) * [API documentation](https://cloud.google.com/memorystore/docs/redis/reference/rest/)

View File

@ -24,6 +24,7 @@ description: |-
A Lien represents an encumbrance on the actions that can be performed on a resource. A Lien represents an encumbrance on the actions that can be performed on a resource.
## Example Usage ## Example Usage
```hcl ```hcl