forked from delphix/dct-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
53 lines (50 loc) · 1.47 KB
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#terraform {
# required_providers {
# delphix = {
# source = "delphix.com/delphix-integrations/delphix"
# version = "3.3.0"
# #version = "3.1.0"
# }
# }
#}
terraform {
required_providers {
delphix = {
source = "delphix-integrations/delphix"
# version = "3.3.0"
version = ">=3.1.0"
}
}
}
provider "delphix" {
tls_insecure_skip = true
key = "1.jTElhpXIao7pTNzVCYdkj1HpGXriTBlYbPha1Di8HjvMF6nESA1crkGlljowDs7y"
host = "ubuntu-2-uv49-qar-125346-27a4593a.dlpxdc.co"
}
resource "delphix_appdata_dsource" "test_app_data_dsource_second" {
source_value = "13-APPDATA_STAGED_SOURCE_CONFIG-122"
group_id = "13-GROUP-1"
log_sync_enabled = false
make_current_account_owner = true
link_type = "AppDataStaged"
name = "appdata_dsource_second_new"
staging_mount_base = ""
environment_user = "HOST_USER-125"
staging_environment = "13-UNIX_HOST_ENVIRONMENT-125"
parameters = jsonencode({
delphixInitiatedBackupFlag : true,
delphixInitiatedBackup : [
{
userName : "delphix",
postgresSourcePort : 5432,
userPass : "delphix",
sourceHostAddress : "psrc.dlpxdc.co"
}
],
postgresPort : 5433,
mountLocation : "/datadrive1/provision/ds-assetmanagement-neur-tntnpk-dev-rocsexecution-1"
})
sync_parameters = jsonencode({
resync = true
})
}