Terraform module which creates SFTP Transfer-family resources on AWS.
Tested on Terraform 1.0.0 and newer. Submit pull-requests to main
branch.
SFTP Transfer Server with default actions:
resource "aws_transfer_access" "this" {
for_each = toset(var.transfer_access_sids)
role = aws_iam_role.aws_transfer_role.arn
server_id = aws_transfer_server.this.id
home_directory = var.premade_s3_bucket == true ? "/${module.sftp_storage_bucket[0].s3_bucket_id}" : "/${var.s3_bucket_name}"
external_id = each.value
}
Name | Version |
---|---|
terraform | >= 1.0.0 |
aws | >= 3.33.0 |
Name | Version |
---|---|
aws | >= 3.33.0 |
| user |
Name |
---|
aws_cloudwatch_log_group |
aws_iam_role |
aws_iam_policy |
aws_iam_role_policy_attachment |
aws_s3_bucket |
aws_s3_bucket_public_access_block |
aws_transfer_server |
null_resource |
Module managed by Kyle Vidmar.