55terraform {
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
1414provider "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 */
2021resource "delphix_engine_configuration" "config" {
2122 engine_host = " http://eg22.dlpxdc.co"
2223 api_version = " 1.11.31"
@@ -26,5 +27,106 @@ 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+ }
93+
94+ /* SMTP, NTP, DNS, WEB PROXY, USER ANALYTICS, PHONEHOME CONFIGS*/
95+ resource "delphix_engine_configuration" "config2" {
96+ engine_host = " http://object.dlpxdc.co"
97+ api_version = " 1.11.46"
98+ sys_user = " XXXX"
99+ sys_password = " XXXX"
100+ user = " XXXX"
101+ password = " XXXX"
102+ email = " no-reply@delphix.com"
103+ engine_type = " CD"
104+ device_type = " OBJECT"
105+ object_storage_params {
106+ auth_type = " ROLE"
107+ region = " us-west-2"
108+ bucket = " dcoa-prod-object"
109+ endpoint = " s3.us-west-2.amazonaws.com"
110+ size = " 30GB"
111+ }
112+ ntp_timezone = " Africa/Asmera"
113+ ntp_servers = [" Europe.pool.ntp.org" ]
114+ smtp_config {
115+ server = " delphix.com"
116+ port = 25
117+ from_email_address = " noreply@perforce.com"
118+ send_timeout = 80
119+ tls_authentication = true
120+ }
121+ dns_config {
122+ servers = [" 172.16.105.23" ," 172.16.105.24" ]
123+ domains = [" perforce.com" ," delphix.com" ]
124+ }
125+ phone_home_enabled = true
126+
127+ web_proxy_config {
128+ host = " delphix.com"
129+ port = 8081
130+ }
131+ user_analytics_enabled = true
132+ }
0 commit comments