A tool for creating a multi-cloud kick off platform.
To install Multicloudify first clone the repo:
git clone https://github.com/TomYoungs/MultiCloudify.git
Next you can install the tool dependancies:
pip install -r requirements.txt
to run MultiCloudify run:
python3 selector.py
This will run through the setup steps, choosing providers and some starter resources.
After the creation of the platform you can procced to the setup state stage, this step is optional, if selected will setup this in a AWS S3 bucket, if you want to use a tool like Terraform Cloud choose no.
to use hosted state make sure the S3 bucket is deployed and initialised
terraform {
backend "s3" {
bucket = "infra-tools-terraform-state"
key = "global/s3/terraform.tfstate"
region = "us-east-2"
dynamodb_table = "infra-tools-tf-locks"
encrypt = true
}
}
due to state being tangled up with the deployment of the S3 bucket a certain order needs to be made to remove:
- go to state tf code and remove the backend config block
- run tf init to migrate state back to local
- then run tf destroy to remove the bucket
Note: if this is done in a incorrect order you may need to manually remove the bucket and the state of other tf files