» Resource: aws_dms_certificate

Provides a DMS (Data Migration Service) certificate resource. DMS certificates can be created, deleted, and imported.

» Example Usage

# Create a new certificate
resource "aws_dms_certificate" "test" {
  certificate_id  = "test-dms-certificate-tf"
  certificate_pem = "..."
}

» Argument Reference

The following arguments are supported:

  • certificate_id - (Required) The certificate identifier.

    • Must contain from 1 to 255 alphanumeric characters and hyphens.
  • certificate_pem - (Optional) The contents of the .pem X.509 certificate file for the certificate. Either certificate_pem or certificate_wallet must be set.

  • certificate_wallet - (Optional) The contents of the Oracle Wallet certificate for use with SSL. Either certificate_pem or certificate_wallet must be set.

» Attributes Reference

In addition to all arguments above, the following attributes are exported:

» Import

Certificates can be imported using the certificate_arn, e.g.

$ terraform import aws_dms_certificate.test arn:aws:dms:us-west-2:123456789:cert:xxxxxxxxxx