transfer-sftp

cloudposse/transfer-sftp/aws

Terraform Module HCL AWS
Install
module "transfer-sftp" {
source = "cloudposse/transfer-sftp/aws"
version = "2.3.1"
}
plain text: /constructs/tfmod-cloudposse-transfer-sftp-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

This is terraform-aws-transfer-sftp project provides all the scaffolding for a typical well-built Cloud Posse module. It's a template repository you can use when creating new repositories. > [!TIP] > #### 👽 Use Atmos with Terraform > Cloud Posse uses atmos to easily orchestrate multiple environments using Terraform. > Works with Github Actions, Atlantis, or Spacelift. > > > Watch demo of using Atmos with Terraform > > Example of running atmos to manage infrastructure from our Quick Start tutorial. > Usage For a complete example, see examples/complete. For automated tests of the complete example using bats and Terratest (which tests and deploys the example on AWS), see test. ``hcl module "example" { source = "https://github.com/cloudposse/terraform-aws-transfer-sftp.git?ref=master" example

Inputs (31)
NameTypeDescriptionDefault
s3_bucket_namestringThis is the bucket that the SFTP users will use when managing files required
subnet_idslist(string)A list of subnet IDs that are required to host your SFTP server endpoint in your[]
attributeslist(string)ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, []
regex_replace_charsstringTerraform regular expression (regex) string. Characters matching the regex will null
sftp_usersmap(object({ user_name Map of SFTP users and their configurations. Required: user_name, public_key. Opt{}
address_allocation_idslist(string)A list of address allocation IDs that are required to attach an Elastic IP addre[]
vpc_security_group_idslist(string)A list of security groups IDs that are available to attach to your server's endp[]
namestringID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thinull
labels_as_tagsset(string)Set of labels (ID elements) to include as tags in the `tags` output. Default is [ "default" ]
additional_tag_mapmap(string)Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add{}
label_orderlist(string)The order in which the labels (ID elements) appear in the `id`. Defaults to ["nanull
descriptor_formatsanyDescribe additional descriptors to be output in the `descriptors` output map. Ma{}
force_destroyboolForces the AWS Transfer Server to be destroyedfalse
eip_enabledboolWhether to provision and attach an Elastic IP to be used as the SFTP endpoint. Afalse
stagestringID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bunull
delimiterstringDelimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` null
security_policy_namestringSpecifies the name of the security policy that is attached to the server. Possib"TransferSecurityPolicy-2018-11"
enabledboolSet to false to prevent the module from creating any resourcesnull
tenantstringID element _(Rarely used, not included by default)_. A customer identifier, indinull
vpc_idstringVPC ID that the AWS Transfer Server will be deployed tonull
namespacestringID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp'null
Outputs (7)
id — ID of the created example
transfer_endpoint — The endpoint of the Transfer Server
elastic_ips — Provisioned Elastic IPs
s3_access_role_arns — Role ARNs for the S3 access
endpoint_details — Endpoints details
arn — ARN of the created Transfer Server
host_key_fingerprint — The message-digest algorithm (MD5) hash of the Transfer Server's host key
Resources (8)
aws_eipaws_iam_policyaws_iam_roleaws_iam_role_policy_attachmentaws_route53_recordaws_transfer_serveraws_transfer_ssh_keyaws_transfer_user
Details
FrameworkTerraform Module
LanguageHCL
Version2.3.1
Cloud AWS
★ Stars31
Forks53
Total downloads112.2k
Inputs31
Outputs7
Resources8
Examples2
LicenseApache-2.0
Namespacecloudposse
Updated