Error: Post
Jump to navigation
Jump to search
╷ │ Error: Post "http://localhost/apis/storage.k8s.io/v1/storageclasses": dial tcp [::1]:80: connect: connection refused │ │ with module.eks.kubernetes_storage_class_v1.this, │ on .terraform/modules/eks/main.tf line 111, in resource "kubernetes_storage_class_v1" "this": │ 111: resource "kubernetes_storage_class_v1" "this" { │ ╵
Error: Post "http://localhost/api/v1/namespaces/kube-system/configmaps": dial tcp [::1]:80: connect: connection refused
with module.eks.kubernetes_config_map.aws_auth[0],
on .terraform/modules/eks/main.tf line 533, in resource "kubernetes_config_map" "aws_auth":
533: resource "kubernetes_config_map" "aws_auth" {
Solution: review Kubernetes provider in providers.tf
is properly configured
│ Error: Post "https://C81324322342.us-east-2.eks.amazonaws.com/api/v1/namespaces/kube-system/configmaps": dial tcp: lookup C81324322342.us-east-2.eks.amazonaws.com on [fe80::1%en0]:53: no such host │ │ with module.eks.module.eks_mytaverse.kubernetes_config_map.aws_auth[0], │ on .terraform/modules/eks.eks_mytaverse/main.tf line 510, in resource "kubernetes_config_map" "aws_auth": │ 510: resource "kubernetes_config_map" "aws_auth" { Solution: ?
See also
- Terraform provider: Kubernetes,
kubernetes_storage_class_v1, kubernetes_persistent_volume, kubernetes_manifest, kubernetes daemonset, kubernetes_service, kubernetes_namespace, kubernetes_service_account, kubernetes_secret, kubernetes_namespace, kubernetes_service_account_v1, kubernetes_secret_v1, kubernetes horizontal pod autoscaler v1, kubernetes_ingress_v1, kubernetes_persistent_volume_claim_v1
- Terraform provider: Kubernetes,
kubernetes_storage_class_v1, kubernetes_persistent_volume, kubernetes_manifest, kubernetes daemonset, kubernetes_service, kubernetes_namespace, kubernetes_service_account, kubernetes_secret, kubernetes_namespace, kubernetes_service_account_v1, kubernetes_secret_v1, kubernetes horizontal pod autoscaler v1, kubernetes_ingress_v1, kubernetes_persistent_volume_claim_v1
Advertising: