Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.46 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.46 KB

Terraform module to create a aws transfer server (SFTP).

This project is a fork of Felipe Frizzo's module.

Usage

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 }
}

*/

Requirements

No requirements.

Providers

Name Version
aws n/a

Inputs

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

Outputs

Name Description
bucket_name n/a
transfer_server_endpoint n/a
transfer_server_id n/a