Creates a transfer server and tranfer users (with one or more public SSH keys).
module "example-transfer" {
source = "github.com/schubergphilis/terraform-aws-mcaf-transfer"
name = "example"
endpoint_type = "VPC"
restricted_mode = false
tags = {}
transfer_security_policy = "TransferSecurityPolicy-2020-06"
vpc_endpoint = {
security_group_ids = ["sg-12345678901234567"]
address_allocation_ids = ["eipalloc-12345", "eipalloc-67890"]
subnet_ids = ["subnet-12345", "subnet-67890"]
vpc_id = "vpc-123456"
}
users = {
user1 = {
home_directory = "/bucketname/user1"
role_policy = null
ssh_pub_keys = ["key1", "key2"]
}
}
}