-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from delphix-integrations/develop
HUBS-2073 | Release Version 3.2.0 | Develop -> Main
- Loading branch information
Showing
26 changed files
with
1,217 additions
and
783 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Resource: <resource name> delphix_database_postgresql | ||
|
||
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. | ||
|
||
## System Requirements | ||
|
||
* Data Control Tower v14.0.1+ is required for database management. Lower versions are not supported. | ||
* The Database PostgreSQL resource only supports the Delphix PostgreSQL database type (POSTGRES). This resource does not support Oracle, SQL Server, or SAP ASE. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
# Create a postgres database/source. | ||
resource "delphix_database_postgresql" "source" { | ||
name = "test" | ||
repository_value = "REPO-1" | ||
engine_value = "2" | ||
environment_value = "ENV-1" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
* `name` - (Required) The name of the new source. | ||
|
||
* `repository_value` - (Required) The Id or Name of the Repository onto which the source will be created.. | ||
|
||
* `environment_value` - (Optional) The Id or Name of the environment to create the source on. | ||
|
||
* `engine_value` - (Optional) The Id or Name of the engine to create the source on. | ||
|
||
* `id` - The Source object entity ID. | ||
|
||
* `database_type` - The type of this source database. | ||
|
||
* `namespace_id` - The namespace id of this source database. | ||
|
||
* `namespace_name` - The namespace name of this source database. | ||
|
||
* `is_replica` - Is this a replicated object. | ||
|
||
* `database_version` - The version of this source database. | ||
|
||
* `data_uuid` - A universal ID that uniquely identifies this source database. | ||
|
||
* `ip_address` - The IP address of the source's host. | ||
|
||
* `fqdn` - The FQDN of the source's host. | ||
|
||
* `size` - The total size of this source database, in bytes. | ||
|
||
* `jdbc_connection_string` - The JDBC connection URL for this source database. | ||
|
||
* `plugin_version` - The version of the plugin associated with this source database. | ||
|
||
* `toolkit_id` - The ID of the toolkit associated with this source database(AppData only). | ||
|
||
* `is_dsource` - Is this associated with dSource. | ||
|
||
* `repository` - The repository id for this source. | ||
|
||
* `appdata_source_type` - The type of this appdata source database (Appdata Only). | ||
|
||
* `tags` - The tags to be created for database. This is a map of 2 parameters: | ||
* `key` - Key of the tag | ||
* `value` - Value of the tag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/** | ||
* Summary: This template showcases the properties available when creating an app data dsource. | ||
*/ | ||
|
||
terraform { | ||
required_providers { | ||
delphix = { | ||
version = "VERSION" | ||
source = "delphix-integrations/delphix" | ||
} | ||
} | ||
} | ||
|
||
provider "delphix" { | ||
tls_insecure_skip = true | ||
key = "1.XXXX" | ||
host = "HOSTNAME" | ||
} | ||
|
||
#dsource with replication | ||
|
||
resource "delphix_appdata_dsource" "test_app_data_dsource" { | ||
source_value = "1-APPDATA_STAGED_SOURCE_CONFIG-6" | ||
group_id = "1-GROUP-1" | ||
log_sync_enabled = false | ||
make_current_account_owner = true | ||
link_type = "AppDataStaged" | ||
name = "appdata_dsource" | ||
staging_mount_base = "" | ||
environment_user = "HOST_USER-2" | ||
staging_environment = "1-UNIX_HOST_ENVIRONMENT-2" | ||
parameters = jsonencode({ | ||
dSourceType : "Replication", | ||
mountPath : "/delphix/zfs3", | ||
stagingPort : 3310, | ||
serverId : 106 , | ||
sourceip : "10.110.203.176", | ||
sourceUse : "XXXX", | ||
sourcePass : "XXXX", | ||
logSync: true, | ||
replicationUser: "XXXX", | ||
replicationPass: "XXXX", | ||
databaseList: "ALL", | ||
backupPath: "", | ||
stagingBasedir: "/usr", | ||
stagingPass: "XXXX" | ||
}) | ||
sync_parameters = jsonencode({ | ||
resync = true | ||
}) | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* Summary: This template showcases the properties available when creating an source. | ||
*/ | ||
|
||
terraform { | ||
required_providers { | ||
delphix = { | ||
version = "VERSION" | ||
source = "delphix-integrations/delphix" | ||
} | ||
} | ||
} | ||
|
||
provider "delphix" { | ||
key = "1.XXXX" | ||
host = "HOSTNAME" | ||
} | ||
|
||
resource "delphix_database_postgresql" "source" { | ||
name = "test" | ||
repository_value = "REPO-1" | ||
engine_value = "2" | ||
environment_value = "ENV-1" | ||
} | ||
|
Oops, something went wrong.