transfer

BorisLabs/transfer/aws

Terraform Module HCL AWS

Terraform Module for AWS SFTP Transfer for S3

Install

module "transfer" {
source = "BorisLabs/transfer/aws"
version = "0.10.0"
}
⭐ Source on GitHub 📦 Registry page

README

terraform-aws-transfer Terraform Module for AWS Transfer for SFTP. This module aims to cover all connotations of setting up a AWS Transfer for SFTP Server along with users. The following resources are supported: aws_transfer_server aws_transfer_user aws_transfer_ssh_key This Module will optionally create a Route53 CNAME Record for the server endpoint & also the IAM logging role. There's also some ability to create an internet facing Transfer service using the VPC. Terraform doesn't currently support this functionality, but this current PR is open Terraform PR Usage ``hcl-terraform module "transfer_server" { source = "../.." logging_role_arn = "arn:aws:iam::123456789012:role/custom/sftp-transfer-logging-role" create_route53_record = true route53_record_zone = "ZABCD123456" route53_record_na

Inputs (30)

NameTypeDescriptionDefault
subnet_idslist(string)A list of subnet IDs that are required to host your SFTP server endpoint in your[]
vpc_idstringThe VPC ID of the virtual private cloud in which the SFTP server's endpoint will""
logging_role_namestringName of logging role to if creating one"default-transfer-server-role"
logging_policy_namestringName of logging policy to create"default-transfer-server-policys"
tagsmap(string)Tags to apply to resource{}
dns_role_arnstringRoute53 DNS role arn if applicable""
address_allocation_idslist(string)A list of address allocation IDs that are required to attach an Elastic IP addre[]
custom_hostnamestringCustom hostname to use on transfer server""
logging_role_arnstringArn of role to use to allow the service to log""
identity_provider_typestringType of identitiy provider used within the transfer service"SERVICE_MANAGED"
endpoint_typestringThe endpoint type for the transfer server"PUBLIC"
certificatestringThe Amazon Resource Name (ARN) of the AWS Certificate Manager (ACM) certificate""
urlstringURL of the service endpoint used to authenticate users with an identity_provider""
functionstringThe ARN for a lambda function to use for the Identity provider""
internet_facing_eipboolIf your using a Internet Facing VPC Endpoint type creates EIPSfalse
internet_facing_eip_countnumberNumber of EIPs you wish to create0
create_route53_recordboolWhether to create the Route53 Record.false
route53_record_zonestringRoute53 Zone ID""
protocolslist(string)Specifies the file transfer protocol or protocols over which your file transfer [ "SFTP" ]
create_transfer_serverboolCreate the Transfer Servertrue

Outputs (3)

r53_record_fqdn
transfer_server_endpoint
transfer_server_id

Resources (6)

aws_eipaws_iam_policyaws_iam_roleaws_route53_recordaws_transfer_serveraws_transfer_tag

Details

FrameworkTerraform Module
LanguageHCL
Version0.10.0
Cloud AWS
★ Stars5
Forks15
Total downloads7.5k
Inputs30
Outputs3
Resources6
Examples4
Submodules2
LicenseApache-2.0
NamespaceBorisLabs
Updated