Skip to content

Commit

Permalink
Merge pull request hashicorp#2142 from modular-magician/codegen-pr-518
Browse files Browse the repository at this point in the history
Add deprecation message for generated beta fields.
  • Loading branch information
paddycarver authored Oct 4, 2018
2 parents 6a21ae4 + 74e14c1 commit edbf7b3
Show file tree
Hide file tree
Showing 30 changed files with 74 additions and 16 deletions.
3 changes: 3 additions & 0 deletions docs/r/binaryauthorization_attestor.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
3 changes: 3 additions & 0 deletions docs/r/binaryauthorization_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
10 changes: 7 additions & 3 deletions docs/r/compute_address.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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.


Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_autoscaler.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_backend_bucket.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_disk.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 5 additions & 2 deletions docs/r/compute_firewall.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
13 changes: 9 additions & 4 deletions docs/r/compute_forwarding_rule.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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.


Expand Down
16 changes: 11 additions & 5 deletions docs/r/compute_global_address.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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.

Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_health_check.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_http_health_check.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_https_health_check.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_region_autoscaler.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions docs/r/compute_region_disk.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_route.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_router.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_ssl_certificate.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_ssl_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
9 changes: 7 additions & 2 deletions docs/r/compute_subnetwork.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -111,14 +112,17 @@ 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)
An array of configurations for secondary IP ranges for VM instances
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)
Expand Down Expand Up @@ -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.


Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_target_http_proxy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_target_https_proxy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_target_ssl_proxy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_target_tcp_proxy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_vpn_gateway.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/compute_vpn_tunnel.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions docs/r/containeranalysis_note.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
3 changes: 3 additions & 0 deletions docs/r/filestore_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/r/monitoring_alert_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading

0 comments on commit edbf7b3

Please sign in to comment.