From 0b900f9e5c2415bac6ff4872698769e16cc1056e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Petazzoni?= Date: Tue, 9 May 2023 07:21:47 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20Add=20example=20file=20for=20OpenSt?= =?UTF-8?q?ack=20tfvars?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../virtual-machines/openstack/tfvars.example | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 prepare-labs/terraform/virtual-machines/openstack/tfvars.example diff --git a/prepare-labs/terraform/virtual-machines/openstack/tfvars.example b/prepare-labs/terraform/virtual-machines/openstack/tfvars.example new file mode 100644 index 00000000..4dbeb64d --- /dev/null +++ b/prepare-labs/terraform/virtual-machines/openstack/tfvars.example @@ -0,0 +1,20 @@ +# If you want to deploy to an OpenStack cluster, you need to: +# 1) copy that file to e.g. myopenstackcluster.tfvars +# 2) customize the copy (you need to replace all the CHANGEME values) +# 3) deploy with "labctl create --provider openstack/myopenstackcluster ..." + +user = "CHANGEME" +tenant = "CHANGEME" +domain = "CHANGEME" +password = "CHANGEME" +auth_url = "https://identity.api.CHANGEME/v3" +image = "Ubuntu 22.04" +pool = "CHANGEME (pool of public IP addresses to use)" +external_network_id = "CHANGEME-1234-abcd-1234-123456789abc" + +# These should correspond to OpenStack "flavors". +node_sizes = { + S = "CHANGEME.1CPU.2GB" + M = "CHANGEME.2CPU.4GB" + L = "CHANGEME.3CPU.8GB" +}