|
| 1 | +# Resource: <resource name> delphix_database_postgresql |
| 2 | + |
| 3 | +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. |
| 4 | + |
| 5 | +## System Requirements |
| 6 | + |
| 7 | +* Data Control Tower v14.0.1+ is required for database management. Lower versions are not supported. |
| 8 | +* The Database PostgreSQL resource only supports the Delphix PostgreSQL database type (POSTGRES). This resource does not support Oracle, SQL Server, or SAP ASE. |
| 9 | + |
| 10 | +## Example Usage |
| 11 | + |
| 12 | +```hcl |
| 13 | +# Create a postgres database/source. |
| 14 | +
|
| 15 | +resource "delphix_database_postgresql" "source" { |
| 16 | + name = "test" |
| 17 | + repository_value = "REPO-1" |
| 18 | + engine_value = "2" |
| 19 | + environment_value = "ENV-1" |
| 20 | +} |
| 21 | +
|
| 22 | +``` |
| 23 | + |
| 24 | +## Argument Reference |
| 25 | + |
| 26 | +* `name` - (Required) The name of the new source. |
| 27 | + |
| 28 | +* `repository_value` - (Required) The Id or Name of the Repository onto which the source will be created.. |
| 29 | + |
| 30 | +* `environment_value` - (Optional) The Id or Name of the environment to create the source on. |
| 31 | + |
| 32 | +* `engine_value` - (Optional) The Id or Name of the engine to create the source on. |
| 33 | + |
| 34 | +* `id` - The Source object entity ID. |
| 35 | + |
| 36 | +* `database_type` - The type of this source database. |
| 37 | + |
| 38 | +* `namespace_id` - The namespace id of this source database. |
| 39 | + |
| 40 | +* `namespace_name` - The namespace name of this source database. |
| 41 | + |
| 42 | +* `is_replica` - Is this a replicated object. |
| 43 | + |
| 44 | +* `database_version` - The version of this source database. |
| 45 | + |
| 46 | +* `data_uuid` - A universal ID that uniquely identifies this source database. |
| 47 | + |
| 48 | +* `ip_address` - The IP address of the source's host. |
| 49 | + |
| 50 | +* `fqdn` - The FQDN of the source's host. |
| 51 | + |
| 52 | +* `size` - The total size of this source database, in bytes. |
| 53 | + |
| 54 | +* `jdbc_connection_string` - The JDBC connection URL for this source database. |
| 55 | + |
| 56 | +* `plugin_version` - The version of the plugin associated with this source database. |
| 57 | + |
| 58 | +* `toolkit_id` - The ID of the toolkit associated with this source database(AppData only). |
| 59 | + |
| 60 | +* `is_dsource` - Is this associated with dSource. |
| 61 | + |
| 62 | +* `repository` - The repository id for this source. |
| 63 | + |
| 64 | +* `appdata_source_type` - The type of this appdata source database (Appdata Only). |
| 65 | + |
| 66 | +* `tags` - The tags to be created for database. This is a map of 2 parameters: |
| 67 | + * `key` - Key of the tag |
| 68 | + * `value` - Value of the tag |
0 commit comments