Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 2.69 KB

README.md

File metadata and controls

66 lines (43 loc) · 2.69 KB

TrinityX Terraform

The TrinityX Terraform project will used by the TrinityX project. It will create the infrastructure depending on the user selection.

From TrinityX

To Create Infrastructure from TrinityX follow these steps:

  • Git Clone Trinityx Terraform Git Repository.

  • Rename or create a new variable file in the Cloud Providers root directory from "terraform.tfvars.example" to "terraform.tfvars".

  • Only create AWS, if need to install TrinityX on AWS, same applies for others. For Example:

  • AWS Variable File AWS

  • Azure Variable File Azure

  • GCP Variable File GCP

  • VSphere Variable File VSphere

  • Run below commands to create the infrastructure.

cd trinityx-terraform/{CLOUD}               ## Go to the cloud provider directory. Example: "cd trinityx-terraform/azure" OR "cd trinityx-terraform/aws" OR "cd trinityx-terraform/gcp"
terraform init                              ## Prepare the working directory for other commands.
terraform validate                          ## Check whether the configuration is valid.
terraform plan -out trinityx-tfplan         ## Show changes required by the current configuration. Example: "trinityx-azure-tfplan" OR "trinityx-aws-tfplan" OR "trinityx-gcp-tfplan"
terraform apply trinityx-tfplan             ## Create or update infrastructure. Example: "trinityx-azure-tfplan" OR "trinityx-aws-tfplan" OR "trinityx-gcp-tfplan"

# terraform destroy                           ## Destroy previously-created infrastructure. But Need State file to be present in main directory
  • NOTE: In case of multiple Cloud Providers, repeat above commands in respect to the Cloud Provider.
  • NOTE: Supported HostList format(s). Choose any one:
azure_hostlist = ""
azure_hostlist = "azvm[001-004]"
azure_hostlist = "azvm[001-004]Trinity"
azure_hostlist = "[001-004]Trinity"

Roadmap

We have scheduled a first release in somewhere in September 2024

Contributing

As of now, in this stage we're not taking any contribution from the outside of the TrinityX Team.

Authors and acknowledgment

License

See the TrinityX License here

Project status

Currently we're on the development phase, so you can expect the half code, mistakes, here.