Terraform data source for managing an AWS DMS (Database Migration) Replication Task.
data "aws_dms_replication_task" "test" {
replication_task_id = aws_dms_replication_task.test.replication_task_id
}
The following arguments are required:
replication_task_id
- (Required) The replication task identifier.
This data source exports the following attributes in addition to the arguments above:
cdc_start_position
- (Conflicts with cdc_start_time
) Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.cdc_start_time
- (Conflicts with cdc_start_position
) The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.migration_type
- The migration type. Can be one of full-load | cdc | full-load-and-cdc
.replication_instance_arn
- The Amazon Resource Name (ARN) of the replication instance.replication_task_settings
- An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.source_endpoint_arn
- The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.start_replication_task
- Whether to run or stop the replication task.status
- Replication Task status.table_mappings
- An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Datatarget_endpoint_arn
- The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.replication_task_arn
- The Amazon Resource Name (ARN) for the replication task.