Error: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "ClusterRole" in version "rbac.authorization.k8s.io/v1beta1", #7
The following error occurred to me, when terraform apply runs.
│ Error: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "ClusterRole" in version "rbac.authorization.k8s.io/v1beta1", unable to recognize "": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"]
│
│ with module.cloudwatch_logs.helm_release.cloudwatch_logs[0],
│ on .terraform/modules/cloudwatch_logs/helm.tf line 1, in resource "helm_release" "cloudwatch_logs":
│ 1: resource "helm_release" "cloudwatch_logs" {
Steps to reproduce
Version information
$ terraform version
Terraform v1.1.7
on linux_amd64
Contact Details (optional)
No response
Description. What happened?
The following error occurred to me, when
terraform apply
runs.Steps to reproduce
Version information
provider registry.terraform.io/hashicorp/aws v3.70.0
provider registry.terraform.io/hashicorp/helm v2.1.2
provider registry.terraform.io/hashicorp/kubernetes v2.4.1
provider registry.terraform.io/hashicorp/tls v3.3.0
Prepare the following tf file
terraform apply
commandExpected behavior
Successful to apply Terraform resources
Actual behavior
Same as the description
Occurrence
Frequently
Relevant log output
No response
Code of Conduct