Files
opentf/website/source/docs/providers/aws/r/dms_certificate.html.markdown
Jack Bruno be56c7d2f6 provider/aws: Add AWS DMS (data migration service) resources (#11122)
* Add aws dms vendoring

* Add aws dms endpoint resource

* Add aws dms replication instance resource

* Add aws dms replication subnet group resource

* Add aws dms replication task resource

* Fix aws dms resource go vet errors

* Review fixes: Add id validators for all resources. Add validator for endpoint engine_name.

* Add aws dms resources to importability list

* Review fixes: Add aws dms iam role dependencies to test cases

* Review fixes: Adjustments for handling input values

* Add aws dms replication subnet group tagging

* Fix aws dms subnet group doesn't use standard error for resource not found

* Missed update of aws dms vendored version

* Add aws dms certificate resource

* Update aws dms resources to force new for immutable attributes

* Fix tests failing on subnet deletion by adding explicit dependencies. Combine import tests with basic tests to cut down runtime.
2017-02-02 10:30:05 +00:00

1.3 KiB

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
aws AWS: aws_dms_certificate docs-aws-resource-dms-certificate Provides a DMS (Data Migration Service) certificate 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

The following attributes are exported:

  • certificate_arn - The Amazon Resource Name (ARN) for the certificate.

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