We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 version: v1.5.7 Kubernetes provider version: v2.30.0 Kubernetes version: v1.29.2
terraform { backend "local" {} required_providers { kubernetes = { source = "hashicorp/kubernetes" version = "2.30.0" } } } provider "kubernetes" { config_path = "~/.kube/config" } resource "kubernetes_manifest" "demo_service" { manifest = { "apiVersion" = "serving.knative.dev/v1" "kind" = "Service" "metadata" = { "labels" = { "networking.knative.dev/visibility" = "cluster-local" } "name" = "busybox-service" "namespace" = "default" } "spec" = { "template" = { "metadata" = { "annotations" = { "autoscaling.knative.dev/target" = "10" } "labels" = { "app" = "busybox-service" } } "spec" = { "containerConcurrency" = 10 "containers" = [ { "env" = [ { "name" = "WEATHERFILE_S3" "valueFrom" = { "secretKeyRef" = { "key" = "WEATHER_FILES_S3" "name" = "bucket-name" } } }, { "name" = "PROJECT_REPORT_S3" "valueFrom" = { "secretKeyRef" = { "key" = "PROJECT_REPORT_DATA_S3" "name" = "bucket-name" } } } ] "image" = "busybox:latest" "name" = "busybox" "ports" = [ { "containerPort" = 3000 } ] "readinessProbe" = { "httpGet" = { "path" = "/health" "port" = 3000 } "initialDelaySeconds" = 3 } } ] } } } } }
https://gist.github.com/nnsay/56673a736926f51960e0d0f537798a34
https://gist.github.com/nnsay/6cb8f990444703b1709547be0fea9d6f
terraform plan
output the new resource should be created
error and crash
if only set the one env item, the plan command is ok.
plan
no
The text was updated successfully, but these errors were encountered:
I got the same crash and error, when also using kubernetes_manifest resource. The crash is also happening on version 2.31.0
kubernetes_manifest
The temporary solution that worked for me, it was downgrading to 2.29.
Sorry, something went wrong.
alexsomesan
No branches or pull requests
Terraform Version, Provider Version and Kubernetes Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/nnsay/56673a736926f51960e0d0f537798a34
Panic Output
https://gist.github.com/nnsay/6cb8f990444703b1709547be0fea9d6f
Steps to Reproduce
Expected Behavior
output the new resource should be created
Actual Behavior
error and crash
Important Factoids
if only set the one env item, the
plan
command is ok.References
no
Community Note
The text was updated successfully, but these errors were encountered: