Skip to content

Commit 5a46a40

Browse files
committed
Revamp Terraform configuration
Upgraded and reorganized the existing Terraform configuration used for CRM stack automation in AWS cloud. These changes are necessary to reflect the new infra upgrade plan.
1 parent 7dced3d commit 5a46a40

File tree

17 files changed

+735
-583
lines changed

17 files changed

+735
-583
lines changed

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
downloads/*.rpm
2-
downloads/*.deb
3-
downloads/*.tar.gz
4-
downloads/*.zip
51
secret/*.pem
62
secret/*.pub
73
secret/node*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Kickstart Terraform
2-
The ultimate aim of this Terraform starter-kit is to help you automate infrastructure provisioning on AWS cloud using Terraform configuration for running a sample CRM app service and Redis database service.
2+
Our Terraform starter-kit repository contains Terraform modules, configurations, and other resources required to automate and build cloud infrastructure resources on AWS, GCP, and Azure cloud service providers.

conf/prd.tfvars

Lines changed: 0 additions & 2 deletions
This file was deleted.

downloads/readme.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

main.tf

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
terraform {
22
required_version = "v1.0.1"
33
required_providers {
4-
aws = "3.47.0"
4+
aws = "5.42.0"
55
}
66
backend "local" {}
77
}
88

9-
module "aws" {
10-
source = "./module/aws"
11-
env = var.env
12-
s3_bucket_prefix = var.aws_s3_bucket_prefix
9+
module "aws_crm" {
10+
source = "./module/crm/aws"
11+
environment = var.environment
1312
ssh_public_key = var.ssh_public_key
13+
s3_bucket_prefix = var.aws_s3_bucket_prefix
14+
ec2_ami_id = var.aws_ec2_ami_id
1415
}

0 commit comments

Comments
 (0)