- AWS Account and generated programmatic credentials.
- GCP Account and generated programmatic credentials.
- Azure Account and generated programmatic credentials.
- CloudFlare account, domain and generated API Token.
- Python3
- Terraform 12 (https://www.terraform.io/downloads.html)
- Terragrunt (https://github.com/gruntwork-io/terragrunt/releases)
- Export all programmatic credentials for all clouds \ systems to your environment.
- Install dependencies with python pip:
pip install -r requirements.txt
- New environment creation
cookiecutter .generator/
- Existing environment update
ENV=preprod
cookiecutter .generator/ -f --config-file $ENV/.cookiecutter.yaml
ENV=preprod
cd $ENV/core
terragrunt init
terragrunt apply
ENV=preprod
cd $ENV
terragrunt plan-all
terragrunt apply-all
fqdn=terraform-multicloud-demo-$ENV.dovnar-alexander.xyz
.data/check.sh $fqdn
ENV=preprod
cd $ENV
terragrunt destroy-all