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 diff --git a/docs/resources/appdata_dsource.md b/docs/resources/appdata_dsource.md index 27ccd4a..c149638 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 tfstate 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..49da1d6 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 tfstate 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 diff --git a/internal/provider/resource_appdata_dsource.go b/internal/provider/resource_appdata_dsource.go index 2260b1a..0f54c8f 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 b2d99dd..c0066ce 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,