- AWS Transfer for SFTP
- S3 bucket
- SFTP User account
- S3 folder ( prefix) for each user account
- IAM role for the SFTP user account
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/