mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-01 16:21:06 +00:00
Change deprecation message.
This commit is contained in:
parent
a8747b4909
commit
ee67a87a65
@ -20,7 +20,7 @@ func dataSourceGoogleContainerEngineVersions() *schema.Resource {
|
||||
Optional: true,
|
||||
},
|
||||
"region": {
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
ConflictsWith: []string{"zone"},
|
||||
|
@ -12,14 +12,14 @@ import (
|
||||
|
||||
var IamComputeSubnetworkSchema = map[string]*schema.Schema{
|
||||
"subnetwork": {
|
||||
Deprecated: "This resource is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This resource is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeString,
|
||||
Required: true,
|
||||
ForceNew: true,
|
||||
},
|
||||
|
||||
"project": {
|
||||
Deprecated: "This resource is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This resource is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
@ -27,7 +27,7 @@ var IamComputeSubnetworkSchema = map[string]*schema.Schema{
|
||||
},
|
||||
|
||||
"region": {
|
||||
Deprecated: "This resource is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This resource is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
|
@ -142,7 +142,7 @@ var schemaNodeConfig = &schema.Schema{
|
||||
},
|
||||
|
||||
"taint": {
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeList,
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
@ -170,7 +170,7 @@ var schemaNodeConfig = &schema.Schema{
|
||||
},
|
||||
|
||||
"workload_metadata_config": {
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeList,
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
|
@ -159,7 +159,7 @@ func resourceComputeBackendService() *schema.Resource {
|
||||
},
|
||||
|
||||
"custom_request_headers": &schema.Schema{
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeSet,
|
||||
Optional: true,
|
||||
Elem: &schema.Schema{Type: schema.TypeString},
|
||||
|
@ -56,7 +56,7 @@ func resourceComputeGlobalForwardingRule() *schema.Resource {
|
||||
},
|
||||
|
||||
"labels": &schema.Schema{
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeMap,
|
||||
Optional: true,
|
||||
Elem: &schema.Schema{Type: schema.TypeString},
|
||||
|
@ -38,7 +38,7 @@ func resourceComputeInstanceGroupManager() *schema.Resource {
|
||||
},
|
||||
|
||||
"version": &schema.Schema{
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeList,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
@ -160,7 +160,7 @@ func resourceComputeInstanceGroupManager() *schema.Resource {
|
||||
},
|
||||
|
||||
"auto_healing_policies": &schema.Schema{
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeList,
|
||||
Optional: true,
|
||||
MaxItems: 1,
|
||||
@ -182,7 +182,7 @@ func resourceComputeInstanceGroupManager() *schema.Resource {
|
||||
},
|
||||
|
||||
"rolling_update_policy": &schema.Schema{
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeList,
|
||||
Optional: true,
|
||||
MaxItems: 1,
|
||||
|
@ -97,7 +97,7 @@ func resourceContainerCluster() *schema.Resource {
|
||||
},
|
||||
|
||||
"region": {
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Computed: true,
|
||||
@ -202,7 +202,7 @@ func resourceContainerCluster() *schema.Resource {
|
||||
},
|
||||
|
||||
"enable_binary_authorization": {
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeBool,
|
||||
Optional: true,
|
||||
Default: false,
|
||||
@ -216,7 +216,7 @@ func resourceContainerCluster() *schema.Resource {
|
||||
},
|
||||
|
||||
"enable_tpu": {
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeBool,
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
@ -395,7 +395,7 @@ func resourceContainerCluster() *schema.Resource {
|
||||
},
|
||||
|
||||
"pod_security_policy_config": {
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeList,
|
||||
Optional: true,
|
||||
MaxItems: 1,
|
||||
@ -505,7 +505,7 @@ func resourceContainerCluster() *schema.Resource {
|
||||
},
|
||||
|
||||
"private_cluster": {
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeBool,
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
@ -513,7 +513,7 @@ func resourceContainerCluster() *schema.Resource {
|
||||
},
|
||||
|
||||
"master_ipv4_cidr_block": {
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
|
@ -54,7 +54,7 @@ func resourceContainerNodePool() *schema.Resource {
|
||||
ForceNew: true,
|
||||
},
|
||||
"region": &schema.Schema{
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
@ -86,7 +86,7 @@ var schemaNodePool = map[string]*schema.Schema{
|
||||
},
|
||||
|
||||
"max_pods_per_node": &schema.Schema{
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use terraform-provider-google-beta to continue using it.",
|
||||
Deprecated: "This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider-versions.html for more details.",
|
||||
Type: schema.TypeInt,
|
||||
Optional: true,
|
||||
ForceNew: true,
|
||||
|
Loading…
Reference in New Issue
Block a user