Skip to content

Here2ServeU/t2s-bank-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploying A complete Core Banking System on AWS using Terraform

This repository contains Terraform configurations for provisioning A complete Core Banking System on AWS.


Prerequisites

Terraform (version >= 0.12)

AWS CLI configured with appropriate IAM permissions

An AWS account


Steps

Step 1: Clone the Repository

git clone https://github.com/Here2ServerU/t2s-bank-terraform.git
cd t2s-bank-terraform

Create an S3 Bucket and name it, "t2s-bank-tf-state."

aws s3api delete-bucket --bucket t2s-bank-tf-state --region us-east-1

Step 2: Initialize Terraform

Initialize envs/dev

cd t2s-bank/envs/dev
terraform init

Initialize envs/stage

cd t2s-bank/envs/stage
terraform init

Initialize envs/prod

cd t2s-bank/envs/stage
terraform init
cd t2s-bank/envs/prod
terraform init

Step 3: Plan and Review Terraform

For Dev Environment

cd t2s-bank/envs/dev
terraform plan

For Stage Environment

cd t2s-bank/envs/stage
terraform plan

For Prod Environment

cd t2s-bank/envs/prod
terraform plan

Step 4: Apply The Terraform Configuration

For Dev Environment

cd t2s-bank/envs/dev
terraform apply

For Stage Environment

cd t2s-bank/envs/stage
terraform apply

For Prod Environment

cd t2s-bank/envs/prod
terraform apply

Step 5: Clean Up

For Dev Environment

cd t2s-bank/envs/dev
terraform destroy

For Stage Environment

cd t2s-bank/envs/stage
terraform destroy

For Prod Environment

cd t2s-bank/envs/prod
terraform destroy

Troubleshooting

If you encounter any issues, please check the following:

  • Ensure your AWS CLI is configured correctly and you have the necessary permissions.
  • Verify that your Terraform configurations are correct and all required variables are set.
  • Check the AWS Management Console for any errors related to the resources being created.

Contributing

Feel free to customize this README.md file according to your specific requirements and project details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages