transfer
BorisLabs/transfer/aws
Terraform Module for AWS SFTP Transfer for S3
Install
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)
| Name | Type | Description | Default |
|---|---|---|---|
| subnet_ids | list(string) | A list of subnet IDs that are required to host your SFTP server endpoint in your | [] |
| vpc_id | string | The VPC ID of the virtual private cloud in which the SFTP server's endpoint will | "" |
| logging_role_name | string | Name of logging role to if creating one | "default-transfer-server-role" |
| logging_policy_name | string | Name of logging policy to create | "default-transfer-server-policys" |
| tags | map(string) | Tags to apply to resource | {} |
| dns_role_arn | string | Route53 DNS role arn if applicable | "" |
| address_allocation_ids | list(string) | A list of address allocation IDs that are required to attach an Elastic IP addre | [] |
| custom_hostname | string | Custom hostname to use on transfer server | "" |
| logging_role_arn | string | Arn of role to use to allow the service to log | "" |
| identity_provider_type | string | Type of identitiy provider used within the transfer service | "SERVICE_MANAGED" |
| endpoint_type | string | The endpoint type for the transfer server | "PUBLIC" |
| certificate | string | The Amazon Resource Name (ARN) of the AWS Certificate Manager (ACM) certificate | "" |
| url | string | URL of the service endpoint used to authenticate users with an identity_provider | "" |
| function | string | The ARN for a lambda function to use for the Identity provider | "" |
| internet_facing_eip | bool | If your using a Internet Facing VPC Endpoint type creates EIPS | false |
| internet_facing_eip_count | number | Number of EIPs you wish to create | 0 |
| create_route53_record | bool | Whether to create the Route53 Record. | false |
| route53_record_zone | string | Route53 Zone ID | "" |
| protocols | list(string) | Specifies the file transfer protocol or protocols over which your file transfer | [
"SFTP"
] |
| create_transfer_server | bool | Create the Transfer Server | true |
Outputs (3)
r53_record_fqdntransfer_server_endpointtransfer_server_idResources (6)
Topics & Tags
Details
Similar packages
Terraform module for building and deploying Next.js apps to AWS. Supports SSR (L
Terraform module for provisioning an EKS cluster
Terraform module to generate well-formed JSON documents (container definitions)
Terraform module that provision an S3 bucket to store the terraform.tfstate file