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

third tofu apply dependency issue #10

Open
hh opened this issue Mar 14, 2024 · 0 comments
Open

third tofu apply dependency issue #10

hh opened this issue Mar 14, 2024 · 0 comments

Comments

@hh
Copy link
Member

hh commented Mar 14, 2024

kubernetes in terraform can be hard

╷                                                                                                                                                                                             
│ Error: namespaces is forbidden: User "system:serviceaccount:hh:admin" cannot create resource "namespaces" in API group "" at the cluster scope                                              
│                                                                                                                                                                                             
│   with module.cluster-manifests.kubernetes_namespace.authentik,                                                                                                                             
│   on terraform/manifests/authentik.tf line 1, in resource "kubernetes_namespace" "authentik":                                                                                               
│    1: resource "kubernetes_namespace" "authentik" {                                                                                                                                         
│                                                                                                                                                                                             
╵                                                                                                                                                                                             
╷                                                                                                                                                                                             
│ Error: namespaces is forbidden: User "system:serviceaccount:hh:admin" cannot create resource "namespaces" in API group "" at the cluster scope                                              
│                                                                                                                                                                                             
│   with module.cluster-manifests.kubernetes_namespace.cert-manager,                                                                                                                          
│   on terraform/manifests/cert-manager.tf line 1, in resource "kubernetes_namespace" "cert-manager":                                                                                         
│    1: resource "kubernetes_namespace" "cert-manager" {                                                                                                                                      
│                                                                                                                                                                                             
╵                                                                                                                                                                                             
╷                                                                                                                                                                                             
│ Error: namespaces is forbidden: User "system:serviceaccount:hh:admin" cannot create resource "namespaces" in API group "" at the cluster scope                                              
│                                                                                                                                                                                             
│   with module.cluster-manifests.kubernetes_namespace.coder,                                                                                                                                 
│   on terraform/manifests/coder.tf line 1, in resource "kubernetes_namespace" "coder":                                                                                                       
│    1: resource "kubernetes_namespace" "coder" {                                                                                                                                             
│                                                                                                                                                                                             
╵                                                                                                                                                                                             
╷                                                                                                                                                                                             
│ Error: namespaces is forbidden: User "system:serviceaccount:hh:admin" cannot create resource "namespaces" in API group "" at the cluster scope                                              
│                                                                                                                                                                                             
│   with module.cluster-manifests.kubernetes_namespace.flux-system,                                                                                                                           
│   on terraform/manifests/flux.tf line 1, in resource "kubernetes_namespace" "flux-system":                                                                                                  
│    1: resource "kubernetes_namespace" "flux-system" {                                                                                                                                       
│                                                                                                                                                                                             
╵                                                                                                                                                                                             
╷                                                                                                                                                                                             
│ Error: namespaces is forbidden: User "system:serviceaccount:hh:admin" cannot create resource "namespaces" in API group "" at the cluster scope                                              
│                                                                                                                                                                                             
│   with module.cluster-manifests.kubernetes_namespace.powerdns,                                                                                                                              
│   on terraform/manifests/powerdns.tf line 1, in resource "kubernetes_namespace" "powerdns":                                                                                                 
│    1: resource "kubernetes_namespace" "powerdns" {     
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

1 participant