This directory provides an example flow for using Mirantis Launchpad with Terraform and AWS.
- An account and credentials for AWS.
- Terraform installed
-
Create/Use terraform workspace
terraform workspace list
-
Export AWS credentials
-
Create terraform.tfvars file with needed details. You can use the provided terraform.tfvars.example as a baseline.
-
Run terraform
terraform init terraform apply -var-file="terraform.tfvars"
-
Create a launchpad file from terraform output
terraform output -raw mke_cluster > launchpad.yaml
-
Create a cluster using launchpad config
launchpad apply -c launchpad.yaml