Resource: aws_transfer_certificate

Provides a AWS Transfer AS2 Certificate resource.

Example Usage

Basic

resource "aws_transfer_certificate" "example" {
  certificate       = file("${path.module}/example.com/example.crt")
  certificate_chain = file("${path.module}/example.com/ca.crt")
  private_key       = file("${path.module}/example.com/example.key")
  description       = "example"
  usage             = "SIGNING"
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import Transfer AS2 Certificate using the certificate_id. For example:

import {
  to = aws_transfer_certificate.example
  id = "c-4221a88afd5f4362a"
}

Using terraform import, import Transfer AS2 Certificate using the certificate_id. For example:

% terraform import aws_transfer_certificate.example c-4221a88afd5f4362a