Terraform module to create a aws transfer server (SFTP).
This project is a fork of Felipe Frizzo's module.
resource "aws_s3_bucket" "bucket" {
bucket = "bucket_name"
acl = "private"
}
module "sftp" {
source = "git:https://github.com/bergbrains/terraform-aws-transfer-server.git?ref=master"
transfer_server_name = "sftp-server-name"
transfer_server_users = { eberg = "SSH public key", user2 = "SSH public key"}
bucket_name = aws_s3_bucket.bucket.id
bucket_arn = aws_s3_bucket.bucket.arn
additional_tags = { client = var.client, environment = var.environment }
}
*/
No requirements.
Name | Version |
---|---|
aws | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
additional_tags | Tags to be added to the default tag | map(string) |
{} |
no |
bucket_arn | The S3 bucket arn | string |
n/a | yes |
bucket_name | The S3 bucket name. | string |
n/a | yes |
transfer_server_name | Transfer Server name | string |
n/a | yes |
transfer_server_users | Map, keyed on user name, where the value is the SSH public key, for SFTP server | map(string) |
n/a | yes |
Name | Description |
---|---|
bucket_name | n/a |
transfer_server_endpoint | n/a |
transfer_server_id | n/a |