/aws-transfer-sftp

AWS Transfer for SFTP terraform code.

Primary LanguageHCL

This repo Creates AWS Transfer for SFTP solutions

Following resources will be created by the repo :
  • AWS Transfer for SFTP
  • S3 bucket
  • SFTP User account
  • S3 folder ( prefix) for each user account
  • IAM role for the SFTP user account
terraform workspaces is impemented for this repo, refer to the variables.tf for env specific values.

This project uses terrform workspaces - refer to this article if you are new to workspaces. - http://i-cloudconsulting.com/terraform-workspaces/

Terraform commands to run & apply the changes.

#initialize workspace
terraform init -backend-config=backends/dev-env.tf

#create / change workspace
terraform workspace new "dev"
#terraform workspace select "dev"

#plan and apply
terraform plan
terraform apply

Refer to this documentation for more details -> http://i-cloudconsulting.com/aws-transfer-for-sftp/