Skip to content

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

License

Notifications You must be signed in to change notification settings

clustervision/trinityx-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published