Skip to content

Commenting namespace creation step as it's giving an error #1

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

nangu001
Copy link
Collaborator

Commenting the namespace lines as getting the following error while creating the cluster:

kubernetes_namespace.operators: Creating...
╷
│ Error: Post "
[http://localhost/api/v1/namespaces":](http://localhost/api/v1/namespaces%22:)
dial tcp 127.0.0.1:80: connect: connection refused
│ 
│   with kubernetes_namespace.operators,
│   on main.tf line 145, in resource "kubernetes_namespace" "operators":
│  145: resource "kubernetes_namespace" "operators" {
│ 
╵
ERRO[0019] terraform invocation failed in /data/terraform/workspaces/nangu001/sct-repos/platform-tg-infra/eks/.terragrunt-cache/QsjacnPSSxF_Oc-hxszPnu1-QwU/TQmwvwQP957rezNU3fQlOzzB9Uc  prefix=[/data/terraform/workspaces/nangu001/sct-repos/platform-tg-infra/eks

@mcgin314
Copy link
Contributor

Yep, looks right. I am pretty certain that block should move to the eks-config module; the K8S provider is not configured in this module.

@mcgin314 mcgin314 merged commit ce76861 into main Apr 24, 2024
@morga471 morga471 deleted the namespace-comment branch August 6, 2024 18:42
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
2 participants