Terraform commonly used providers

Terraform Registry official website

https://registry.terraform.io/browse/providers?product_intent=terraform

kubernetes

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs

for interacting with Kubernetes supported resources

provider "kubernetes" {
    
    
  // kubeconfig 文件
  config_path    = "~/.kube/config"
  // 上下文
  config_context = "my-context"
}

namespace

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/namespace

workload

Deployment

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/deployment

job

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/job

Services and Routing

service

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/service

configuration

kubernetes_config_map

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/config_map

secret

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/secret

time

Used to execute actions during specific lifecycle actions
https://registry.terraform.io/providers/hashicorp/time/latest/docs

Guess you like

Origin blog.csdn.net/xyc1211/article/details/130428109