Skip to content

Commit c359527

Browse files
fix for ESCL-4868 , defaulting wit_time to 0 to avoid drift
1 parent f426207 commit c359527

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Visit https://goreleaser.com for documentation on how to customize this
22
# behavior.
33
env:
4-
- PROVIDER_VERSION=3.2.0
4+
- PROVIDER_VERSION=3.2.1
55
before:
66
hooks:
77
# this is just an example and not a requirement for provider building/publishing

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ HOSTNAME=delphix.com
33
NAMESPACE=dct
44
NAME=delphix
55
BINARY=terraform-provider-${NAME}
6-
VERSION=3.2.0
6+
VERSION=3.2.1
77
OS_ARCH=darwin_amd64
88

99
default: install

docs/resources/appdata_dsource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,4 @@ resource "delphix_appdata_dsource" "dsource_name" {
183183

184184
* `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 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`.
186+
* `wait_time` - (Optional) By default this resource waits 0 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/oracle_dsource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,4 @@ resource "delphix_oracle_dsource" "test_oracle_dsource" {
197197

198198
* `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 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`.
200+
* `wait_time` - (Optional) By default this resource waits 0 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_appdata_dsource.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ func resourceAppdataDsource() *schema.Resource {
329329
},
330330
"wait_time": {
331331
Type: schema.TypeInt,
332-
Default: 3,
333332
Optional: true,
334333
},
335334
"skip_wait_for_snapshot_creation": {
@@ -558,6 +557,12 @@ func resourceDsourceUpdate(ctx context.Context, d *schema.ResourceData, meta int
558557
d.Set(key, old)
559558
}
560559

560+
//if d.HasChanges("wait_time", "skip_wait_for_snapshot_creation") {
561+
// d.Set("wait_time", 3)
562+
// d.Set("skip_wait_for_snapshot_creation", false)
563+
// return diag.Diagnostics{}
564+
//}
565+
561566
return diag.Errorf("Action update not implemented for resource : dSource")
562567
}
563568

internal/provider/resource_oracle_dsource.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,6 @@ func resourceOracleDsource() *schema.Resource {
533533
},
534534
"wait_time": {
535535
Type: schema.TypeInt,
536-
Default: 3,
537536
Optional: true,
538537
},
539538
"skip_wait_for_snapshot_creation": {

0 commit comments

Comments
 (0)