Skip to content

This project uses Terraform to provision and manage resources for MaxStore.

Notifications You must be signed in to change notification settings

umerfarok/maxstore-infrastructure

Repository files navigation

MaxStore Terraform Project

This project uses Terraform to provision and manage resources for MaxStore.

Project Structure

.gitignore .terraform.lock.hcl key.pem maxstore.tfvars.json modules/ admin-infra/ main.tf outputs.tf templates/ cloudinit.yaml variables.tf modules.tf outputs.tf privatekeygithub.pem providers.tf README.md terraform.tfplan terraform.tfstate variables.tf versions.tf

Prerequisites

  • Terraform installed (version specified in versions.tf)
  • AWS CLI configured with appropriate access credentials

Usage

  1. Initialize the Terraform project:
terraform init
  1. Validate the Terraform configuration files:
terraform validate
  1. Generate a plan and save it to terraform.tfplan:
terraform plan -var-file="maxstore.tfvars.json" -out terraform.tfplan
  1. Apply the plan:
terraform apply "terraform.tfplan"
  1. To destroy the resources when you're done:
terraform destroy -var-file="maxstore.tfvars.json"
  1. if you have done some manualy changes created resource in cloud do this
 terraform refresh -var_file="maxstore.tfvars.json"

Variables

Variables are defined in variables.tf and values are provided in maxstore.tfvars.json.

Outputs

Outputs are defined in outputs.tf.

About

This project uses Terraform to provision and manage resources for MaxStore.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published