From 83f9c9407984d183627beedc0d0ec30452bb1f44 Mon Sep 17 00:00:00 2001 From: Dana Hoffman Date: Thu, 4 Oct 2018 02:45:53 +0000 Subject: [PATCH] WIP: Add deprecation message for generated beta fields. --- .../resource_binaryauthorization_attestor.go | 3 ++ google/resource_binaryauthorization_policy.go | 3 ++ google/resource_compute_address.go | 19 +++++++--- google/resource_compute_firewall.go | 6 ++++ google/resource_compute_forwarding_rule.go | 28 ++++++++++----- google/resource_compute_global_address.go | 35 +++++++++++++------ google/resource_compute_region_disk.go | 3 ++ google/resource_compute_subnetwork.go | 9 +++++ google/resource_containeranalysis_note.go | 3 ++ google/resource_filestore_instance.go | 3 ++ ...binaryauthorization_attestor.html.markdown | 3 ++ .../binaryauthorization_policy.html.markdown | 3 ++ website/docs/r/compute_address.html.markdown | 10 ++++-- .../docs/r/compute_autoscaler.html.markdown | 1 + .../r/compute_backend_bucket.html.markdown | 1 + website/docs/r/compute_disk.html.markdown | 1 + website/docs/r/compute_firewall.html.markdown | 7 ++-- .../r/compute_forwarding_rule.html.markdown | 13 ++++--- .../r/compute_global_address.html.markdown | 16 ++++++--- .../docs/r/compute_health_check.html.markdown | 1 + .../r/compute_http_health_check.html.markdown | 1 + .../compute_https_health_check.html.markdown | 1 + .../r/compute_region_autoscaler.html.markdown | 1 + .../docs/r/compute_region_disk.html.markdown | 3 ++ website/docs/r/compute_route.html.markdown | 1 + website/docs/r/compute_router.html.markdown | 1 + .../r/compute_ssl_certificate.html.markdown | 1 + .../docs/r/compute_ssl_policy.html.markdown | 1 + .../docs/r/compute_subnetwork.html.markdown | 9 +++-- .../r/compute_target_http_proxy.html.markdown | 1 + .../compute_target_https_proxy.html.markdown | 1 + .../r/compute_target_ssl_proxy.html.markdown | 1 + .../r/compute_target_tcp_proxy.html.markdown | 1 + .../docs/r/compute_vpn_gateway.html.markdown | 1 + .../docs/r/compute_vpn_tunnel.html.markdown | 1 + .../r/containeranalysis_note.html.markdown | 3 ++ .../docs/r/filestore_instance.html.markdown | 3 ++ .../r/monitoring_alert_policy.html.markdown | 1 + website/docs/r/redis_instance.html.markdown | 1 + .../docs/r/resourcemanager_lien.html.markdown | 1 + 40 files changed, 163 insertions(+), 39 deletions(-) diff --git a/google/resource_binaryauthorization_attestor.go b/google/resource_binaryauthorization_attestor.go index 0e7f6e019fc..692de4b9bc5 100644 --- a/google/resource_binaryauthorization_attestor.go +++ b/google/resource_binaryauthorization_attestor.go @@ -33,6 +33,9 @@ func resourceBinaryAuthorizationAttestor() *schema.Resource { Importer: &schema.ResourceImporter{ 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{ "attestation_authority_note": { diff --git a/google/resource_binaryauthorization_policy.go b/google/resource_binaryauthorization_policy.go index cf60f5fbc8c..98aed7215b0 100644 --- a/google/resource_binaryauthorization_policy.go +++ b/google/resource_binaryauthorization_policy.go @@ -51,6 +51,9 @@ func resourceBinaryAuthorizationPolicy() *schema.Resource { Importer: &schema.ResourceImporter{ 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{ "default_admission_rule": { diff --git a/google/resource_compute_address.go b/google/resource_compute_address.go index 83458d7058d..39a57487e7e 100644 --- a/google/resource_compute_address.go +++ b/google/resource_compute_address.go @@ -70,13 +70,19 @@ func resourceComputeAddress() *schema.Resource { "labels": { Type: schema.TypeMap, 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": { - Type: schema.TypeString, - Computed: true, - Optional: true, - ForceNew: true, + Type: schema.TypeString, + Computed: true, + Optional: 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), }, "region": { @@ -100,6 +106,9 @@ func resourceComputeAddress() *schema.Resource { "label_fingerprint": { Type: schema.TypeString, 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": { Type: schema.TypeList, diff --git a/google/resource_compute_firewall.go b/google/resource_compute_firewall.go index f871214cf67..2044ecf7a1b 100644 --- a/google/resource_compute_firewall.go +++ b/google/resource_compute_firewall.go @@ -144,10 +144,16 @@ func resourceComputeFirewall() *schema.Resource { "disabled": { Type: schema.TypeBool, 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": { Type: schema.TypeBool, 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": { Type: schema.TypeInt, diff --git a/google/resource_compute_forwarding_rule.go b/google/resource_compute_forwarding_rule.go index 85a1d5a58c7..818d178fd0d 100644 --- a/google/resource_compute_forwarding_rule.go +++ b/google/resource_compute_forwarding_rule.go @@ -83,7 +83,10 @@ func resourceComputeForwardingRule() *schema.Resource { "labels": { Type: schema.TypeMap, 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": { Type: schema.TypeString, @@ -100,10 +103,13 @@ func resourceComputeForwardingRule() *schema.Resource { DiffSuppressFunc: compareSelfLinkOrResourceName, }, "network_tier": { - Type: schema.TypeString, - Computed: true, - Optional: true, - ForceNew: true, + Type: schema.TypeString, + Computed: true, + Optional: 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), }, "port_range": { @@ -130,9 +136,12 @@ func resourceComputeForwardingRule() *schema.Resource { DiffSuppressFunc: compareSelfLinkOrResourceName, }, "service_label": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, + Type: schema.TypeString, + Optional: 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, }, "subnetwork": { @@ -158,6 +167,9 @@ func resourceComputeForwardingRule() *schema.Resource { "service_name": { Type: schema.TypeString, 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": { Type: schema.TypeString, diff --git a/google/resource_compute_global_address.go b/google/resource_compute_global_address.go index 19153bf1d8d..957d09ac41b 100644 --- a/google/resource_compute_global_address.go +++ b/google/resource_compute_global_address.go @@ -50,9 +50,12 @@ func resourceComputeGlobalAddress() *schema.Resource { ForceNew: true, }, "address_type": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, + Type: schema.TypeString, + Optional: 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), DiffSuppressFunc: emptyOrDefaultStringSuppress("EXTERNAL"), Default: "EXTERNAL", @@ -72,23 +75,35 @@ func resourceComputeGlobalAddress() *schema.Resource { "labels": { Type: schema.TypeMap, 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": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, + Type: schema.TypeString, + Optional: 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, }, "prefix_length": { Type: schema.TypeInt, Optional: 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": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, + Type: schema.TypeString, + Optional: 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), }, "address": { diff --git a/google/resource_compute_region_disk.go b/google/resource_compute_region_disk.go index 2944e12f7cc..f5a2ba7fd6e 100644 --- a/google/resource_compute_region_disk.go +++ b/google/resource_compute_region_disk.go @@ -38,6 +38,9 @@ func resourceComputeRegionDisk() *schema.Resource { Importer: &schema.ResourceImporter{ 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{ Create: schema.DefaultTimeout(300 * time.Second), diff --git a/google/resource_compute_subnetwork.go b/google/resource_compute_subnetwork.go index 79d83980819..d8e76920265 100644 --- a/google/resource_compute_subnetwork.go +++ b/google/resource_compute_subnetwork.go @@ -102,6 +102,9 @@ func resourceComputeSubnetwork() *schema.Resource { "enable_flow_logs": { Type: schema.TypeBool, 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": { Type: schema.TypeBool, @@ -118,6 +121,9 @@ func resourceComputeSubnetwork() *schema.Resource { Type: schema.TypeList, Computed: 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{ Schema: map[string]*schema.Schema{ "ip_cidr_range": { @@ -140,6 +146,9 @@ func resourceComputeSubnetwork() *schema.Resource { "fingerprint": { Type: schema.TypeString, 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": { Type: schema.TypeString, diff --git a/google/resource_containeranalysis_note.go b/google/resource_containeranalysis_note.go index 3f27ce6f781..ee975f8b50a 100644 --- a/google/resource_containeranalysis_note.go +++ b/google/resource_containeranalysis_note.go @@ -33,6 +33,9 @@ func resourceContainerAnalysisNote() *schema.Resource { Importer: &schema.ResourceImporter{ 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{ "attestation_authority": { diff --git a/google/resource_filestore_instance.go b/google/resource_filestore_instance.go index 8feb58d9604..d6433982ed0 100644 --- a/google/resource_filestore_instance.go +++ b/google/resource_filestore_instance.go @@ -37,6 +37,9 @@ func resourceFilestoreInstance() *schema.Resource { Importer: &schema.ResourceImporter{ 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{ Create: schema.DefaultTimeout(300 * time.Second), diff --git a/website/docs/r/binaryauthorization_attestor.html.markdown b/website/docs/r/binaryauthorization_attestor.html.markdown index f70c672f40c..8b7d4a87064 100644 --- a/website/docs/r/binaryauthorization_attestor.html.markdown +++ b/website/docs/r/binaryauthorization_attestor.html.markdown @@ -23,6 +23,9 @@ description: |- 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: * [API documentation](https://cloud.google.com/binary-authorization/docs/reference/rest/) diff --git a/website/docs/r/binaryauthorization_policy.html.markdown b/website/docs/r/binaryauthorization_policy.html.markdown index 8ae54aeb9bf..799793338c5 100644 --- a/website/docs/r/binaryauthorization_policy.html.markdown +++ b/website/docs/r/binaryauthorization_policy.html.markdown @@ -23,6 +23,9 @@ description: |- 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: * [API documentation](https://cloud.google.com/binary-authorization/docs/reference/rest/) diff --git a/website/docs/r/compute_address.html.markdown b/website/docs/r/compute_address.html.markdown index e428510bad3..7d4bcc8af8b 100644 --- a/website/docs/r/compute_address.html.markdown +++ b/website/docs/r/compute_address.html.markdown @@ -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 static. + To get more information about Address, see: * [API documentation](https://cloud.google.com/compute/docs/reference/beta/addresses) @@ -108,7 +109,8 @@ The following arguments are supported: (Optional) The networking tier used for configuring this address. This field can 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` - (Optional) @@ -119,7 +121,8 @@ The following arguments are supported: * `labels` - (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` - (Optional) @@ -142,7 +145,8 @@ In addition to the arguments listed above, the following computed attributes are * `label_fingerprint` - 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. diff --git a/website/docs/r/compute_autoscaler.html.markdown b/website/docs/r/compute_autoscaler.html.markdown index 71df31f04e1..e287880cf60 100644 --- a/website/docs/r/compute_autoscaler.html.markdown +++ b/website/docs/r/compute_autoscaler.html.markdown @@ -27,6 +27,7 @@ Autoscalers allow you to automatically scale virtual machine instances in managed instance groups according to an autoscaling policy that you define. + To get more information about Autoscaler, see: * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/autoscalers) diff --git a/website/docs/r/compute_backend_bucket.html.markdown b/website/docs/r/compute_backend_bucket.html.markdown index de4114fb4b9..97387cccd00 100644 --- a/website/docs/r/compute_backend_bucket.html.markdown +++ b/website/docs/r/compute_backend_bucket.html.markdown @@ -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 a virtual machine instance. + To get more information about BackendBucket, see: * [API documentation](https://cloud.google.com/compute/docs/reference/latest/backendBuckets) diff --git a/website/docs/r/compute_disk.html.markdown b/website/docs/r/compute_disk.html.markdown index a427e73949e..3f68ccacb6e 100644 --- a/website/docs/r/compute_disk.html.markdown +++ b/website/docs/r/compute_disk.html.markdown @@ -38,6 +38,7 @@ storage space requirements. Add a persistent disk to your instance when you need reliable and affordable storage with consistent performance characteristics. + To get more information about Disk, see: * [API documentation](https://cloud.google.com/compute/docs/reference/latest/disks) diff --git a/website/docs/r/compute_firewall.html.markdown b/website/docs/r/compute_firewall.html.markdown index 579fced6f35..588f8388b53 100644 --- a/website/docs/r/compute_firewall.html.markdown +++ b/website/docs/r/compute_firewall.html.markdown @@ -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 you need. + To get more information about Firewall, see: * [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 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 - 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` - (Optional) This field denotes whether to enable logging for a particular 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` - (Optional) diff --git a/website/docs/r/compute_forwarding_rule.html.markdown b/website/docs/r/compute_forwarding_rule.html.markdown index d5cfe9a9e40..19188a4194b 100644 --- a/website/docs/r/compute_forwarding_rule.html.markdown +++ b/website/docs/r/compute_forwarding_rule.html.markdown @@ -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 [IPAddress, IPProtocol, portRange] tuple. + To get more information about ForwardingRule, see: * [API documentation](https://cloud.google.com/compute/docs/reference/latest/forwardingRule) @@ -181,13 +182,15 @@ The following arguments are supported: * `labels` - (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` - (Optional) The networking tier used for configuring this address. This field can 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` - (Optional) @@ -200,7 +203,8 @@ The following arguments are supported: character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last 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` - (Optional) @@ -224,7 +228,8 @@ In addition to the arguments listed above, the following computed attributes are * `service_name` - 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. diff --git a/website/docs/r/compute_global_address.html.markdown b/website/docs/r/compute_global_address.html.markdown index 23c42e996fe..cd84842734e 100644 --- a/website/docs/r/compute_global_address.html.markdown +++ b/website/docs/r/compute_global_address.html.markdown @@ -24,6 +24,7 @@ description: |- Represents a Global Address resource. Global addresses are used for HTTP(S) load balancing. + To get more information about GlobalAddress, see: * [API documentation](https://cloud.google.com/compute/docs/reference/latest/globalAddresses) @@ -64,7 +65,8 @@ The following arguments are supported: * `labels` - (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` - (Optional) @@ -75,26 +77,30 @@ The following arguments are supported: (Optional) The prefix length of the IP range. If not present, it means the 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` - (Optional) The type of the address to reserve, default is EXTERNAL. * 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` - (Optional) The purpose of the resource. For global internal addresses it can be * 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` - (Optional) 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 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. If it is not provided, the provider project is used. diff --git a/website/docs/r/compute_health_check.html.markdown b/website/docs/r/compute_health_check.html.markdown index ec8167f802e..3145ee8d315 100644 --- a/website/docs/r/compute_health_check.html.markdown +++ b/website/docs/r/compute_health_check.html.markdown @@ -33,6 +33,7 @@ continue to poll unhealthy instances. If an instance later responds successfully to some number of consecutive probes, it is marked healthy again and can receive new connections. + To get more information about HealthCheck, see: * [API documentation](https://cloud.google.com/compute/docs/reference/rest/latest/healthChecks) diff --git a/website/docs/r/compute_http_health_check.html.markdown b/website/docs/r/compute_http_health_check.html.markdown index dcff4923471..61aa739601d 100644 --- a/website/docs/r/compute_http_health_check.html.markdown +++ b/website/docs/r/compute_http_health_check.html.markdown @@ -31,6 +31,7 @@ should be preferred for all uses except [Network Load Balancers](https://cloud.google.com/compute/docs/load-balancing/network/) which still require the legacy version. + To get more information about HttpHealthCheck, see: * [API documentation](https://cloud.google.com/compute/docs/reference/latest/httpHealthChecks) diff --git a/website/docs/r/compute_https_health_check.html.markdown b/website/docs/r/compute_https_health_check.html.markdown index 83d379b86e2..17b2797f23e 100644 --- a/website/docs/r/compute_https_health_check.html.markdown +++ b/website/docs/r/compute_https_health_check.html.markdown @@ -31,6 +31,7 @@ should be preferred for all uses except [Network Load Balancers](https://cloud.google.com/compute/docs/load-balancing/network/) which still require the legacy version. + To get more information about HttpsHealthCheck, see: * [API documentation](https://cloud.google.com/compute/docs/reference/latest/httpsHealthChecks) diff --git a/website/docs/r/compute_region_autoscaler.html.markdown b/website/docs/r/compute_region_autoscaler.html.markdown index 15279eeeefc..6288c0bc371 100644 --- a/website/docs/r/compute_region_autoscaler.html.markdown +++ b/website/docs/r/compute_region_autoscaler.html.markdown @@ -27,6 +27,7 @@ Autoscalers allow you to automatically scale virtual machine instances in managed instance groups according to an autoscaling policy that you define. + To get more information about RegionAutoscaler, see: * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/regionAutoscalers) diff --git a/website/docs/r/compute_region_disk.html.markdown b/website/docs/r/compute_region_disk.html.markdown index 6c2a91c98e5..c7996960a60 100644 --- a/website/docs/r/compute_region_disk.html.markdown +++ b/website/docs/r/compute_region_disk.html.markdown @@ -38,6 +38,9 @@ storage space requirements. Add a persistent disk to your instance when you need reliable and 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: * [API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/regionDisks) diff --git a/website/docs/r/compute_route.html.markdown b/website/docs/r/compute_route.html.markdown index 38fca8893f0..018f6569344 100644 --- a/website/docs/r/compute_route.html.markdown +++ b/website/docs/r/compute_route.html.markdown @@ -43,6 +43,7 @@ sending virtual machine's routing table will be dropped. A Route resource must have exactly one specification of either nextHopGateway, nextHopInstance, nextHopIp, or nextHopVpnTunnel. + To get more information about Route, see: * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/routes) diff --git a/website/docs/r/compute_router.html.markdown b/website/docs/r/compute_router.html.markdown index 61506e056bc..a22d0676be1 100644 --- a/website/docs/r/compute_router.html.markdown +++ b/website/docs/r/compute_router.html.markdown @@ -23,6 +23,7 @@ description: |- Represents a Router resource. + To get more information about Router, see: * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/routers) diff --git a/website/docs/r/compute_ssl_certificate.html.markdown b/website/docs/r/compute_ssl_certificate.html.markdown index f8175764cf5..7f5694cd28e 100644 --- a/website/docs/r/compute_ssl_certificate.html.markdown +++ b/website/docs/r/compute_ssl_certificate.html.markdown @@ -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 the load balancer to serve secure connections from the user. + To get more information about SslCertificate, see: * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/sslCertificates) diff --git a/website/docs/r/compute_ssl_policy.html.markdown b/website/docs/r/compute_ssl_policy.html.markdown index a39e019d5a9..c623ee57579 100644 --- a/website/docs/r/compute_ssl_policy.html.markdown +++ b/website/docs/r/compute_ssl_policy.html.markdown @@ -24,6 +24,7 @@ description: |- 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. + To get more information about SslPolicy, see: * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/sslPolicies) diff --git a/website/docs/r/compute_subnetwork.html.markdown b/website/docs/r/compute_subnetwork.html.markdown index a61705a5247..c241507788c 100644 --- a/website/docs/r/compute_subnetwork.html.markdown +++ b/website/docs/r/compute_subnetwork.html.markdown @@ -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 of the network, even entire subnets, using firewall rules. + To get more information about Subnetwork, see: * [API documentation](https://cloud.google.com/compute/docs/reference/rest/beta/subnetworks) @@ -111,7 +112,8 @@ The following arguments are supported: * `enable_flow_logs` - (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` - (Optional) @@ -119,6 +121,8 @@ The following arguments are supported: 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 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` - (Optional) @@ -162,7 +166,8 @@ In addition to the arguments listed above, the following computed attributes are * `fingerprint` - 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. diff --git a/website/docs/r/compute_target_http_proxy.html.markdown b/website/docs/r/compute_target_http_proxy.html.markdown index f7c80fd34c6..7d0a02e9c89 100644 --- a/website/docs/r/compute_target_http_proxy.html.markdown +++ b/website/docs/r/compute_target_http_proxy.html.markdown @@ -25,6 +25,7 @@ description: |- Represents a TargetHttpProxy resource, which is used by one or more global forwarding rule to route incoming HTTP requests to a URL map. + To get more information about TargetHttpProxy, see: * [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetHttpProxies) diff --git a/website/docs/r/compute_target_https_proxy.html.markdown b/website/docs/r/compute_target_https_proxy.html.markdown index 64b08b2af7e..222c3b99aa6 100644 --- a/website/docs/r/compute_target_https_proxy.html.markdown +++ b/website/docs/r/compute_target_https_proxy.html.markdown @@ -25,6 +25,7 @@ description: |- Represents a TargetHttpsProxy resource, which is used by one or more global forwarding rule to route incoming HTTPS requests to a URL map. + To get more information about TargetHttpsProxy, see: * [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetHttpsProxies) diff --git a/website/docs/r/compute_target_ssl_proxy.html.markdown b/website/docs/r/compute_target_ssl_proxy.html.markdown index c63a1d52a11..0518523db31 100644 --- a/website/docs/r/compute_target_ssl_proxy.html.markdown +++ b/website/docs/r/compute_target_ssl_proxy.html.markdown @@ -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 service. + To get more information about TargetSslProxy, see: * [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetSslProxies) diff --git a/website/docs/r/compute_target_tcp_proxy.html.markdown b/website/docs/r/compute_target_tcp_proxy.html.markdown index c914933234f..eb526e58bdf 100644 --- a/website/docs/r/compute_target_tcp_proxy.html.markdown +++ b/website/docs/r/compute_target_tcp_proxy.html.markdown @@ -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 service. + To get more information about TargetTcpProxy, see: * [API documentation](https://cloud.google.com/compute/docs/reference/latest/targetTcpProxies) diff --git a/website/docs/r/compute_vpn_gateway.html.markdown b/website/docs/r/compute_vpn_gateway.html.markdown index 6993e928cdb..23531696a55 100644 --- a/website/docs/r/compute_vpn_gateway.html.markdown +++ b/website/docs/r/compute_vpn_gateway.html.markdown @@ -24,6 +24,7 @@ description: |- Represents a VPN gateway running in GCP. This virtual device is managed by Google, but used only by you. + To get more information about VpnGateway, see: * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/targetVpnGateways) diff --git a/website/docs/r/compute_vpn_tunnel.html.markdown b/website/docs/r/compute_vpn_tunnel.html.markdown index 3d7fdfa64db..1283d5ef77c 100644 --- a/website/docs/r/compute_vpn_tunnel.html.markdown +++ b/website/docs/r/compute_vpn_tunnel.html.markdown @@ -23,6 +23,7 @@ description: |- VPN tunnel resource. + To get more information about VpnTunnel, see: * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/vpnTunnels) diff --git a/website/docs/r/containeranalysis_note.html.markdown b/website/docs/r/containeranalysis_note.html.markdown index e01b5c8d548..4ec3b794460 100644 --- a/website/docs/r/containeranalysis_note.html.markdown +++ b/website/docs/r/containeranalysis_note.html.markdown @@ -23,6 +23,9 @@ description: |- 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: * [API documentation](https://cloud.google.com/container-analysis/api/reference/rest/) diff --git a/website/docs/r/filestore_instance.html.markdown b/website/docs/r/filestore_instance.html.markdown index 527c325c6eb..7b260c155ec 100644 --- a/website/docs/r/filestore_instance.html.markdown +++ b/website/docs/r/filestore_instance.html.markdown @@ -23,6 +23,9 @@ description: |- 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: * [API documentation](https://cloud.google.com/filestore/docs/reference/rest/v1beta1/projects.locations.instances/create) diff --git a/website/docs/r/monitoring_alert_policy.html.markdown b/website/docs/r/monitoring_alert_policy.html.markdown index c707f487918..ea2be900936 100644 --- a/website/docs/r/monitoring_alert_policy.html.markdown +++ b/website/docs/r/monitoring_alert_policy.html.markdown @@ -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 about this state. + To get more information about AlertPolicy, see: * [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.alertPolicies) diff --git a/website/docs/r/redis_instance.html.markdown b/website/docs/r/redis_instance.html.markdown index ebd07418297..a33cbfaa0a7 100644 --- a/website/docs/r/redis_instance.html.markdown +++ b/website/docs/r/redis_instance.html.markdown @@ -23,6 +23,7 @@ description: |- A Google Cloud Redis instance. + To get more information about Instance, see: * [API documentation](https://cloud.google.com/memorystore/docs/redis/reference/rest/) diff --git a/website/docs/r/resourcemanager_lien.html.markdown b/website/docs/r/resourcemanager_lien.html.markdown index 908ff6c7924..aa7a1f77cb9 100644 --- a/website/docs/r/resourcemanager_lien.html.markdown +++ b/website/docs/r/resourcemanager_lien.html.markdown @@ -24,6 +24,7 @@ description: |- A Lien represents an encumbrance on the actions that can be performed on a resource. + ## Example Usage ```hcl