Coder Social home page Coder Social logo

transfer-family-hq-public-rates's Introduction

README.md for Terraform Configuration

Overview

This Terraform configuration sets up AWS Transfer for SFTP servers across three environments: development (dev), production (prd), and user acceptance testing (uat). It defines resources for server setup, user configuration, SSH key generation, and CSV file creation for user credentials.

Environments

  • Development (dev):

    • AWS Profile: 507964037226_AWSAdministratorAccess
    • Region: us-east-1
    • Server Name: sftp_zeus_server_hq_public_rates_dev
    • IAM Role: arn:aws:iam::507964037226:role/svc-role-data-mic-development-integrations
  • Production (prd):

    • AWS Profile: 525196274797_AWSAdministratorAccess
    • Region: us-east-1
    • Server Name: sftp_zeus_server_hq_public_rates_prd
    • IAM Role: arn:aws:iam::525196274797:role/svc-role-data-mic-development-integrations
  • User Acceptance Testing (uat):

    • AWS Profile: 350281604643_AWSAdministratorAccess
    • Region: us-east-1
    • Server Name: sftp_zeus_server_hq_public_rates_uat
    • IAM Role: arn:aws:iam::350281604643:role/svc-role-data-mic-development-integrations

Common Configuration

  • Suffixes: ["hq", "hn", "gt", "bo", "cr", "co", "py", "pa", "ni", "sv"]
  • Users: Configured for each suffix, with specific paths, target directories, and keys.

Resources

  1. AWS Transfer Server: Configured for each environment with public endpoint and SFTP protocol.
  2. AWS Transfer User: Users created for each suffix, linked to respective servers and roles.
  3. SSH Key Generation: For each user, public/private SSH keys are generated using ssh-keygen.
  4. AWS Transfer SSH Key: SSH public keys are attached to the respective SFTP users.
  5. Local File Creation: Generates CSV files for each user containing usernames and passwords.
  6. Miscellaneous: Includes resources like null_resource for enabling server options and updating user settings.

Dependencies

  • Terraform
  • AWS CLI
  • Access to specified AWS accounts with sufficient permissions

Execution

  1. Initialize Terraform workspace.
  2. Review and apply the Terraform plan.
  3. Monitor AWS resources for successful creation.

Caution

  • Ensure AWS credentials are securely handled.
  • Verify IAM roles and permissions.
  • Test in a controlled environment before production deployment.

transfer-family-hq-public-rates's People

Watchers

Simón Bustamante avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.