diff --git a/proxmox/terraform/admin/rancher-common.tf b/proxmox/terraform/admin/rancher-common.tf new file mode 120000 index 0000000..efe4619 --- /dev/null +++ b/proxmox/terraform/admin/rancher-common.tf @@ -0,0 +1 @@ +../rancher-common.tf \ No newline at end of file diff --git a/proxmox/terraform/staging/rancher-common.tf b/proxmox/terraform/rancher-common.tf similarity index 100% copy from proxmox/terraform/staging/rancher-common.tf copy to proxmox/terraform/rancher-common.tf diff --git a/proxmox/terraform/staging/rancher-common.tf b/proxmox/terraform/staging/rancher-common.tf deleted file mode 100644 index f6b3e5c..0000000 --- a/proxmox/terraform/staging/rancher-common.tf +++ /dev/null @@ -1,19 +0,0 @@ -# This declares terraform manifests to provision vms and register containers within -# those to a rancher (clusters management service) instance. - -# Each software has the following responsibilities: -# - proxmox: provision vms (with docker dependency) -# - rancher: installs kube cluster within containers (running on vms) - -# Requires (RANCHER_ACCESS_KEY and RANCHER_SECRET_KEY) in your shell environment -# $ cat ~/.config/terraform/swh/setup.sh -# ... -# key_entry=operations/rancher/azure/elastic-loader-lister-keys -# export RANCHER_ACCESS_KEY=$(swhpass ls $key_entry | head -1 | cut -d: -f1) -# export RANCHER_SECRET_KEY=$(swhpass ls $key_entry | head -1 | cut -d: -f2) - -provider "rancher2" { - api_url = "https://rancher.euwest.azure.internal.softwareheritage.org/v3" - # for now - insecure = true -} diff --git a/proxmox/terraform/staging/rancher-common.tf b/proxmox/terraform/staging/rancher-common.tf new file mode 120000 index 0000000..efe4619 --- /dev/null +++ b/proxmox/terraform/staging/rancher-common.tf @@ -0,0 +1 @@ +../rancher-common.tf \ No newline at end of file