DMS Endpoint Re-design #23506
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/dms
Issues and PRs that pertain to the dms service.
Milestone
Community Note
Description
Driving Force: AWS has hinted (in the Console) that it will be deprecating
extra_connection_attributes
. In addition, it is bad (see below) having two ways of providing the exact same information: 1) using a single long string providing many attributes (e.g.,extra_connection_attributes = "bucketFolder=value;bucketName=value;...
) that maps to 2) many Terraform arguments (e.g.,s3_settings.0.bucket_folder = "value"
ands3_settings.0.bucket_name = "value"
).Problems:
extra_connection_attributes
wantsdataFormat=PARQUET_2_0
whileS3Settings.DataFormat
wantsparquet-2-0
) but then the provider is trying to marry them up. In addition, e.g., AWS only accepts all caps for some values but returns all lowercase.extra_connection_attributes
and individual arguments is error prone. In addition, the mess that comes with handling so many different endpoint types and arguments in one resource is error prone.Previous Design: Before, we could fit a bunch of endpoints into the same resource because we did not have individual Terraform arguments corresponding to each of the
extra_connection_attributes
. Withoutextra_connection_attributes
, there are about 259 endpoint-specific attributes (159 unique attributes).New Design Plan:
extra_connection_attributes
. This means each attribute will need a Terraform argument. This allows us to avoid the mapping back and forth and makes it easier to handle the AWS API inconsistencies (e.g., caps to lowercase).aws_dms_endpoint
) will continue as before but we will deprecate these arguments:elasticsearch_settings
,extra_connection_attributes
,kafka_settings
,kinesis_settings
,mongodb_settings
, ands3_settings
.extra_connection_attributes
or use only the set of common arguments:aurora
,azuredb
,db2
,dynamodb
,mariadb
, andsybase
.New or Affected Resource(s)
Potential Terraform Configuration
References
extra_connection_attributes
present when configured withs3_settings
聽#19501The text was updated successfully, but these errors were encountered: