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

Remove kubeconfig error message from output #68

Open
dtzar opened this issue Jul 5, 2024 · 0 comments
Open

Remove kubeconfig error message from output #68

dtzar opened this issue Jul 5, 2024 · 0 comments

Comments

@dtzar
Copy link
Collaborator

dtzar commented Jul 5, 2024

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Run terraform apply without a file named kubeconfig in the terraform directory.

It outputs this:

Invalid attribute in provider configuration with provider["registry.terraform.io/hashicorp/kubernetes"], on provider.tf line 42, in provider "kubernetes": 42: provider "kubernetes" { 'config_path' refers to an invalid path: "./kubeconfig": stat ./kubeconfig: no such file or directory

By design this file doesn't exist since the Terraform code downloads the kubeconfig to this directory for use in to install ArgoCD and apply configurations after the AKS cluster is created.

See if there is a way to eliminate this to avoid confusion. Related slack thread. Also related to #48

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