Skip to content

Commit 07f7ef0

Browse files
add warning to mlengine and fix filestore_instance test (#13572) (#9749)
[upstream:d95ae8499ec23a87a11d93573a2b904cd768e4db] Signed-off-by: Modular Magician <[email protected]>
1 parent 9d88e0b commit 07f7ef0

File tree

4 files changed

+4
-156
lines changed

4 files changed

+4
-156
lines changed

google-beta/services/filestore/resource_filestore_instance_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ resource "google_filestore_instance" "instance" {
187187
networks {
188188
network = "default"
189189
modes = ["MODE_IPV4"]
190-
reserved_ip_range = "172.19.31.8/29"
190+
reserved_ip_range = "172.30.250.0/29"
191191
}
192192
}
193193
`, name)

google-beta/services/mlengine/resource_ml_engine_model.go

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ func ResourceMLEngineModel() *schema.Resource {
6565
tpgresource.DefaultProviderProject,
6666
),
6767

68+
DeprecationMessage: "This resource is deprecated at the API level and will be removed in a future version of Terraform.",
69+
6870
Schema: map[string]*schema.Schema{
6971
"name": {
7072
Type: schema.TypeString,

google-beta/services/mlengine/resource_ml_engine_model_generated_test.go

-145
This file was deleted.

website/docs/r/ml_engine_model.html.markdown

+1-10
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ description: |-
2020
---
2121

2222
# google_ml_engine_model
23+
~> **Warning:** This resource is deprecated at the API level and will be removed in a future version of Terraform.
2324

2425
Represents a machine learning solution.
2526

@@ -33,11 +34,6 @@ To get more information about Model, see:
3334
* How-to Guides
3435
* [Official Documentation](https://cloud.google.com/ai-platform/prediction/docs/deploying-models)
3536

36-
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
37-
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.jpy.wang%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_image=gcr.io%2Fcloudshell-images%2Fcloudshell%3Alatest&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md&cloudshell_working_dir=ml_model_basic&open_in_editor=main.tf" target="_blank">
38-
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
39-
</a>
40-
</div>
4137
## Example Usage - Ml Model Basic
4238

4339

@@ -48,11 +44,6 @@ resource "google_ml_engine_model" "default" {
4844
regions = ["us-central1"]
4945
}
5046
```
51-
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
52-
<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.jpy.wang%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_image=gcr.io%2Fcloudshell-images%2Fcloudshell%3Alatest&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md&cloudshell_working_dir=ml_model_full&open_in_editor=main.tf" target="_blank">
53-
<img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
54-
</a>
55-
</div>
5647
## Example Usage - Ml Model Full
5748

5849

0 commit comments

Comments
 (0)