Resource: aws_transfer_profile

Provides a AWS Transfer AS2 Profile resource.

Example Usage

Basic

resource "aws_transfer_profile" "example" {
  as2_id          = "example"
  certificate_ids = [aws_transfer_certificate.example.certificate_id]
  usage           = "LOCAL"
}

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 Profile using the profile_id. For example:

import {
  to = aws_transfer_profile.example
  id = "p-4221a88afd5f4362a"
}

Using terraform import, import Transfer AS2 Profile using the profile_id. For example:

% terraform import aws_transfer_profile.example p-4221a88afd5f4362a