remove min_version from a bunch of fields that are in GA now (#2167)

<!-- This change is generated by MagicModules. -->
/cc @danawillow
This commit is contained in:
The Magician 2018-10-04 09:51:57 -07:00 committed by Dana Hoffman
parent 8541ee130b
commit 16ff1363a7
12 changed files with 17 additions and 51 deletions

View File

@ -76,13 +76,10 @@ See https://terraform.io/docs/provider/google/provider_versions.html for more de
Elem: &schema.Schema{Type: schema.TypeString},
},
"network_tier": {
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.`,
Type: schema.TypeString,
Computed: true,
Optional: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{"PREMIUM", "STANDARD", ""}, false),
},
"region": {

View File

@ -144,9 +144,6 @@ 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,

View File

@ -103,13 +103,10 @@ See https://terraform.io/docs/provider/google/provider_versions.html for more de
DiffSuppressFunc: compareSelfLinkOrResourceName,
},
"network_tier": {
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.`,
Type: schema.TypeString,
Computed: true,
Optional: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{"PREMIUM", "STANDARD", ""}, false),
},
"port_range": {

View File

@ -50,12 +50,9 @@ func resourceComputeGlobalAddress() *schema.Resource {
ForceNew: true,
},
"address_type": {
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.`,
Type: schema.TypeString,
Optional: true,
ForceNew: true,
ValidateFunc: validation.StringInSlice([]string{"EXTERNAL", "INTERNAL", ""}, false),
DiffSuppressFunc: emptyOrDefaultStringSuppress("EXTERNAL"),
Default: "EXTERNAL",

View File

@ -38,9 +38,6 @@ 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),

View File

@ -102,9 +102,6 @@ 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,
@ -121,9 +118,6 @@ See https://terraform.io/docs/provider/google/provider_versions.html for more de
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": {
@ -146,9 +140,6 @@ See https://terraform.io/docs/provider/google/provider_versions.html for more de
"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,

View File

@ -109,8 +109,7 @@ 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. 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.
specified, it is assumed to be PREMIUM.
* `subnetwork` -
(Optional)

View File

@ -123,8 +123,7 @@ 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. 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.
is unspecified, the firewall rule will be enabled.
* `enable_logging` -
(Optional)

View File

@ -189,8 +189,7 @@ 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. 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.
specified, it is assumed to be PREMIUM.
* `service_label` -
(Optional)

View File

@ -84,8 +84,7 @@ The following arguments are supported:
(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. 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.
* INTERNAL indicates internal IP ranges belonging to some network.
* `purpose` -
(Optional)

View File

@ -38,8 +38,6 @@ 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:

View File

@ -112,8 +112,7 @@ The following arguments are supported:
* `enable_flow_logs` -
(Optional)
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.
Whether to enable flow logging for this subnetwork.
* `secondary_ip_range` -
(Optional)
@ -121,8 +120,6 @@ 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)
@ -166,8 +163,7 @@ 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. 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.
updates of this resource.
* `self_link` - The URI of the created resource.