Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

при использовании команды terraform init, происходит автоматическое скачивание провайдера с hasicorp, а мне нужна установка кастомной версии #2517

Closed
ElDar717 opened this issue Jun 11, 2024 · 1 comment
Labels

Comments

@ElDar717
Copy link

Terraform version, Kubernetes provider version and Kubernetes version

Terraform version: v1.8.5
Kubernetes Provider version: v2.27.0
Kubernetes version: v1.30.1

Terraform configuration

terraform {
  required_providers {
    kubernetes = {
      source  = "hashicorp/kubernetes"
      version = "2.27.0" 
    }
  }
}

provider "kubernetes" {
  config_path = "C:/Users/Test/.kube/config" 
}

Question

When using the terraform init command, the provider is automatically downloaded from hashicorp, and I need to install a custom version terraform_provider_kubernetes_windows_amd64.exe. The file itself terraform_provider_kubernetes_windows_amd64.exe I put it in the Plugins folder. Help me create a configuration file and what other files need to be added. for full-fledged work. I am using terraform for the first time and therefore I have difficulties. You can describe in detail how to use your custom version terraform_provider_kubernetes_windows_amd64.exe. Thank you in advance.
@alexsomesan
Copy link
Member

The provider installation process is documented here: https://developer.hashicorp.com/terraform/cli/config/config-file#provider-installation

Also, please post future issues in english so that we can be sure everyone understands exactly what the ask is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants