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

helm_release.operator: Creating failed to install CRD terraform kubernetes helm #3

Open
rafalbog opened this issue Apr 6, 2022 · 8 comments

Comments

@rafalbog
Copy link

rafalbog commented Apr 6, 2022

hi, so I was trying to complete tutorial
https://learn.hashicorp.com/tutorials/terraform/kubernetes-operator?in=terraform/cloud

inserted all credentials, installed kind kubectl and when I try to apply configuration I am getting an error,is there any workaround, or is there a fix to this error?

helm_release.operator: Creating...

│ Error: failed to install CRD crds/app.terraform.io_workspaces_crd.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

│ with helm_release.operator,
│ on main.tf line 85, in resource "helm_release" "operator":
│ 85: resource "helm_release" "operator" {

below logs from operation TF_LOG_CORE=TRACE

2022-04-06T13:49:25.655Z [INFO] backend/local: apply calling Apply
2022-04-06T13:49:25.655Z [DEBUG] Building and walking apply graph for NormalMode plan
2022-04-06T13:49:25.655Z [TRACE] Executing graph transform *terraform.ConfigTransformer
2022-04-06T13:49:25.655Z [TRACE] ConfigTransformer: Starting for path:
2022-04-06T13:49:25.655Z [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph:
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource

2022-04-06T13:49:25.655Z [TRACE] Executing graph transform *terraform.RootVariableTransformer
2022-04-06T13:49:25.655Z [TRACE] Completed graph transform *terraform.RootVariableTransformer with new graph:
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
var.aws_access_key_id - *terraform.NodeRootVariable
var.aws_secret_access_key - *terraform.NodeRootVariable
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable

2022-04-06T13:49:25.655Z [TRACE] Executing graph transform *terraform.ModuleVariableTransformer
2022-04-06T13:49:25.655Z [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes)
2022-04-06T13:49:25.655Z [TRACE] Executing graph transform *terraform.LocalTransformer
2022-04-06T13:49:25.655Z [TRACE] Completed graph transform *terraform.LocalTransformer (no changes)
2022-04-06T13:49:25.655Z [TRACE] Executing graph transform *terraform.OutputTransformer
2022-04-06T13:49:25.655Z [TRACE] Completed graph transform *terraform.OutputTransformer (no changes)
2022-04-06T13:49:25.655Z [TRACE] Executing graph transform *terraform.DiffTransformer
2022-04-06T13:49:25.655Z [TRACE] DiffTransformer starting
2022-04-06T13:49:25.656Z [TRACE] DiffTransformer: found NoOp change for kubernetes_namespace.edu
2022-04-06T13:49:25.656Z [TRACE] DiffTransformer: found NoOp change for kubernetes_secret.workspacesecrets
2022-04-06T13:49:25.656Z [TRACE] DiffTransformer: found NoOp change for kubernetes_secret.terraformrc
2022-04-06T13:49:25.656Z [TRACE] DiffTransformer: found Create change for helm_release.operator
2022-04-06T13:49:25.656Z [TRACE] DiffTransformer: helm_release.operator will be represented by helm_release.operator
2022-04-06T13:49:25.656Z [TRACE] DiffTransformer complete
2022-04-06T13:49:25.656Z [TRACE] Completed graph transform *terraform.DiffTransformer with new graph:
helm_release.operator - *terraform.NodeApplyableResourceInstance
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
var.aws_access_key_id - *terraform.NodeRootVariable
var.aws_secret_access_key - *terraform.NodeRootVariable
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable

2022-04-06T13:49:25.656Z [TRACE] Executing graph transform *terraform.AttachStateTransformer
2022-04-06T13:49:25.656Z [DEBUG] Resource state not found for node "helm_release.operator", instance helm_release.operator
2022-04-06T13:49:25.656Z [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2022-04-06T13:49:25.656Z [TRACE] Executing graph transform *terraform.OrphanOutputTransformer
2022-04-06T13:49:25.656Z [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes)
2022-04-06T13:49:25.656Z [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer
2022-04-06T13:49:25.656Z [TRACE] AttachResourceConfigTransformer: attaching to "helm_release.operator" (*terraform.NodeApplyableResourceInstance) config from main.tf:85,1-35
2022-04-06T13:49:25.656Z [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to helm_release.operator
2022-04-06T13:49:25.656Z [TRACE] AttachResourceConfigTransformer: attaching to "kubernetes_secret.terraformrc (expand)" (*terraform.nodeExpandApplyableResource) config from main.tf:50,1-43
2022-04-06T13:49:25.656Z [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to kubernetes_secret.terraformrc (expand)
2022-04-06T13:49:25.656Z [TRACE] AttachResourceConfigTransformer: attaching to "kubernetes_secret.workspacesecrets (expand)" (*terraform.nodeExpandApplyableResource) config from main.tf:62,1-48
2022-04-06T13:49:25.656Z [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to kubernetes_secret.workspacesecrets (expand)
2022-04-06T13:49:25.656Z [TRACE] AttachResourceConfigTransformer: attaching to "helm_release.operator (expand)" (*terraform.nodeExpandApplyableResource) config from main.tf:85,1-35
2022-04-06T13:49:25.656Z [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to helm_release.operator (expand)
2022-04-06T13:49:25.656Z [TRACE] AttachResourceConfigTransformer: attaching to "kubernetes_namespace.edu (expand)" (*terraform.nodeExpandApplyableResource) config from main.tf:43,1-38
2022-04-06T13:49:25.656Z [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to kubernetes_namespace.edu (expand)
2022-04-06T13:49:25.656Z [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes)
2022-04-06T13:49:25.656Z [TRACE] Executing graph transform *terraform.graphTransformerMulti
2022-04-06T13:49:25.656Z [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer
2022-04-06T13:49:25.656Z [TRACE] ProviderConfigTransformer: attaching to "provider["registry.terraform.io/hashicorp/kubernetes"]" provider configuration from main.tf:34,1-22
2022-04-06T13:49:25.656Z [TRACE] ProviderConfigTransformer: attaching to "provider["registry.terraform.io/hashicorp/helm"]" provider configuration from main.tf:74,1-16
2022-04-06T13:49:25.656Z [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph:
helm_release.operator - *terraform.NodeApplyableResourceInstance
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
var.aws_access_key_id - *terraform.NodeRootVariable
var.aws_secret_access_key - *terraform.NodeRootVariable
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable

2022-04-06T13:49:25.656Z [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer
2022-04-06T13:49:25.656Z [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes)
2022-04-06T13:49:25.656Z [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer
2022-04-06T13:49:25.656Z [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/kubernetes"] serving kubernetes_secret.workspacesecrets (expand)
2022-04-06T13:49:25.656Z [DEBUG] ProviderTransformer: "kubernetes_secret.workspacesecrets (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/kubernetes"]
2022-04-06T13:49:25.656Z [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/helm"] serving helm_release.operator (expand)
2022-04-06T13:49:25.656Z [DEBUG] ProviderTransformer: "helm_release.operator (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/helm"]
2022-04-06T13:49:25.656Z [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/helm"] serving helm_release.operator
2022-04-06T13:49:25.656Z [DEBUG] ProviderTransformer: "helm_release.operator" (*terraform.NodeApplyableResourceInstance) needs provider["registry.terraform.io/hashicorp/helm"]
2022-04-06T13:49:25.656Z [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/kubernetes"] serving kubernetes_secret.terraformrc (expand)
2022-04-06T13:49:25.656Z [DEBUG] ProviderTransformer: "kubernetes_secret.terraformrc (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/kubernetes"]
2022-04-06T13:49:25.656Z [TRACE] ProviderTransformer: exact match for provider["registry.terraform.io/hashicorp/kubernetes"] serving kubernetes_namespace.edu (expand)
2022-04-06T13:49:25.656Z [DEBUG] ProviderTransformer: "kubernetes_namespace.edu (expand)" (*terraform.nodeExpandApplyableResource) needs provider["registry.terraform.io/hashicorp/kubernetes"]
2022-04-06T13:49:25.656Z [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph:
helm_release.operator - *terraform.NodeApplyableResourceInstance
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
var.aws_access_key_id - *terraform.NodeRootVariable
var.aws_secret_access_key - *terraform.NodeRootVariable
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable

2022-04-06T13:49:25.656Z [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer
2022-04-06T13:49:25.656Z [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes)
2022-04-06T13:49:25.656Z [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph:
helm_release.operator - *terraform.NodeApplyableResourceInstance
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
var.aws_access_key_id - *terraform.NodeRootVariable
var.aws_secret_access_key - *terraform.NodeRootVariable
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable

2022-04-06T13:49:25.656Z [TRACE] Executing graph transform *terraform.RemovedModuleTransformer
2022-04-06T13:49:25.656Z [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes)
2022-04-06T13:49:25.656Z [TRACE] Executing graph transform *terraform.AttachSchemaTransformer
2022-04-06T13:49:25.656Z [TRACE] AttachSchemaTransformer: attaching resource schema to kubernetes_namespace.edu (expand)
2022-04-06T13:49:25.656Z [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/hashicorp/kubernetes"]
2022-04-06T13:49:25.656Z [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["registry.terraform.io/hashicorp/helm"]
2022-04-06T13:49:25.656Z [TRACE] AttachSchemaTransformer: attaching resource schema to helm_release.operator
2022-04-06T13:49:25.656Z [TRACE] AttachSchemaTransformer: attaching resource schema to kubernetes_secret.terraformrc (expand)
2022-04-06T13:49:25.656Z [TRACE] AttachSchemaTransformer: attaching resource schema to kubernetes_secret.workspacesecrets (expand)
2022-04-06T13:49:25.656Z [TRACE] AttachSchemaTransformer: attaching resource schema to helm_release.operator (expand)
2022-04-06T13:49:25.656Z [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes)
2022-04-06T13:49:25.656Z [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer
2022-04-06T13:49:25.656Z [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes)
2022-04-06T13:49:25.656Z [TRACE] Executing graph transform *terraform.ReferenceTransformer
2022-04-06T13:49:25.656Z [DEBUG] ReferenceTransformer: "kubernetes_namespace.edu (expand)" references: []
2022-04-06T13:49:25.656Z [DEBUG] ReferenceTransformer: "var.host" references: []
2022-04-06T13:49:25.656Z [DEBUG] ReferenceTransformer: "var.client_key" references: []
2022-04-06T13:49:25.656Z [DEBUG] ReferenceTransformer: "var.aws_secret_access_key" references: []
2022-04-06T13:49:25.657Z [DEBUG] ReferenceTransformer: "provider["registry.terraform.io/hashicorp/kubernetes"]" references: [var.host var.cluster_ca_certificate var.client_key var.client_certificate]
2022-04-06T13:49:25.657Z [DEBUG] ReferenceTransformer: "provider["registry.terraform.io/hashicorp/helm"]" references: [var.client_key var.client_certificate var.host var.cluster_ca_certificate]
2022-04-06T13:49:25.657Z [DEBUG] ReferenceTransformer: "kubernetes_secret.terraformrc (expand)" references: []
2022-04-06T13:49:25.657Z [DEBUG] ReferenceTransformer: "kubernetes_secret.workspacesecrets (expand)" references: []
2022-04-06T13:49:25.657Z [DEBUG] ReferenceTransformer: "helm_release.operator (expand)" references: []
2022-04-06T13:49:25.657Z [DEBUG] ReferenceTransformer: "var.client_certificate" references: []
2022-04-06T13:49:25.657Z [DEBUG] ReferenceTransformer: "var.cluster_ca_certificate" references: []
2022-04-06T13:49:25.657Z [DEBUG] ReferenceTransformer: "var.aws_access_key_id" references: []
2022-04-06T13:49:25.657Z [INFO] ReferenceTransformer: reference not found: "kubernetes_secret.terraformrc#destroy"
2022-04-06T13:49:25.657Z [INFO] ReferenceTransformer: reference not found: "kubernetes_secret.workspacesecrets#destroy"
2022-04-06T13:49:25.657Z [DEBUG] ReferenceTransformer: "helm_release.operator" references: [kubernetes_secret.terraformrc (expand) kubernetes_secret.workspacesecrets (expand) kubernetes_namespace.edu (expand)]
2022-04-06T13:49:25.657Z [TRACE] Completed graph transform *terraform.ReferenceTransformer with new graph:
helm_release.operator - *terraform.NodeApplyableResourceInstance
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable
var.aws_access_key_id - *terraform.NodeRootVariable
var.aws_secret_access_key - *terraform.NodeRootVariable
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable

2022-04-06T13:49:25.657Z [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer
2022-04-06T13:49:25.657Z [TRACE] AttachDependenciesTransformer: helm_release.operator depends on [kubernetes_namespace.edu kubernetes_secret.terraformrc kubernetes_secret.workspacesecrets]
2022-04-06T13:49:25.657Z [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes)
2022-04-06T13:49:25.657Z [TRACE] Executing graph transform *terraform.ForcedCBDTransformer
2022-04-06T13:49:25.657Z [TRACE] ForcedCBDTransformer: "helm_release.operator" (*terraform.NodeApplyableResourceInstance) has no CBD descendent, so skipping
2022-04-06T13:49:25.657Z [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes)
2022-04-06T13:49:25.657Z [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer
2022-04-06T13:49:25.657Z [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes)
2022-04-06T13:49:25.657Z [TRACE] Executing graph transform *terraform.CBDEdgeTransformer
2022-04-06T13:49:25.657Z [TRACE] Completed graph transform *terraform.CBDEdgeTransformer (no changes)
2022-04-06T13:49:25.657Z [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer
2022-04-06T13:49:25.657Z [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes)
2022-04-06T13:49:25.657Z [TRACE] Executing graph transform *terraform.TargetsTransformer
2022-04-06T13:49:25.657Z [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2022-04-06T13:49:25.657Z [TRACE] Executing graph transform *terraform.CloseProviderTransformer
2022-04-06T13:49:25.657Z [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph:
helm_release.operator - *terraform.NodeApplyableResourceInstance
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable
provider["registry.terraform.io/hashicorp/helm"] (close) - *terraform.graphNodeCloseProvider
helm_release.operator - *terraform.NodeApplyableResourceInstance
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable
provider["registry.terraform.io/hashicorp/kubernetes"] (close) - *terraform.graphNodeCloseProvider
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
var.aws_access_key_id - *terraform.NodeRootVariable
var.aws_secret_access_key - *terraform.NodeRootVariable
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable

2022-04-06T13:49:25.657Z [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer
2022-04-06T13:49:25.657Z [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph:
helm_release.operator - *terraform.NodeApplyableResourceInstance
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable
provider["registry.terraform.io/hashicorp/helm"] (close) - *terraform.graphNodeCloseProvider
helm_release.operator - *terraform.NodeApplyableResourceInstance
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable
provider["registry.terraform.io/hashicorp/kubernetes"] (close) - *terraform.graphNodeCloseProvider
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
root - *terraform.nodeCloseModule
provider["registry.terraform.io/hashicorp/helm"] (close) - *terraform.graphNodeCloseProvider
provider["registry.terraform.io/hashicorp/kubernetes"] (close) - *terraform.graphNodeCloseProvider
var.aws_access_key_id - *terraform.NodeRootVariable
var.aws_secret_access_key - *terraform.NodeRootVariable
var.aws_access_key_id - *terraform.NodeRootVariable
var.aws_secret_access_key - *terraform.NodeRootVariable
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable

2022-04-06T13:49:25.657Z [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer
2022-04-06T13:49:25.657Z [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph:
helm_release.operator - *terraform.NodeApplyableResourceInstance
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
helm_release.operator (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
provider["registry.terraform.io/hashicorp/helm"] - *terraform.NodeApplyableProvider
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable
provider["registry.terraform.io/hashicorp/helm"] (close) - *terraform.graphNodeCloseProvider
helm_release.operator - *terraform.NodeApplyableResourceInstance
provider["registry.terraform.io/hashicorp/kubernetes"] - *terraform.NodeApplyableProvider
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable
provider["registry.terraform.io/hashicorp/kubernetes"] (close) - *terraform.graphNodeCloseProvider
kubernetes_namespace.edu (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.terraformrc (expand) - *terraform.nodeExpandApplyableResource
kubernetes_secret.workspacesecrets (expand) - *terraform.nodeExpandApplyableResource
root - *terraform.nodeCloseModule
provider["registry.terraform.io/hashicorp/helm"] (close) - *terraform.graphNodeCloseProvider
provider["registry.terraform.io/hashicorp/kubernetes"] (close) - *terraform.graphNodeCloseProvider
var.aws_access_key_id - *terraform.NodeRootVariable
var.aws_secret_access_key - *terraform.NodeRootVariable
var.aws_access_key_id - *terraform.NodeRootVariable
var.aws_secret_access_key - *terraform.NodeRootVariable
var.client_certificate - *terraform.NodeRootVariable
var.client_key - *terraform.NodeRootVariable
var.cluster_ca_certificate - *terraform.NodeRootVariable
var.host - *terraform.NodeRootVariable

2022-04-06T13:49:25.658Z [DEBUG] Starting graph walk: walkApply
2022-04-06T13:49:25.658Z [TRACE] vertex "var.aws_secret_access_key": starting visit (*terraform.NodeRootVariable)
2022-04-06T13:49:25.658Z [TRACE] vertex "var.cluster_ca_certificate": starting visit (*terraform.NodeRootVariable)
2022-04-06T13:49:25.658Z [TRACE] vertex "var.cluster_ca_certificate": visit complete
2022-04-06T13:49:25.658Z [TRACE] vertex "var.host": starting visit (*terraform.NodeRootVariable)
2022-04-06T13:49:25.658Z [TRACE] vertex "var.host": visit complete
2022-04-06T13:49:25.658Z [TRACE] vertex "var.client_key": starting visit (*terraform.NodeRootVariable)
2022-04-06T13:49:25.658Z [TRACE] vertex "var.client_key": visit complete
2022-04-06T13:49:25.658Z [TRACE] vertex "var.client_certificate": starting visit (*terraform.NodeRootVariable)
2022-04-06T13:49:25.658Z [TRACE] vertex "var.client_certificate": visit complete
2022-04-06T13:49:25.658Z [TRACE] vertex "provider["registry.terraform.io/hashicorp/kubernetes"]": starting visit (*terraform.NodeApplyableProvider)
2022-04-06T13:49:25.658Z [DEBUG] created provider logger: level=off
2022-04-06T13:49:25.658Z [TRACE] vertex "var.aws_access_key_id": starting visit (*terraform.NodeRootVariable)
2022-04-06T13:49:25.659Z [TRACE] vertex "var.aws_access_key_id": visit complete
2022-04-06T13:49:25.659Z [TRACE] vertex "var.aws_secret_access_key": visit complete
2022-04-06T13:49:25.659Z [TRACE] vertex "provider["registry.terraform.io/hashicorp/helm"]": starting visit (*terraform.NodeApplyableProvider)
2022-04-06T13:49:25.782Z [TRACE] BuiltinEvalContext: Initialized "provider["registry.terraform.io/hashicorp/kubernetes"]" provider for provider["registry.terraform.io/hashicorp/kubernetes"]
2022-04-06T13:49:25.782Z [TRACE] NodeApplyableProvider: configuring provider["registry.terraform.io/hashicorp/kubernetes"]
2022-04-06T13:49:25.782Z [TRACE] buildProviderConfig for provider["registry.terraform.io/hashicorp/kubernetes"]: using explicit config only
2022-04-06T13:49:25.782Z [TRACE] GRPCProvider: GetProviderSchema
2022-04-06T13:49:25.782Z [DEBUG] created provider logger: level=off
2022-04-06T13:49:25.832Z [TRACE] GRPCProvider: ValidateProviderConfig
2022-04-06T13:49:25.870Z [WARN] ValidateProviderConfig from "provider["registry.terraform.io/hashicorp/kubernetes"]" changed the config value, but that value is unused
2022-04-06T13:49:25.914Z [TRACE] BuiltinEvalContext: Initialized "provider["registry.terraform.io/hashicorp/helm"]" provider for provider["registry.terraform.io/hashicorp/helm"]
2022-04-06T13:49:25.914Z [TRACE] NodeApplyableProvider: configuring provider["registry.terraform.io/hashicorp/helm"]
2022-04-06T13:49:25.914Z [TRACE] buildProviderConfig for provider["registry.terraform.io/hashicorp/helm"]: using explicit config only
2022-04-06T13:49:25.914Z [TRACE] GRPCProvider: GetProviderSchema
2022-04-06T13:49:25.914Z [TRACE] GRPCProvider: ConfigureProvider
2022-04-06T13:49:25.915Z [TRACE] vertex "provider["registry.terraform.io/hashicorp/kubernetes"]": visit complete
2022-04-06T13:49:25.915Z [TRACE] vertex "kubernetes_secret.workspacesecrets (expand)": starting visit (*terraform.nodeExpandApplyableResource)
2022-04-06T13:49:25.915Z [TRACE] vertex "kubernetes_secret.workspacesecrets (expand)": expanding dynamic subgraph
2022-04-06T13:49:25.915Z [TRACE] vertex "kubernetes_secret.workspacesecrets (expand)": entering dynamic subgraph
2022-04-06T13:49:25.915Z [TRACE] vertex "kubernetes_secret.workspacesecrets": starting visit (*terraform.NodeApplyableResource)
2022-04-06T13:49:25.915Z [TRACE] vertex "kubernetes_secret.workspacesecrets": visit complete
2022-04-06T13:49:25.915Z [TRACE] vertex "kubernetes_secret.workspacesecrets (expand)": dynamic subgraph completed successfully
2022-04-06T13:49:25.915Z [TRACE] vertex "kubernetes_secret.workspacesecrets (expand)": visit complete
2022-04-06T13:49:25.915Z [TRACE] vertex "kubernetes_namespace.edu (expand)": starting visit (*terraform.nodeExpandApplyableResource)
2022-04-06T13:49:25.915Z [TRACE] vertex "kubernetes_namespace.edu (expand)": expanding dynamic subgraph
2022-04-06T13:49:25.916Z [TRACE] vertex "kubernetes_namespace.edu (expand)": entering dynamic subgraph
2022-04-06T13:49:25.916Z [TRACE] vertex "kubernetes_namespace.edu": starting visit (*terraform.NodeApplyableResource)
2022-04-06T13:49:25.916Z [TRACE] vertex "kubernetes_namespace.edu": visit complete
2022-04-06T13:49:25.916Z [TRACE] vertex "kubernetes_namespace.edu (expand)": dynamic subgraph completed successfully
2022-04-06T13:49:25.916Z [TRACE] vertex "kubernetes_namespace.edu (expand)": visit complete
2022-04-06T13:49:25.916Z [TRACE] vertex "kubernetes_secret.terraformrc (expand)": starting visit (*terraform.nodeExpandApplyableResource)
2022-04-06T13:49:25.916Z [TRACE] vertex "kubernetes_secret.terraformrc (expand)": expanding dynamic subgraph
2022-04-06T13:49:25.916Z [TRACE] vertex "kubernetes_secret.terraformrc (expand)": entering dynamic subgraph
2022-04-06T13:49:25.916Z [TRACE] vertex "kubernetes_secret.terraformrc": starting visit (*terraform.NodeApplyableResource)
2022-04-06T13:49:25.916Z [TRACE] vertex "kubernetes_secret.terraformrc": visit complete
2022-04-06T13:49:25.916Z [TRACE] vertex "kubernetes_secret.terraformrc (expand)": dynamic subgraph completed successfully
2022-04-06T13:49:25.916Z [TRACE] vertex "kubernetes_secret.terraformrc (expand)": visit complete
2022-04-06T13:49:25.916Z [TRACE] vertex "provider["registry.terraform.io/hashicorp/kubernetes"] (close)": starting visit (*terraform.graphNodeCloseProvider)
2022-04-06T13:49:25.916Z [TRACE] GRPCProvider: Close
2022-04-06T13:49:25.916Z [TRACE] GRPCProvider: ValidateProviderConfig
2022-04-06T13:49:25.919Z [TRACE] vertex "provider["registry.terraform.io/hashicorp/kubernetes"] (close)": visit complete
2022-04-06T13:49:25.922Z [WARN] ValidateProviderConfig from "provider["registry.terraform.io/hashicorp/helm"]" changed the config value, but that value is unused
2022-04-06T13:49:25.922Z [TRACE] GRPCProvider: ConfigureProvider
2022-04-06T13:49:25.924Z [TRACE] vertex "provider["registry.terraform.io/hashicorp/helm"]": visit complete
2022-04-06T13:49:25.924Z [TRACE] vertex "helm_release.operator (expand)": starting visit (*terraform.nodeExpandApplyableResource)
2022-04-06T13:49:25.924Z [TRACE] vertex "helm_release.operator (expand)": expanding dynamic subgraph
2022-04-06T13:49:25.924Z [TRACE] vertex "helm_release.operator (expand)": entering dynamic subgraph
2022-04-06T13:49:25.925Z [TRACE] vertex "helm_release.operator": starting visit (*terraform.NodeApplyableResource)
2022-04-06T13:49:25.925Z [TRACE] vertex "helm_release.operator": visit complete
2022-04-06T13:49:25.925Z [TRACE] vertex "helm_release.operator (expand)": dynamic subgraph completed successfully
2022-04-06T13:49:25.925Z [TRACE] vertex "helm_release.operator (expand)": visit complete
2022-04-06T13:49:25.925Z [TRACE] vertex "helm_release.operator": starting visit (*terraform.NodeApplyableResourceInstance)
2022-04-06T13:49:25.925Z [TRACE] readDiff: Read Create change from plan for helm_release.operator
2022-04-06T13:49:25.925Z [TRACE] readResourceInstanceState: reading state for helm_release.operator
2022-04-06T13:49:25.925Z [TRACE] readResourceInstanceState: no state present for helm_release.operator
2022-04-06T13:49:25.925Z [TRACE] readDiff: Read Create change from plan for helm_release.operator
2022-04-06T13:49:25.926Z [TRACE] Re-validating config for "helm_release.operator"
2022-04-06T13:49:25.926Z [TRACE] GRPCProvider: ValidateResourceConfig
2022-04-06T13:49:25.927Z [TRACE] GRPCProvider: PlanResourceChange
2022-04-06T13:49:26.367Z [WARN] Provider "registry.terraform.io/hashicorp/helm" produced an invalid plan for helm_release.operator, but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .cleanup_on_fail: planned value cty.False for a non-computed attribute
- .create_namespace: planned value cty.False for a non-computed attribute
- .force_update: planned value cty.False for a non-computed attribute
- .lint: planned value cty.False for a non-computed attribute
- .max_history: planned value cty.NumberIntVal(0) for a non-computed attribute
- .recreate_pods: planned value cty.False for a non-computed attribute
- .timeout: planned value cty.NumberIntVal(300) for a non-computed attribute
- .disable_webhooks: planned value cty.False for a non-computed attribute
- .replace: planned value cty.False for a non-computed attribute
- .skip_crds: planned value cty.False for a non-computed attribute
- .disable_crd_hooks: planned value cty.False for a non-computed attribute
- .disable_openapi_validation: planned value cty.False for a non-computed attribute
- .render_subchart_notes: planned value cty.True for a non-computed attribute
- .reuse_values: planned value cty.False for a non-computed attribute
- .dependency_update: planned value cty.False for a non-computed attribute
- .reset_values: planned value cty.False for a non-computed attribute
- .verify: planned value cty.False for a non-computed attribute
- .wait: planned value cty.True for a non-computed attribute
- .atomic: planned value cty.False for a non-computed attribute
2022-04-06T13:49:26.367Z [TRACE] checkPlannedChange: Verifying that actual change (action Create) matches planned change (action Create)
2022-04-06T13:49:26.367Z [TRACE] readResourceInstanceState: reading state for helm_release.operator
2022-04-06T13:49:26.367Z [TRACE] readResourceInstanceState: no state present for helm_release.operator
helm_release.operator: Creating...
2022-04-06T13:49:26.368Z [INFO] Starting apply for helm_release.operator
2022-04-06T13:49:26.368Z [DEBUG] helm_release.operator: applying the planned Create change
2022-04-06T13:49:26.368Z [TRACE] GRPCProvider: ApplyResourceChange
2022-04-06T13:49:26.766Z [TRACE] maybeTainted: helm_release.operator encountered an error during creation, so it is now marked as tainted
2022-04-06T13:49:26.766Z [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for helm_release.operator
2022-04-06T13:49:26.766Z [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for helm_release.operator
2022-04-06T13:49:26.766Z [TRACE] evalApplyProvisioners: helm_release.operator is tainted, so skipping provisioning
2022-04-06T13:49:26.766Z [TRACE] maybeTainted: helm_release.operator was already tainted, so nothing to do
2022-04-06T13:49:26.766Z [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for helm_release.operator
2022-04-06T13:49:26.766Z [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for helm_release.operator
2022-04-06T13:49:26.766Z [TRACE] statemgr.Filesystem: creating backup snapshot at terraform.tfstate.backup
2022-04-06T13:49:26.767Z [TRACE] statemgr.Filesystem: state has changed since last snapshot, so incrementing serial to 6
2022-04-06T13:49:26.767Z [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate
2022-04-06T13:49:26.771Z [ERROR] vertex "helm_release.operator" error: failed to install CRD crds/app.terraform.io_workspaces_crd.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
2022-04-06T13:49:26.772Z [TRACE] vertex "helm_release.operator": visit complete, with errors
2022-04-06T13:49:26.772Z [TRACE] dag/walk: upstream of "provider["registry.terraform.io/hashicorp/helm"] (close)" errored, so skipping
2022-04-06T13:49:26.773Z [TRACE] dag/walk: upstream of "root" errored, so skipping
2022-04-06T13:49:26.773Z [TRACE] statemgr.Filesystem: have already backed up original terraform.tfstate to terraform.tfstate.backup on a previous write
2022-04-06T13:49:26.774Z [TRACE] statemgr.Filesystem: state has changed since last snapshot, so incrementing serial to 7
2022-04-06T13:49:26.774Z [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate

│ Error: failed to install CRD crds/app.terraform.io_workspaces_crd.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

│ with helm_release.operator,
│ on main.tf line 85, in resource "helm_release" "operator":
│ 85: resource "helm_release" "operator" {


2022-04-06T13:49:26.778Z [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2022-04-06T13:49:26.778Z [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock

@rafalbog
Copy link
Author

rafalbog commented Apr 6, 2022

helm repo updated
helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "hashicorp" chart repository
Update Complete. ⎈Happy Helming!⎈

still there is a problem.

2022-04-06T14:01:41.292Z [TRACE] vertex "helm_release.operator": visit complete, with errors
2022-04-06T14:01:41.292Z [TRACE] dag/walk: upstream of "provider["registry.terraform.io/hashicorp/helm"] (close)" errored, so skipping
2022-04-06T14:01:41.292Z [TRACE] dag/walk: upstream of "root" errored, so skipping
2022-04-06T14:01:41.292Z [TRACE] statemgr.Filesystem: not making a backup, because the new snapshot is identical to the old
2022-04-06T14:01:41.292Z [TRACE] statemgr.Filesystem: no state changes since last snapshot
2022-04-06T14:01:41.292Z [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate

│ Error: failed to install CRD crds/app.terraform.io_workspaces_crd.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

│ with helm_release.operator,
│ on main.tf line 85, in resource "helm_release" "operator":
│ 85: resource "helm_release" "operator" {


2022-04-06T14:01:41.295Z [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2022-04-06T14:01:41.295Z [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock

@im2nguyen
Copy link
Collaborator

Hi @rafalbog, thanks for trying out the tutorial. I can't reproduce your issue, are you using kind to spin up the Kubernetes cluster?

@git4raj
Copy link

git4raj commented Apr 13, 2022

I'm having the same issue. Did this get resolved?
Error: failed to install CRD crds/app.terraform.io_workspaces_crd.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

on main.tf line 85, in resource "helm_release" "operator":
2022/04/12 10:23:59 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
85: resource "helm_release" "operator" {

2022-04-12T10:23:59.327-0400 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2022-04-12T10:23:59.329-0400 [DEBUG] plugin: plugin process exited: path=.terraform/plugins/registry.terraform.io/hashicorp/helm/2.5.1/darwin_amd64/terraform-provider-helm_v2.5.1_x5 pid=91012
2022-04-12T10:23:59.329-0400 [DEBUG] plugin: plugin exited

@git4raj
Copy link

git4raj commented Apr 15, 2022

@im2nguyen - I'm using kind and having this issue.

@im2nguyen
Copy link
Collaborator

Can you send your kind version? I wasn't able to replicate this issue while running it with kind

@git4raj
Copy link

git4raj commented Apr 15, 2022

kind version 0.12.0

@git4raj
Copy link

git4raj commented Apr 27, 2022

@im2nguyen - any update on this?

@NicoOosterwijk
Copy link

Same issue with kind v0.14.0 go1.18.2 darwin/amd64

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

No branches or pull requests

4 participants