Skip to content

bergbrains/terraform-aws-transfer-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Terraform module to create a aws transfer server (SFTP)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%