DMS
Terraform module to create AWS DMS (Database Migration Service) resources
Inputs
40 / 53
access_iam_role_descriptionoptionalstringDescription of the role
nullaccess_iam_role_nameoptionalstringName to use on IAM role created
nullaccess_iam_role_pathoptionalstringIAM role path
nullaccess_iam_role_permissions_boundaryoptionalstringARN of the policy that is used to set the permissions boundary for the IAM role
nullaccess_iam_role_policiesoptionalmap(string)Map of IAM role policy ARNs to attach to the IAM role
{}access_iam_role_tagsoptionalmap(string)A map of additional tags to add to the IAM role created
{}access_iam_role_use_name_prefixoptionalboolDetermines whether the IAM role name (`access_iam_role_name`) is used as a prefix
trueaccess_iam_statementsoptionalanyA map of IAM policy [statements](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document#statement) for custom permission usage
{}access_kms_key_arnsoptionallist(string)A list of KMS key ARNs the access IAM role is permitted to decrypt
[]access_secret_arnsoptionallist(string)A list of SecretManager secret ARNs the access IAM role is permitted to access
[]access_source_s3_bucket_arnsoptionallist(string)A list of S3 bucket ARNs the access IAM role is permitted to access
[]access_target_dynamodb_table_arnsoptionallist(string)A list of DynamoDB table ARNs the access IAM role is permitted to access
[]access_target_elasticsearch_arnsoptionallist(string)A list of Elasticsearch ARNs the access IAM role is permitted to access
[]access_target_kinesis_arnsoptionallist(string)A list of Kinesis ARNs the access IAM role is permitted to access
[]access_target_s3_bucket_arnsoptionallist(string)A list of S3 bucket ARNs the access IAM role is permitted to access
[]certificatesoptionalmap(any)Map of objects that define the certificates to be created
{}createoptionalboolDetermines whether resources will be created
truecreate_access_iam_roleoptionalboolDetermines whether the ECS task definition IAM role should be created
truecreate_access_policyoptionalboolDetermines whether the IAM policy should be created
truecreate_iam_rolesoptionalboolDetermines whether the required [DMS IAM resources](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.APIRole) will be created
truecreate_repl_instanceoptionalboolIndicates whether a replication instace should be created
truecreate_repl_subnet_groupoptionalboolDetermines whether the replication subnet group will be created
trueenable_redshift_target_permissionsoptionalboolDetermines whether `redshift.amazonaws.com` is permitted access to assume the `dms-access-for-endpoint` role
falseendpointsoptionalanyMap of objects that define the endpoints to be created
{}event_subscription_timeoutsoptionalmap(string)A map of timeouts for event subscription create/update/delete operations
{}event_subscriptionsoptionalanyMap of objects that define the event subscriptions to be created
{}iam_role_permissions_boundaryoptionalstringARN of the policy that is used to set the permissions boundary for the role
nulliam_role_tagsoptionalmap(string)A map of additional tags to apply to the DMS IAM roles
{}repl_config_timeoutsoptionalmap(string)A map of timeouts for serverless replication config create/update/delete operations
{}repl_instance_allocated_storageoptionalnumberThe amount of storage (in gigabytes) to be initially allocated for the replication instance. Min: 5, Max: 6144, Default: 50
nullrepl_instance_allow_major_version_upgradeoptionalboolIndicates that major version upgrades are allowed
truerepl_instance_apply_immediatelyoptionalboolIndicates whether the changes should be applied immediately or during the next maintenance window
nullrepl_instance_auto_minor_version_upgradeoptionalboolIndicates that minor engine upgrades will be applied automatically to the replication instance during the maintenance window
truerepl_instance_availability_zoneoptionalstringThe EC2 Availability Zone that the replication instance will be created in
nullrepl_instance_classoptionalstringThe compute and memory capacity of the replication instance as specified by the replication instance class
nullrepl_instance_engine_versionoptionalstringThe [engine version](https://docs.aws.amazon.com/dms/latest/userguide/CHAP_ReleaseNotes.html) number of the replication instance
nullrepl_instance_idoptionalstringThe replication instance identifier. This parameter is stored as a lowercase string
nullrepl_instance_kms_key_arnoptionalstringThe Amazon Resource Name (ARN) for the KMS key that will be used to encrypt the connection parameters
nullrepl_instance_multi_azoptionalboolSpecifies if the replication instance is a multi-az deployment. You cannot set the `availability_zone` parameter if the `multi_az` parameter is set to `true`
nullrepl_instance_network_typeoptionalstringThe type of IP address protocol used by a replication instance. Valid values: IPV4, DUAL
nullAll 53 are optional — the module deploys with none of them set. Showing 40, so the site stays a static download — the remaining 13 are in the source.
Outputs
23
access_iam_role_arnAccess IAM role ARN
access_iam_role_nameAccess IAM role name
access_iam_role_unique_idStable and unique string identifying the access IAM role
certificatesA map of maps containing the certificates created and their full output of attributes and values
dms_access_for_endpoint_iam_role_arnAmazon Resource Name (ARN) specifying the role
dms_access_for_endpoint_iam_role_idName of the IAM role
dms_access_for_endpoint_iam_role_unique_idStable and unique string identifying the role
dms_cloudwatch_logs_iam_role_arnAmazon Resource Name (ARN) specifying the role
dms_cloudwatch_logs_iam_role_idName of the IAM role
dms_cloudwatch_logs_iam_role_unique_idStable and unique string identifying the role
dms_vpc_iam_role_arnAmazon Resource Name (ARN) specifying the role
dms_vpc_iam_role_idName of the IAM role
dms_vpc_iam_role_unique_idStable and unique string identifying the role
endpointsA map of maps containing the endpoints created and their full output of attributes and values
event_subscriptionsA map of maps containing the event subscriptions created and their full output of attributes and values
replication_instance_arnThe Amazon Resource Name (ARN) of the replication instance
replication_instance_private_ipsA list of the private IP addresses of the replication instance
replication_instance_public_ipsA list of the public IP addresses of the replication instance
replication_instance_tags_allA map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block
replication_subnet_group_idThe ID of the subnet group
replication_tasksA map of maps containing the replication tasks created and their full output of attributes and values
s3_endpointsA map of maps containing the S3 endpoints created and their full output of attributes and values
serverless_replication_tasksA map of maps containing the serverless replication tasks (replication_config) created and their full output of attributes and values
What the agent wires into the next module. An edge on the architecture diagram is one of these consumed by something else.