Open fschlz opened 10 months ago
downgrading to Python 3.8 lets me run the command matcha provision
, but finally results in another error:
⠦ 0:10:28 ApplyingWARNING:python_terraform:error: b'\nError: Provider configuration: cannot load Kubernetes client config\n\n with provider["registry.terraform.io/hashicorp/kubernetes"],\n on kubernetes.tf line 15, in provider "kubernetes":\n 15: provider "kubernetes" {\n\ninvalid configuration: [client-cert-data and client-cert are both specified\nfor custom. client-cert-data will override., client-key-data and client-key\nare both specified for custom; client-key-data will override]\n'
⠦ 0:10:28 Applying
Terraform failed because of the following error: '
Error: Provider configuration: cannot load Kubernetes client config
with provider["registry.terraform.io/hashicorp/kubernetes"],
on kubernetes.tf line 15, in provider "kubernetes":
15: provider "kubernetes" {
invalid configuration:
'.
running matcha destroy
to unprovision all created resources throws another error:
❯ matcha destroy
The following resources will be destroyed:
1. Azure Kubernetes Service (AKS): A kubernetes cluster
2. Two Storage Containers: A storage container for experiment tracking artifacts and a second for model training artifacts
3. Seldon Core: A framework for model deployment on top of a kubernetes cluster
4. Azure Container Registry: A container registry for storing docker images
5. ZenServer: A zenml server required for remote orchestration
6. Azure Resource Group: The resource group containing the provisioned resources
7. Matcha State Container: A storage container for tracking matcha state
Destroying the resources may take approximately 20 minutes. May we suggest you grab a cup of 🍵?
Are you happy for 'destroy' to run? [y/N]: y
⏳ Destroying Matcha resources...
⠼ 0:00:01 Destroying
Terraform failed because of the following error: '
Error: Failed to read variables file
Given variables file
/Users/fschulz/dev/learn-matcha/.matcha/infrastructure/resources/terraform.tfvars.json
does not exist.
'.
Contact details [optional]
No response
Tell us about the bug in plenty of detail
Just installed the tool via
poetry add
, got nothing else installed. Running Python 3.12.0Steps to reproduce the bug
poetry init
poetry install
matcha provision
Any relevant log output