Skip to content

Commit 5b2618d

Browse files
committed
Added Engine Configuration with Object Storage through Terraform
1 parent d08cbfc commit 5b2618d

14 files changed

+1275
-307
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# behavior.
33
version: 2
44
env:
5-
- PROVIDER_VERSION=4.1.0
5+
- PROVIDER_VERSION=4.2.0
66
before:
77
hooks:
88
# 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=4.1.0
6+
VERSION=4.2.0
77
OS_ARCH=darwin_arm64
88

99
default: install

docs/index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ terraform {
4040
required_providers {
4141
delphix = {
4242
source = "delphix-integrations/delphix"
43-
version = "4.1.0"
43+
version = "4.2.0"
4444
}
4545
}
4646
}
@@ -82,4 +82,5 @@ Consult the Resources section for details on individual resources, such as VDB,
8282
| delphix_oracle_dsource update<br>delphix_oracle_dsource import | v 3.4.1 | v 2025.1.2 |
8383
| delphix_appdata_dsource update<br>delphix_appdata_dsource import | v 4.0.0 | v 2025.2.0 |
8484
| delphix_environment update<br>delphix_environment import | v 4.0.0 | v 2025.2.0 |
85-
| delphix_vdb_group tag management<br>delphix_vdb_group import | v 4.1.0 | v 2025.3.0 |
85+
| delphix_vdb_group tag management<br>delphix_vdb_group import | v 4.1.0 | v 2025.3.0 |
86+
| delphix_engine_configuration<br> delphix_engine_dct_registration | v 4.2.0 | v 2025.6.0 |

examples/engine_config/main.tf

Lines changed: 65 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,19 @@
55
terraform {
66
required_providers {
77
delphix = {
8-
version = "3.3.0-beta"
8+
version = "4.2.0"
99
source = "delphix.com/dct/delphix"
1010
}
1111
}
1212
}
1313

1414
provider "delphix" {
1515
tls_insecure_skip = true
16-
key = "1.jTElhpXIao7pTNzVCYdkj1HpGXriTBlYbPha1Di8HjvMF6nESA1crkGlljowDs7y"
17-
host = "ubuntu-2-uv49-qar-125346-27a4593a.dlpxdc.co"
16+
key = "1.XXXX"
17+
host = "HOSTNAME"
1818
}
1919

20+
/* BLOCK STORAGE */
2021
resource "delphix_engine_configuration" "config" {
2122
engine_host = "http://eg22.dlpxdc.co"
2223
api_version = "1.11.31"
@@ -26,5 +27,66 @@ resource "delphix_engine_configuration" "config" {
2627
password = "xxx"
2728
email = "noreply@delphix.com"
2829
engine_type = "CD"
30+
device_type = "BLOCK"
2931
}
3032

33+
/* BLOCK STORAGE With NTP configuration */
34+
resource "delphix_engine_configuration" "config" {
35+
engine_host = "http://eg22.dlpxdc.co"
36+
api_version = "1.11.31"
37+
sys_user = "XXXX"
38+
sys_password = "XXXX"
39+
user = "XXXX"
40+
password = "XXXX"
41+
email = "noreply@delphix.com"
42+
engine_type = "CD"
43+
device_type = "BLOCK"
44+
ntp_timezone = "America/Anchorage"
45+
ntp_servers = ["Europe.pool.ntp.org"]
46+
}
47+
48+
/* OBJECT STORAGE with ROLE based configurations*/
49+
resource "delphix_engine_configuration" "config2" {
50+
engine_host = "http://object.dlpxdc.co"
51+
api_version = "1.11.46"
52+
sys_user = "XXXX"
53+
sys_password = "XXXX"
54+
user = "XXXX"
55+
password = "XXXX"
56+
email = "no-reply@delphix.com"
57+
engine_type = "CD"
58+
device_type = "OBJECT"
59+
object_storage_params {
60+
auth_type = "ROLE"
61+
region = "us-west-2"
62+
bucket = "dcoa-prod-object"
63+
endpoint = "s3.us-west-2.amazonaws.com"
64+
size = "30GB"
65+
}
66+
ntp_timezone = "Africa/Asmera"
67+
ntp_servers = ["Europe.pool.ntp.org"]
68+
}
69+
70+
/* OBJECT STORAGE with ACCESS_KEY based configuration*/
71+
resource "delphix_engine_configuration" "config2" {
72+
engine_host = "http://object.dlpxdc.co"
73+
api_version = "1.11.46"
74+
sys_user = "XXXX"
75+
sys_password = "XXXX"
76+
user = "XXXX"
77+
password = "XXXX"
78+
email = "no-reply@delphix.com"
79+
engine_type = "CD"
80+
device_type = "OBJECT"
81+
object_storage_params {
82+
auth_type = "ACCESS_KEY"
83+
region = "us-west-2"
84+
bucket = "dcoa-prod-object"
85+
endpoint = "s3.us-west-2.amazonaws.com"
86+
size = "30GB"
87+
access_id = "XXXX"
88+
access_key = "XXXX"
89+
}
90+
ntp_timezone = "Africa/Asmera"
91+
ntp_servers = ["Europe.pool.ntp.org"]
92+
}

examples/engine_register/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
terraform {
22
required_providers {
33
delphix = {
4-
version = "3.3.0-beta"
4+
version = "4.2.0"
55
source = "delphix.com/dct/delphix"
66
}
77
}
88
}
99

1010
provider "delphix" {
1111
tls_insecure_skip = true
12-
key = "1.jTElhpXIao7pTNzVCYdkj1HpGXriTBlYbPha1Di8HjvMF6nESA1crkGlljowDs7y"
13-
host = "ubuntu-2-uv49-qar-125346-27a4593a.dlpxdc.co"
12+
key = "1.XXXX"
13+
host = "HOSTNAME"
1414
}
1515

16-
resource "delphix_engine_registration" "register" {
16+
resource "delphix_engine_dct_registration" "register" {
1717
hostname = "eg21.dlpxdc.co"
1818
name = "test_tf"
1919
username = "xxx"

0 commit comments

Comments
 (0)