This PR adds a Terraform module that deploys the required infrastructure to run the mastering tutorial. At the same time, it simplifies the setup by using LXD directly and using advanced features, like the automatic DNS on managed bridge networks.
The tutorial itself is simplified a lot and should be easier to run for users, with less chance for errors.
The Terraform module could also be reused for testing different scenarios.
Known issues:
There is a race condition adding the SSH keys to the machines related to cloud-init execution. Retrying the terraform apply seems to work consistently.
Description
This PR adds a Terraform module that deploys the required infrastructure to run the mastering tutorial. At the same time, it simplifies the setup by using LXD directly and using advanced features, like the automatic DNS on managed bridge networks.
The tutorial itself is simplified a lot and should be easier to run for users, with less chance for errors.
The Terraform module could also be reused for testing different scenarios.
Known issues:
terraform apply
seems to work consistently.Checklist: