Skip to content

Commit 685bea6

Browse files
Merge pull request #308 from ibm-vpc/VNIp2-SDK-1.59.0
VNIp2 Supports for official provider v1.59.0
2 parents fdc346a + e1a710b commit 685bea6

File tree

69 files changed

+42198
-41688
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+42198
-41688
lines changed

.secrets.baseline

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2119,6 +2119,16 @@
21192119
"verified_result": null
21202120
}
21212121
],
2122+
"ibm/service/database/resource_ibm_database_elasticsearch_platinum_test.go": [
2123+
{
2124+
"hashed_secret": "10c28f9cf0668595d45c1090a7b4a2ae98edfa58",
2125+
"is_secret": false,
2126+
"is_verified": false,
2127+
"line_number": 779,
2128+
"type": "Secret Keyword",
2129+
"verified_result": null
2130+
}
2131+
],
21222132
"ibm/service/database/resource_ibm_database_elasticsearch_test.go": [
21232133
{
21242134
"hashed_secret": "10c28f9cf0668595d45c1090a7b4a2ae98edfa58",

CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,70 @@
1+
# 1.59.0 (Oct 30, 2023)
2+
3+
Features
4+
* Support Usage Reports
5+
- **Datasources**
6+
- ibm_billing_snapshot_list
7+
- **Resources**
8+
- ibm_billing_report_snapshot
9+
10+
* Support Power Instance
11+
- **Datasources**
12+
- ibm_pi_workspace
13+
- ibm_pi_workspaces
14+
- ibm_pi_datacenter
15+
- ibm_pi_datacenters
16+
17+
* Support Schematics Agents
18+
- **Datasources**
19+
- ibm_schematics_policies
20+
- ibm_schematics_policy
21+
- ibm_schematics_agents
22+
- ibm_schematics_agent
23+
- ibm_schematics_agent_prs
24+
- ibm_schematics_agent_deploy
25+
- ibm_schematics_agent_health
26+
- **Resources**
27+
- ibm_schematics_policy
28+
- ibm_schematics_agent
29+
- ibm_schematics_agent_prs
30+
- ibm_schematics_agent_deploy
31+
- ibm_schematics_agent_health
32+
33+
* Support Event Notification
34+
- **Datasources**
35+
- ibm_en_destination_custom_email
36+
- ibm_en_subscription_custom_email
37+
- **Resources**
38+
- ibm_en_destination_custom_email
39+
- ibm_en_subscription_custom_email
40+
41+
42+
Enhancements
43+
* Get secret by name ([4825](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4825))
44+
* VPN for VPC: Customer should be able to recover their gateway or server for unhealthy status ([4858](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4858))
45+
* support for tf 1.5 in schematics workspace ([4853](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4853))
46+
* Deprecated match_resource_types and Intoduced match_resource_type ([4863](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4863))
47+
* Enterprise BaaS feature ([4845](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4845))
48+
* sarama golang library update ([4810](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4810))
49+
* Adding NUMA and Profile Status to instance, instance profile and dedicated hosts ([4871](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4871))
50+
* update terraform as per latest eventstreams go sdk release 1.4.0 ([4862](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4862))
51+
* Add path to invoke update without determining changed CRN data, add validator for name of secrets ([4859](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4859))
52+
* Feature: ReplicationEnabledField for Storage Pool ([4875](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4875))
53+
* Remove deprecated scaling attributes ([4481](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4481))
54+
* update CD Go SDK version ([4887](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4887))
55+
* Adding updates to the scc resources/datasources ([4865](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4865))
56+
* Add support for Elasticsearch Platinum ([4712](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4712))
57+
* Add support for security groups for network load balancers ([4888](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4888))
58+
59+
60+
Bug Fixes
61+
* Fix handling of bundle_certs in Secrets Manager public cert ([4854](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4854))
62+
* add description in docs for Key Protect ([4846](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4846))
63+
* Update iam_service_policy.html.markdown ([4836](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4836))
64+
* v1.58.0 ibm_container_cluster_config: new endpoint_type returning self-signed private endpoint ([4861](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4861))
65+
* Doc correction: Share mount target doc corrections ([4889](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4889))
66+
* Fix indentation for subcategory ([4891](https://github.com/IBM-Cloud/terraform-provider-ibm/pull/4891))
67+
168
# 1.59.0-beta0 (Oct 25, 2023)
269

370
Features

examples/ibm-database/main.tf

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,15 @@ resource "ibm_database" "test_acc" {
3636
tags = ["tag1", "tag2"]
3737

3838
// adminpassword = "password12"
39-
members_memory_allocation_mb = 3072
40-
members_disk_allocation_mb = 20480
39+
group {
40+
group_id = "member"
41+
memory {
42+
allocation_mb = 2048
43+
}
44+
disk {
45+
allocation_mb = 10240
46+
}
47+
}
4148

4249
users {
4350
name = "user123"

go.mod

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/IBM/cloudant-go-sdk v0.0.43
1414
github.com/IBM/code-engine-go-sdk v0.0.0-20230606173928-4863db061918
1515
github.com/IBM/container-registry-go-sdk v1.1.0
16-
github.com/IBM/continuous-delivery-go-sdk v1.2.0
16+
github.com/IBM/continuous-delivery-go-sdk v1.2.1
1717
github.com/IBM/event-notifications-go-admin-sdk v0.2.7
1818
github.com/IBM/eventstreams-go-sdk v1.4.0
1919
github.com/IBM/go-sdk-core/v3 v3.2.4
@@ -27,7 +27,7 @@ require (
2727
github.com/IBM/platform-services-go-sdk v0.52.0
2828
github.com/IBM/project-go-sdk v0.0.10
2929
github.com/IBM/push-notifications-go-sdk v0.0.0-20210310100607-5790b96c47f5
30-
github.com/IBM/scc-go-sdk/v5 v5.1.2
30+
github.com/IBM/scc-go-sdk/v5 v5.1.3
3131
github.com/IBM/schematics-go-sdk v0.2.2
3232
github.com/IBM/secrets-manager-go-sdk/v2 v2.0.1
3333
github.com/IBM/vpc-beta-go-sdk v0.6.0
@@ -70,7 +70,6 @@ require (
7070
require (
7171
cloud.google.com/go/kms v1.10.1 // indirect
7272
cloud.google.com/go/monitoring v1.13.0 // indirect
73-
github.com/Bowery/prompt v0.0.0-20190916142128-fa8279994f75 // indirect
7473
github.com/Logicalis/asn1 v0.0.0-20190312173541-d60463189a56 // indirect
7574
github.com/PromonLogicalis/asn1 v0.0.0-20190312173541-d60463189a56 // indirect
7675
github.com/agext/levenshtein v1.2.2 // indirect
@@ -87,7 +86,6 @@ require (
8786
github.com/coreos/pkg v0.0.0-20220810130054-c7d1c02cb6cf // indirect
8887
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
8988
github.com/dchest/bcrypt_pbkdf v0.0.0-20150205184540-83f37f9c154a // indirect
90-
github.com/dchest/safefile v0.0.0-20151022103144-855e8d98f185 // indirect
9189
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
9290
github.com/eapache/go-resiliency v1.4.0 // indirect
9391
github.com/eapache/go-xerial-snappy v0.0.0-20230731223053-c322873962e3 // indirect
@@ -119,7 +117,6 @@ require (
119117
github.com/google/gnostic v0.6.9 // indirect
120118
github.com/google/go-querystring v1.1.0 // indirect
121119
github.com/google/gofuzz v1.2.0 // indirect
122-
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
123120
github.com/hashicorp/errwrap v1.1.0 // indirect
124121
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
125122
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
@@ -160,7 +157,6 @@ require (
160157
github.com/jmespath/go-jmespath v0.4.0 // indirect
161158
github.com/josharian/intern v1.0.0 // indirect
162159
github.com/json-iterator/go v1.1.12 // indirect
163-
github.com/kardianos/govendor v1.0.9 // indirect
164160
github.com/klauspost/compress v1.16.7 // indirect
165161
github.com/kube-object-storage/lib-bucket-provisioner v0.0.0-20221122204822-d1a8c34382f1 // indirect
166162
github.com/leodido/go-urn v1.2.3 // indirect
@@ -172,8 +168,6 @@ require (
172168
github.com/mitchellh/copystructure v1.2.0 // indirect
173169
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
174170
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
175-
github.com/mitchellh/gox v1.0.1 // indirect
176-
github.com/mitchellh/iochan v1.0.0 // indirect
177171
github.com/mitchellh/mapstructure v1.5.0 // indirect
178172
github.com/mitchellh/reflectwalk v1.0.2 // indirect
179173
github.com/moby/spdystream v0.2.0 // indirect
@@ -214,13 +208,10 @@ require (
214208
golang.org/x/term v0.13.0 // indirect
215209
golang.org/x/text v0.13.0 // indirect
216210
golang.org/x/time v0.3.0 // indirect
217-
golang.org/x/tools v0.12.0 // indirect
218-
golang.org/x/tools/cmd/cover v0.1.0-deprecated // indirect
219-
golang.org/x/tools/go/vcs v0.1.0-deprecated // indirect
220211
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
221212
google.golang.org/appengine v1.6.7 // indirect
222213
google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 // indirect
223-
google.golang.org/grpc v1.57.0 // indirect
214+
google.golang.org/grpc v1.57.1 // indirect
224215
google.golang.org/protobuf v1.31.0 // indirect
225216
gopkg.in/go-playground/validator.v9 v9.31.0 // indirect
226217
gopkg.in/inf.v0 v0.9.1 // indirect

go.sum

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZ
9393
github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk=
9494
github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo=
9595
github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU=
96-
github.com/Bowery/prompt v0.0.0-20190916142128-fa8279994f75 h1:xGHheKK44eC6K0u5X+DZW/fRaR1LnDdqPHMZMWx5fv8=
97-
github.com/Bowery/prompt v0.0.0-20190916142128-fa8279994f75/go.mod h1:4/6eNcqZ09BZ9wLK3tZOjBA1nDj+B0728nlX5YRlSmQ=
9896
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
9997
github.com/BurntSushi/toml v1.2.0 h1:Rt8g24XnyGTyglgET/PRUNlrUeu9F5L+7FilkXfZgs0=
10098
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
@@ -125,12 +123,10 @@ github.com/IBM/code-engine-go-sdk v0.0.0-20230606173928-4863db061918 h1:RfHezAVs
125123
github.com/IBM/code-engine-go-sdk v0.0.0-20230606173928-4863db061918/go.mod h1:IP6U/1NxgxzPeYdyiEwMaZyzelTw82JGHWl7bY78eQM=
126124
github.com/IBM/container-registry-go-sdk v1.1.0 h1:sYyknIod8R4RJZQqAheiduP6wbSTphE9Ag8ho28yXjc=
127125
github.com/IBM/container-registry-go-sdk v1.1.0/go.mod h1:4TwsCnQtVfZ4Vkapy/KPvQBKFc3VOyUZYkwRU4FTPrs=
128-
github.com/IBM/continuous-delivery-go-sdk v1.2.0 h1:FcgB5EvVrZLUnyR4S/mBocHHo9gJ5IQkSlCa6nqmr2A=
129-
github.com/IBM/continuous-delivery-go-sdk v1.2.0/go.mod h1:oW51tS5/MDCcEM7lUvjK1H9GFC/oKsRbyYfmvGyMGmw=
126+
github.com/IBM/continuous-delivery-go-sdk v1.2.1 h1:MVclWmjW6LevbYgrA7PGJzS+Dmqy3/JBYUpBp/ct+Vk=
127+
github.com/IBM/continuous-delivery-go-sdk v1.2.1/go.mod h1:oW51tS5/MDCcEM7lUvjK1H9GFC/oKsRbyYfmvGyMGmw=
130128
github.com/IBM/event-notifications-go-admin-sdk v0.2.7 h1:Y6YPiXZO3/oAhs7rY6ekowJAsf9J05g2UFq3wjFkuCs=
131129
github.com/IBM/event-notifications-go-admin-sdk v0.2.7/go.mod h1:iI6/TJt4GQBDsl8NYzoIYGnsNjMG0kOVIEl7mcM5v1E=
132-
github.com/IBM/eventstreams-go-sdk v1.2.0 h1:eP0afHArMGjwhGqvZAhhu/3EDKRch2JehpveqF1TUjs=
133-
github.com/IBM/eventstreams-go-sdk v1.2.0/go.mod h1:2tuAxaYLctfqfr5jvyqSrxxEQGMwYPm3yJGWSj85YVQ=
134130
github.com/IBM/eventstreams-go-sdk v1.4.0 h1:yS/Ns29sBOe8W2tynQmz9HTKqQZ0ckse4Py5Oy/F2rM=
135131
github.com/IBM/eventstreams-go-sdk v1.4.0/go.mod h1:2tuAxaYLctfqfr5jvyqSrxxEQGMwYPm3yJGWSj85YVQ=
136132
github.com/IBM/go-sdk-core/v3 v3.0.0/go.mod h1:JI5NS2+iCoY/D8Oq3JNEZNA7qO42agu6fnaUmDsRcJA=
@@ -167,8 +163,8 @@ github.com/IBM/push-notifications-go-sdk v0.0.0-20210310100607-5790b96c47f5 h1:N
167163
github.com/IBM/push-notifications-go-sdk v0.0.0-20210310100607-5790b96c47f5/go.mod h1:b07XHUVh0XYnQE9s2mqgjYST1h9buaQNqN4EcKhOsX0=
168164
github.com/IBM/sarama v1.41.2 h1:ZDBZfGPHAD4uuAtSv4U22fRZBgst0eEwGFzLj0fb85c=
169165
github.com/IBM/sarama v1.41.2/go.mod h1:xdpu7sd6OE1uxNdjYTSKUfY8FaKkJES9/+EyjSgiGQk=
170-
github.com/IBM/scc-go-sdk/v5 v5.1.2 h1:9axGtNlP3bHhoE9yJgCuc+g5/VdyhYqfhZ5oS3ovCFI=
171-
github.com/IBM/scc-go-sdk/v5 v5.1.2/go.mod h1:YtAVlzq10bwR82QX4ZavhDIwa1s85RuVO9N/KmXVcuk=
166+
github.com/IBM/scc-go-sdk/v5 v5.1.3 h1:8zqJx/HgChTlMaC21HzthIR4HbFkuJ3dR/D68254jRg=
167+
github.com/IBM/scc-go-sdk/v5 v5.1.3/go.mod h1:YtAVlzq10bwR82QX4ZavhDIwa1s85RuVO9N/KmXVcuk=
172168
github.com/IBM/schematics-go-sdk v0.2.2 h1:8S3hoVLzF/ZRgWDaLqwHnLmZvlEBHCKgHszmMh7yD2E=
173169
github.com/IBM/schematics-go-sdk v0.2.2/go.mod h1:Tw2OSAPdpC69AxcwoyqcYYaGTTW6YpERF9uNEU+BFRQ=
174170
github.com/IBM/secrets-manager-go-sdk/v2 v2.0.1 h1:0Ouu31RsuOLdH26oNsnPErEjctWTplLEIXxwExnTZT0=
@@ -364,8 +360,6 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
364360
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
365361
github.com/dchest/bcrypt_pbkdf v0.0.0-20150205184540-83f37f9c154a h1:saTgr5tMLFnmy/yg3qDTft4rE5DY2uJ/cCxCe3q0XTU=
366362
github.com/dchest/bcrypt_pbkdf v0.0.0-20150205184540-83f37f9c154a/go.mod h1:Bw9BbhOJVNR+t0jCqx2GC6zv0TGBsShs56Y3gfSCvl0=
367-
github.com/dchest/safefile v0.0.0-20151022103144-855e8d98f185 h1:3T8ZyTDp5QxTx3NU48JVb2u+75xc040fofcBaN+6jPA=
368-
github.com/dchest/safefile v0.0.0-20151022103144-855e8d98f185/go.mod h1:cFRxtTwTOJkz2x3rQUNCYKWC93yP1VKjR8NUhqFxZNU=
369363
github.com/denisenkom/go-mssqldb v0.0.0-20190412130859-3b1d194e553a/go.mod h1:zAg7JM8CkOJ43xKXIj7eRO9kmWm/TW578qo+oDO6tuM=
370364
github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba h1:p6poVbjHDkKa+wtC8frBMwQtT3BmqGYBjzMwJ63tuR4=
371365
github.com/dgryski/go-metro v0.0.0-20180109044635-280f6062b5bc h1:8WFBn63wegobsYAX0YjD+8suexZDga5CctH4CCTx2+8=
@@ -741,8 +735,6 @@ github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLe
741735
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
742736
github.com/google/pprof v0.0.0-20230510103437-eeec1cb781c3 h1:2XF1Vzq06X+inNqgJ9tRnGuw+ZVCB3FazXODD6JE1R8=
743737
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
744-
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4=
745-
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ=
746738
github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
747739
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
748740
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
@@ -892,7 +884,6 @@ github.com/hashicorp/go-uuid v1.0.2-0.20191001231223-f32f5fe8d6a8/go.mod h1:6SBZ
892884
github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
893885
github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8=
894886
github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
895-
github.com/hashicorp/go-version v1.0.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
896887
github.com/hashicorp/go-version v1.1.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
897888
github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
898889
github.com/hashicorp/go-version v1.5.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
@@ -1077,8 +1068,6 @@ github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVY
10771068
github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
10781069
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
10791070
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
1080-
github.com/kardianos/govendor v1.0.9 h1:WOH3FcVI9eOgnIZYg96iwUwrL4eOVx+aQ66oyX2R8Yc=
1081-
github.com/kardianos/govendor v1.0.9/go.mod h1:yvmR6q9ZZ7nSF5Wvh40v0wfP+3TwwL8zYQp+itoZSVM=
10821071
github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4=
10831072
github.com/karrick/godirwalk v1.10.3/go.mod h1:RoGL9dQei4vP9ilrpETWE8CLOZ1kiN0LhBygSwrAsHA=
10841073
github.com/kelseyhightower/envconfig v1.3.0/go.mod h1:cccZRl6mQpaq41TPp5QxidR+Sa3axMbJDNb//FQX6Gg=
@@ -1193,10 +1182,7 @@ github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp
11931182
github.com/mitchellh/go-wordwrap v1.0.0 h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4=
11941183
github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo=
11951184
github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg=
1196-
github.com/mitchellh/gox v1.0.1 h1:x0jD3dcHk9a9xPSDN6YEL4xL6Qz0dvNYm8yZqui5chI=
1197-
github.com/mitchellh/gox v1.0.1/go.mod h1:ED6BioOGXMswlXa2zxfh/xdd5QhwYliBFn9V18Ap4z4=
11981185
github.com/mitchellh/hashstructure v1.0.0/go.mod h1:QjSHrPWS+BGUVBYkbTZWEnOh3G1DutKwClXU/ABz6AQ=
1199-
github.com/mitchellh/iochan v1.0.0 h1:C+X3KsSTLFVBr/tK1eYN/vs4rJcvsiLU338UhYPJWeY=
12001186
github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY=
12011187
github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
12021188
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
@@ -2074,10 +2060,6 @@ golang.org/x/tools v0.9.1/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc=
20742060
golang.org/x/tools v0.9.3/go.mod h1:owI94Op576fPu3cIGQeHs3joujW/2Oc6MtlxbF5dfNc=
20752061
golang.org/x/tools v0.12.0 h1:YW6HUoUmYBpwSgyaGaZq1fHjrBjX1rlpZ54T6mu2kss=
20762062
golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM=
2077-
golang.org/x/tools/cmd/cover v0.1.0-deprecated h1:Rwy+mWYz6loAF+LnG1jHG/JWMHRMMC2/1XX3Ejkx9lA=
2078-
golang.org/x/tools/cmd/cover v0.1.0-deprecated/go.mod h1:hMDiIvlpN1NoVgmjLjUJE9tMHyxHjFX7RuQ+rW12mSA=
2079-
golang.org/x/tools/go/vcs v0.1.0-deprecated h1:cOIJqWBl99H1dH5LWizPa+0ImeeJq3t3cJjaeOWUAL4=
2080-
golang.org/x/tools/go/vcs v0.1.0-deprecated/go.mod h1:zUrvATBAvEI9535oC0yWYsLsHIV4Z7g63sNPVMtuBy8=
20812063
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
20822064
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
20832065
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
@@ -2203,8 +2185,8 @@ google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAG
22032185
google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
22042186
google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34=
22052187
google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k=
2206-
google.golang.org/grpc v1.57.0 h1:kfzNeI/klCGD2YPMUlaGNT3pxvYfga7smW3Vth8Zsiw=
2207-
google.golang.org/grpc v1.57.0/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo=
2188+
google.golang.org/grpc v1.57.1 h1:upNTNqv0ES+2ZOOqACwVtS3Il8M12/+Hz41RCPzAjQg=
2189+
google.golang.org/grpc v1.57.1/go.mod h1:Sd+9RMTACXwmub0zcNY2c4arhtrbBYD1AUHI/dt16Mo=
22082190
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
22092191
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
22102192
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=

ibm/service/database/data_source_ibm_database.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,6 @@ func DataSourceIBMDatabaseInstance() *schema.Resource {
8989
Type: schema.TypeString,
9090
Computed: true,
9191
},
92-
"members_memory_allocation_mb": {
93-
Description: "Memory allocation required for cluster",
94-
Type: schema.TypeInt,
95-
Computed: true,
96-
Deprecated: "This field is deprecated please use groups",
97-
},
98-
"members_disk_allocation_mb": {
99-
Description: "Disk allocation required for cluster",
100-
Type: schema.TypeInt,
101-
Computed: true,
102-
Deprecated: "This field is deprecated please use groups",
103-
},
10492
"platform_options": {
10593
Description: "Platform-specific options for this deployment.r",
10694
Type: schema.TypeSet,
@@ -668,8 +656,6 @@ func dataSourceIBMDatabaseInstanceRead(d *schema.ResourceData, meta interface{})
668656
return fmt.Errorf("[ERROR] Error getting database groups: %s", err)
669657
}
670658
d.Set("groups", flex.FlattenIcdGroups(groupList))
671-
d.Set("members_memory_allocation_mb", groupList.Groups[0].Memory.AllocationMb)
672-
d.Set("members_disk_allocation_mb", groupList.Groups[0].Disk.AllocationMb)
673659

674660
getAutoscalingConditionsOptions := &clouddatabasesv5.GetAutoscalingConditionsOptions{
675661
ID: &instance.ID,

0 commit comments

Comments
 (0)