Skip to content

Commit 01a8bd1

Browse files
addressed review comments
1 parent cc72a84 commit 01a8bd1

File tree

4 files changed

+10
-28
lines changed

4 files changed

+10
-28
lines changed

docs/resources/appdata_dsource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,6 @@ resource "delphix_appdata_dsource" "dsource_name" {
181181

182182
* `sync_parameters` - (Optional) The JSON payload conforming to the snapshot parameters definition in a LUA toolkit or platform plugin.
183183

184-
* `skip_wait_for_snapshot_creation` - (Optional) By default this resource waits for snapshot to be created post dsource creation , default behaviour can be skipped by setting this parameter to true.
184+
* `skip_wait_for_snapshot_creation` - (Optional) By default this resource will wait for a snapshot to be created post-dSource creation. This ensure a snapshot is available during the VDB provisioning. This behavior can be skipped by setting this parameter to `true`.
185185

186-
* `wait_time` - (Optional) By default this resource waits for snapshot to be created for 3 minuites , this pameter can be used to set the wait_time in minutes as per need.
186+
* `wait_time` - (Optional) By default this resource waits 3 minutes for a snapshot to be created. Increase the integer value as needed for larger dSource snapshots. This parameter can be ignored if 'skip_wait_for_snapshot_creation' is set to `true`.

docs/resources/database_postgresql.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Resource: <resource name> delphix_database_postgresql
22

3-
In Delphix, a databsae/source is required in the environment using which a dsource can be created.
3+
In the Delphix Platform, a Database (or Source Config) identifies the environment's location from which a specific source dataset can be ingested from. dSources are then created from these Databases.
44

55
## System Requirements
66

7-
* Data Control Tower v14.0.1+ is required for dSource management. Lower versions are not supported.
8-
* This Databse PostgresSql Resource only supports POSTGRES , This resource does not support Oracle, SQL Server, or SAP ASE.
7+
* Data Control Tower v14.0.1+ is required for database management. Lower versions are not supported.
8+
* The Database PostgreSQL resource only supports the Delphix PostgreSQL database type (POSTGRES). This resource does not support Oracle, SQL Server, or SAP ASE.
99

1010
## Example Usage
1111

@@ -27,13 +27,9 @@ resource "delphix_database_postgresql" "source" {
2727

2828
* `repository_value` - (Required) The Id or Name of the Repository onto which the source will be created..
2929

30-
* `environment_value` - (Required) The Id or Name of the environment to create the source on.
30+
* `environment_value` - (Optional) The Id or Name of the environment to create the source on.
3131

32-
* `engine_value` - (Required) The Id or Name of the engine to create the source on.
33-
34-
* `id` - The Source object entity ID.
35-
36-
* `database_type` - The type of this source database.
32+
* `engine_value` - (Optional) The Id or Name of the engine to create the source on.
3733

3834
* `id` - The Source object entity ID.
3935

@@ -65,12 +61,8 @@ resource "delphix_database_postgresql" "source" {
6561

6662
* `repository` - The repository id for this source.
6763

68-
* `recovery_model` - Recovery model of the source database (MSSql Only).
69-
70-
* `mssql_source_type` - The type of this mssql source database (MSSql Only).
71-
7264
* `appdata_source_type` - The type of this appdata source database (Appdata Only).
7365

74-
* `tags` - The tags to be created for dSource. This is a map of 2 parameters:
66+
* `tags` - The tags to be created for database. This is a map of 2 parameters:
7567
* `key` - Key of the tag
7668
* `value` - Value of the tag

docs/resources/oracle_dsource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,6 @@ resource "delphix_oracle_dsource" "test_oracle_dsource" {
195195
* `azure_vault_secret_key` - Azure vault key in the key-value store.
196196
* `cyberark_vault_query_string` - Query to find a credential in the CyberArk vault.
197197

198-
* `skip_wait_for_snapshot_creation` - (Optional) By default this resource waits for snapshot to be created post dsource creation , default behaviour can be skipped by setting this parameter to true.
198+
* `skip_wait_for_snapshot_creation` - (Optional) By default this resource will wait for a snapshot to be created post-dSource creation. This ensure a snapshot is available during the VDB provisioning. This behavior can be skipped by setting this parameter to `true`.
199199

200-
* `wait_time` - (Optional) By default this resource waits for snapshot to be created for 3 minuites , this pameter can be used to set the wait_time in minutes as per need.
200+
* `wait_time` - (Optional) By default this resource waits 3 minutes for a snapshot to be created. Increase the integer value as needed for larger dSource snapshots. This parameter can be ignored if 'skip_wait_for_snapshot_creation' is set to `true`.

internal/provider/resource_database_postgresql.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,6 @@ func resourceSource() *schema.Resource {
102102
Type: schema.TypeString,
103103
Computed: true,
104104
},
105-
"recovery_model": {
106-
Type: schema.TypeString,
107-
Computed: true,
108-
},
109-
"mssql_source_type": {
110-
Type: schema.TypeString,
111-
Computed: true,
112-
},
113105
"appdata_source_type": {
114106
Type: schema.TypeString,
115107
Computed: true,
@@ -232,8 +224,6 @@ func resourceDatabasePostgressqlRead(ctx context.Context, d *schema.ResourceData
232224
d.Set("toolkit_id", result.GetToolkitId())
233225
d.Set("is_dsource", result.GetIsDsource())
234226
d.Set("repository", result.GetRepository())
235-
d.Set("recovery_model", result.GetRecoveryModel())
236-
d.Set("mssql_source_type", result.GetMssqlSourceType())
237227
d.Set("appdata_source_type", result.GetAppdataSourceType())
238228

239229
return diags

0 commit comments

Comments
 (0)