From 275c904e661a0eb662c15b09b1ce58ee0b726380 Mon Sep 17 00:00:00 2001 From: "ankit.patil" Date: Thu, 28 Mar 2024 17:34:07 +0530 Subject: [PATCH 1/4] remove storage_size atrribute --- internal/provider/resource_appdata_dsource.go | 5 ----- internal/provider/resource_oracle_dsource.go | 4 ---- 2 files changed, 9 deletions(-) diff --git a/internal/provider/resource_appdata_dsource.go b/internal/provider/resource_appdata_dsource.go index 0f250e1..c44776b 100644 --- a/internal/provider/resource_appdata_dsource.go +++ b/internal/provider/resource_appdata_dsource.go @@ -283,10 +283,6 @@ func resourceAppdataDsource() *schema.Resource { Type: schema.TypeString, Computed: true, }, - "storage_size": { - Type: schema.TypeInt, - Computed: true, - }, "plugin_version": { Type: schema.TypeString, Computed: true, @@ -529,7 +525,6 @@ func resourceDsourceRead(ctx context.Context, d *schema.ResourceData, meta inter d.Set("database_type", result.GetDatabaseType()) d.Set("name", result.GetName()) d.Set("is_replica", result.GetIsReplica()) - d.Set("storage_size", result.GetStorageSize()) d.Set("plugin_version", result.GetPluginVersion()) d.Set("creation_date", result.GetCreationDate().String()) d.Set("group_name", result.GetGroupName()) diff --git a/internal/provider/resource_oracle_dsource.go b/internal/provider/resource_oracle_dsource.go index 2927ff7..e15ec5f 100644 --- a/internal/provider/resource_oracle_dsource.go +++ b/internal/provider/resource_oracle_dsource.go @@ -487,10 +487,6 @@ func resourceOracleDsource() *schema.Resource { Type: schema.TypeString, Computed: true, }, - "storage_size": { - Type: schema.TypeInt, - Computed: true, - }, "plugin_version": { Type: schema.TypeString, Computed: true, From 542dfc000f1bd1e58ba9df5c9f9ece6ff16b5b8f Mon Sep 17 00:00:00 2001 From: "ankit.patil" Date: Thu, 28 Mar 2024 20:45:15 +0530 Subject: [PATCH 2/4] version update --- .goreleaser.yml | 2 +- GNUmakefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 924629d..dc8100b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,7 +1,7 @@ # Visit https://goreleaser.com for documentation on how to customize this # behavior. env: - - PROVIDER_VERSION=3.2.1 + - PROVIDER_VERSION=3.2.2 before: hooks: # this is just an example and not a requirement for provider building/publishing diff --git a/GNUmakefile b/GNUmakefile index ae4f039..ba5690f 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -3,7 +3,7 @@ HOSTNAME=delphix.com NAMESPACE=dct NAME=delphix BINARY=terraform-provider-${NAME} -VERSION=3.2.1 +VERSION=3.2.2 OS_ARCH=darwin_amd64 default: install From 5b50e7d3f1141d586f725c24531d47e0bedd8409 Mon Sep 17 00:00:00 2001 From: "ankit.patil" Date: Thu, 28 Mar 2024 20:56:29 +0530 Subject: [PATCH 3/4] updated md files --- docs/resources/appdata_dsource.md | 3 +++ docs/resources/oracle_dsource.md | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/docs/resources/appdata_dsource.md b/docs/resources/appdata_dsource.md index 27ccd4a..cac94f5 100644 --- a/docs/resources/appdata_dsource.md +++ b/docs/resources/appdata_dsource.md @@ -13,6 +13,9 @@ The Appdata dSource resource allows Terraform to create and delete AppData dSour ## Upgrade Guide * Any new dSource created post Version>=3.2.1 can set `wait_time` to wait for snapshot creation , dSources created prior to this version will not support this capability +## Note +* `status` and `enabled` are subject to change in the state file based on the dSource state. + ## Example Usage The linking of a dSource can be configured through various ingestion approaches. Each configuration is customized to the connector and its supported options. The three PostgreSQL parameter sets below show working examples. diff --git a/docs/resources/oracle_dsource.md b/docs/resources/oracle_dsource.md index dd50df0..88df7a2 100644 --- a/docs/resources/oracle_dsource.md +++ b/docs/resources/oracle_dsource.md @@ -10,6 +10,12 @@ The Oracle dSource resource allows Terraform to create and delete Oracle dSource * Data Control Tower v10.0.1+ is required for dSource management. Lower versions are not supported. * This Oracle dSource Resource only supports Oracle. See the AppData dSource Resource for the support of other connectors (i.e. AppData), such as PostgreSQL and SAP HANA. The Delphix Provider does not support SQL Server or SAP ASE. +## Upgrade Guide +* Any new dSource created post Version>=3.2.1 can set `wait_time` to wait for snapshot creation , dSources created prior to this version will not support this capability + +## Note +* `status` and `enabled` are subject to change in the state file based on the dSource state. + ## Example Usage * The linking of a dSource can be performed via direct ingestion as shown in the example below From bb42f19eceaf211c4094198ee49e91c5d6f8660e Mon Sep 17 00:00:00 2001 From: "ankit.patil" Date: Thu, 28 Mar 2024 20:57:35 +0530 Subject: [PATCH 4/4] minor update --- docs/resources/appdata_dsource.md | 2 +- docs/resources/oracle_dsource.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/resources/appdata_dsource.md b/docs/resources/appdata_dsource.md index cac94f5..c149638 100644 --- a/docs/resources/appdata_dsource.md +++ b/docs/resources/appdata_dsource.md @@ -14,7 +14,7 @@ The Appdata dSource resource allows Terraform to create and delete AppData dSour * Any new dSource created post Version>=3.2.1 can set `wait_time` to wait for snapshot creation , dSources created prior to this version will not support this capability ## Note -* `status` and `enabled` are subject to change in the state file based on the dSource state. +* `status` and `enabled` are subject to change in the tfstate file based on the dSource state. ## Example Usage diff --git a/docs/resources/oracle_dsource.md b/docs/resources/oracle_dsource.md index 88df7a2..49da1d6 100644 --- a/docs/resources/oracle_dsource.md +++ b/docs/resources/oracle_dsource.md @@ -14,7 +14,7 @@ The Oracle dSource resource allows Terraform to create and delete Oracle dSource * Any new dSource created post Version>=3.2.1 can set `wait_time` to wait for snapshot creation , dSources created prior to this version will not support this capability ## Note -* `status` and `enabled` are subject to change in the state file based on the dSource state. +* `status` and `enabled` are subject to change in the tfstate file based on the dSource state. ## Example Usage